Re: Accessing ApplicationStateManager from within a Filter

2008-11-04 Thread Keith Bottner
tateContribution("session", creator)); } -Original Message- From: Keith Bottner [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2008 13:44 To: Tapestry users Subject: Re: Accessing ApplicationStateManager from within a Filter Jonathan, You are correct. I am reall

RE: Accessing ApplicationStateManager from within a Filter

2008-11-03 Thread Jonathan Barker
configuration.add(UserState.class, new ApplicationStateContribution("session", creator)); } > -Original Message- > From: Keith Bottner [mailto:[EMAIL PROTECTED] > Sent: Monday, November 03, 2008 13:44 > To: Tapestry users > Subject

Re: Accessing ApplicationStateManager from within a Filter

2008-11-03 Thread Keith Bottner
er 03, 2008 11:48 To: Tapestry users Subject: Re: Accessing ApplicationStateManager from within a Filter This is the hardest part about grasping Tapestry 5, knowing what you can do and how you can do it when there seems to be an endless way to tie things together that are loosely if at all documented. S

RE: Accessing ApplicationStateManager from within a Filter

2008-11-03 Thread Jonathan Barker
r [mailto:[EMAIL PROTECTED] > Sent: Monday, November 03, 2008 11:48 > To: Tapestry users > Subject: Re: Accessing ApplicationStateManager from within a Filter > > This is the hardest part about grasping Tapestry 5, knowing what you > can do and how you can do it when there seems to be

Re: Accessing ApplicationStateManager from within a Filter

2008-11-03 Thread Keith Bottner
This is the hardest part about grasping Tapestry 5, knowing what you can do and how you can do it when there seems to be an endless way to tie things together that are loosely if at all documented. So I apologize if the additional details to my original question lead to one of these solutio

Re: Accessing ApplicationStateManager from within a Filter

2008-11-03 Thread Peter Stavrinides
nes in the cookbook on this? - Original Message - From: "Howard Lewis Ship" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Saturday, 1 November, 2008 8:13:44 PM GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Accessing ApplicationStateManager from wi

Re: Accessing ApplicationStateManager from within a Filter

2008-11-01 Thread Howard Lewis Ship
When you contribute a filter, you need to instantiate it. Generally it looks something like: public void contributeRequestHandler(OrderedConfiguration configuration, ObjectLocator locator) { configuration.add("MyFilter", locator.autobuild(MyFilter.class)); } The ObjectLocator is a reso

Re: Accessing ApplicationStateManager from within a Filter

2008-11-01 Thread Ulrich Stärk
You have to make your Filter a Tapestry service in your module and you have to have a constructor parameter which is of type ApplicationStateManager. No need of @Inject inside your Filter. Uli Keith Bottner schrieb: Is it possible to retrieve ApplicationStateManager from within a Filter? I tr