You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ulrich Stärk <ul...@spielviel.de> on 2008/11/01 08:58:16 UTC

Re: Accessing ApplicationStateManager from within a Filter

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 tried using an @Inject and it always returns null.
> I tried placing it in the constructor of the filter but when it is 
> accessed it is null.
> 
> Is there a recommend way of doing this or is it even advisable?
> 
> Thanks in advance for your help.
> 
> Keith
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org