I think you are looking for Application State Objects (ASOs)

http://tapestry.apache.org/tapestry5/tapestry-core/guide/appstate.html

g,
kris




"T. Papke" <[EMAIL PROTECTED]> 
07.02.2008 11:29
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
Tapestry users <users@tapestry.apache.org>
Kopie

Thema
dealing with session objects







Hello,

maybe this is more an question of understanding rather than 
implementing...

Where to put "global" session objects to? So in a onlineshop 
application, i have a lot of pages and components. But where is a good 
place for things like the shoppingcart object? This should be saved 
somewhere in the session, where multiple pages and component could 
access it...

One idea could be to set the cart object inside the small cart-component 
as persistent.
But how to deal with, if some other component or page need access to 
this object?

Genereal question is, how to deal with global-site-session object in 
tapestry 5? (object that could be accessed from multiple pages and 
components)

Thank you,
Thomas

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


Reply via email to