Re: newSession() not being called

2009-03-19 Thread Edwin Ansicodd
There is an @Override annotation on the method and it does compile and deploy. It seems almost as if the app processes each page request as a request and not as part of a session. Is there something I have to set so wicket treats requests as part of a session and not on a request by request

Re: newSession() not being called

2009-03-19 Thread James Carman
Wicket won't use a session unless it needs to. Are your pages stateless? On Mar 19, 2009 7:17 AM, Edwin Ansicodd erik.g.hau...@gmail.com wrote: There is an @Override annotation on the method and it does compile and deploy. It seems almost as if the app processes each page request as a request

Re: newSession() not being called

2009-03-19 Thread Johan Compagner
which one do you override? On Wed, Mar 18, 2009 at 18:42, Edwin Ansicodd erik.g.hau...@gmail.comwrote: have a SpringWebApplication with overridden newSession, but for some reason newSession is not being called. Have closed browsers and started new browsers, authenticating, but newSession

Re: newSession() not being called

2009-03-19 Thread Anton Veretennikov
Compagner jcompag...@gmail.com wrote: which one do you override? On Wed, Mar 18, 2009 at 18:42, Edwin Ansicodd erik.g.hau...@gmail.comwrote: have a SpringWebApplication with overridden newSession, but for some reason newSession is not being called.  Have closed browsers and started new browsers

Re: newSession() not being called

2009-03-19 Thread Edwin Ansicodd
How can I tell if my pages are stateless or not? They have forms on them. I am using links in the format : BookmarkablePageLink(InfoPageLink, InfoPage.class)); and setResponsePage in the format: setResponsePage( new BlattPage( pp) ); jwcarman wrote: Wicket won't use a session

Re: newSession() not being called

2009-03-19 Thread Igor Vaynberg
a session object is created for every request, stateless or not. for stateless requests the session object is not put into the permanent session store (httpsession usually) - that is the difference. -igor On Thu, Mar 19, 2009 at 4:38 AM, James Carman ja...@carmanconsulting.com wrote: Wicket

newSession() not being called

2009-03-18 Thread Edwin Ansicodd
have a SpringWebApplication with overridden newSession, but for some reason newSession is not being called. Have closed browsers and started new browsers, authenticating, but newSession in the WebApplication is not being called. What does this mean? Anyone have any ideas what might be wrong

Re: newSession() not being called

2009-03-18 Thread Edwin Ansicodd
, 2009 at 10:42 AM, Edwin Ansicodd erik.g.hau...@gmail.com wrote: have a SpringWebApplication with overridden newSession, but for some reason newSession is not being called.  Have closed browsers and started new browsers, authenticating, but newSession in the WebApplication is not being called

Re: newSession() not being called

2009-03-18 Thread James Carman
On Wed, Mar 18, 2009 at 3:49 PM, Edwin Ansicodd erik.g.hau...@gmail.com wrote: Thanks for your feedback!  What do mean looking in the wrong webapplication subclass?  How would I have not properly overridden newsession? Put an @Override annotation on your method. Does it compile?