Well, all you have to do is declare a getter which returns an ApplicationStateManager in any page that you want. Then, if you use my auto-wiring stuff, it will be there for you automagically.
-----Original Message----- From: Mark [mailto:[EMAIL PROTECTED] Sent: Sunday, April 23, 2006 8:19 PM To: Tapestry users Subject: Re: What to do if annotations are not available? Well, at least I only have to inject one thing and won't have to modify the .page file if I need modify or add services/beans. I don't know the internals of Tapestry yet, but I assume there has to be some page factory. Couldn't I extend that factory in a way that it does the injection of the ASM based on the global Hivemind (or even better - Spring :-) ) configuration? Then I really would not have to do anything in .page files any more, would I? That would only work if the ASM does not change over the lifetime of the page of course... > You're not going to like this, but you inject it! :-) > > > -----Original Message----- > From: Mark [mailto:[EMAIL PROTECTED] > Sent: Saturday, April 22, 2006 11:42 AM > To: Tapestry users > Subject: Re: What to do if annotations are not available? > > Hi James, > > would you have a link to an example for this? > How do I get to the ASM? > > Thanks, > > MARK > > James Carman wrote: > >> You can look them up using the ApplicationStateManager. >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]