That's likely stored in the WebContext that can be directly injected using
tapestry-spring.



> -----Original Message-----
> From: Joshua Jackson [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 28, 2008 6:06 AM
> To: Tapestry users
> Subject: Re: T5: How do I get session information?
> 
> On 3/28/08, Kristian Marinkovic <[EMAIL PROTECTED]> wrote:
> > i assume you want to access the persistent property of a
> > component somewhere else!?...
> 
> Actually I want to get the login session info from Spring security 2.0
> I though the best way is to get it manually from the Sessin object.
> 
> 
> 
> > some tips you might find useful.. regarding state (there are
> > always advantages and disadvantages to these approaches):
> >
> > - component parameters are bidirectional; if you assign a new
> > value to a parameter from within a component its value gets
> > available in the root component/page as well
> >
> > - use an ApplicationStateObject to share state accross
> > your application (multiple pages, components)
> >
> > - utilize the Environment service to share state within
> > a hierarchy of components
> 
> --
> Let's show the world what we've got.
> 
> Blog: http://joshuajava.wordpress.com/
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to