Re: Service Injection for Base Pages

2007-03-07 Thread Chris Davies
Wow, thanks for the fast replies. =] I'll look into understanding how the enhancement worker chain works and see if I can figure out an option from there. Ideally I'm trying to keep my current projects 1.4.2 compatible (a couple of business reasons, but also personal preference: I believe that s

Re: Service Injection for Base Pages

2007-03-07 Thread Thiago H de Paula Figueiredo
On Wed, 07 Mar 2007 17:03:46 -0300, Chris Davies <[EMAIL PROTECTED]> wrote: Is there a clean way to inject this service into my BaseProtectedPage? can you use java 5 or 6? if yes, just use some of the @Inject* annotation in your property. if not, i can't help, as i've never used tapestry

Re: Service Injection for Base Pages

2007-03-07 Thread Jesse Kuhnert
You can do something "globally" to everything by plugging in to the enhancement worker chain of services: http://tapestry.apache.org/tapestry4.1/tapestry-framework/hivedoc/module/tapestry.enhance.html To be honest though - I think the extending BasePage stuff was mostly pre-annotations and may n