ASOs are natively supported in T5, and if I'm not mistaken, store
user-specific state. That is, state objects are tied to a specific
client, typically in the session. If you need generally accessible data,
I think what you want is a general service that all clients can access,
as ASOs are per-client (someone please correct me if I'm wrong here).
That said, read the docs on ASOs:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/appstate.html
chris
Josh Penza wrote:
I have a List with objects that I reuse on several pages.
At this moment I read the List from the database on each page, resulting in
several unnecessary select queries.
Is it possible to put the List with objects in some kind of application
state object, so I can reuse it over and over again on my pages?
How do I need to do this? And how do I access this object in my pages?
Thanks!
JP
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]