|
Thanks. I thought I had noticed the opposite
behavior (new components being created for each hit) but that must be due to the
way I was creating my components. I better look at the examples more
closely.
If each page is cached in the session, how does it handle different browser
windows using the same session and accessing the same page with different
data?
Sorry for my ignorance on this, but I guess I should understand this
before I go any further. If it's in the docs and I just missed it feel
free to direct me there.
- Jonathan
>>> [EMAIL PROTECTED] 2005-02-07 2:29:04 PM >>> i'm not sure what you mean by "service objects", but wicket doesn't generally provide for directly putting stuff in the session. it's not necessary because applications, pages and components are all first class objects that are part of the session. so generally, you don't touch the session. instead, you just create a field in your subclass in the usual OO fashion. make sense? this issue comes up a bunch, so i think i'll add a FAQ entry on this issue. jon Jonathan Carlson wrote: > I am wondering what wicket might provide for caching service objects > somewhere in session-scope or application-scope. > > For example, I could just use the standard Servlet APIs for putting > objects into the session, but I wanted to know if Wicket > provided anything more convenient for stuff like that. Eventually, I > will probably use PicoContainer for dependency injection, but my needs > at the moment are pretty basic. > > Thanks, > > Jonathan > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > www.katun.com > ********************************************************************** ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user |
- Re: [Wicket-user] caching stuff Jonathan Carlson
- Re: [Wicket-user] caching stuff Jonathan Locke
- Re: [Wicket-user] caching stuff Eelco Hillenius
- Re: [Wicket-user] caching stuff Eelco Hillenius
- Re: [Wicket-user] caching stuff Jonathan Locke
- Re: [Wicket-user] caching stuff Eelco Hillenius
- Re: [Wicket-user] caching stuff Jonathan Locke
- Re: [Wicket-user] caching stuff Jonathan Carlson
- Re: [Wicket-user] caching stuff Jonathan Locke
- Re: [Wicket-user] caching stuff Martijn Dashorst
- Re: [Wicket-user] caching stuff Gwyn Evans
