On Nov 12, 2007 8:54 AM, Alexander Lamb <[EMAIL PROTECTED]> wrote:

> Hello list,
>
> We are making use of @ApplicationState to inject a session object in
> our various components.
>
> As I understand it, the first time Tapestry finds @ApplicationState it
> creates an instance of the class we intend to use as a session.

It creates the instance the first time you use the class, let's say
with a method call.

> How can I achieve this in Tapestry? I would need to be able to
> "inject" the class name to be used in the @ApplicationState
> instruction. Then, for each different project I could configure my
> foundations to use the appropriate session class.

I'm not sure i get your point but you could take a look at
ApplicationStateManager service.

Regards
-- 
Massimo
http://meridio.blogspot.com

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

Reply via email to