Hi All,

I am in need to use a webflow framework (wfnm) in Tapestry 4.

I know that the best way to access the wfnm classes is to configure
the hivemodule.xml and then inject the properties directly to my Page
Class.

However, this is a repetitive piece of code that I want to avoid.

I also know that if I use JDK 1.5 then I can directly inject hivemind
services to the Page Class throught java annotations.

However, I can not use JDK 1.5 yet and the only way to do this, as I
understand, is to inject Page Class properties in the page
specification.

Since I am lazy ;-) and want to avoid this repetitive pieces of XML, 
is there a way to pull from the tapestry environment, maybe the
IRequestCycle, a bean in the hivemind environment? (kind of like
spring's getBean method).

I know this is probably not such a good idea, but I am not convinced
that repetitive declarative code in the page specification is a better
choice.  Can this be kind of replaced by having this pull code in a
custom base page class that I then use to derive from, for the pages
in my application.

I hope this makes sense.  If not, let me know and will explain it better.

I will very much appreciate some insight on this.  If worse comes to
worse, I guess I can put the WFNM beans in spring and invoke getBean
on them.

--
Peace and Grace, Carlos

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to