try session.bind() On Fri, Mar 2, 2012 at 10:33 PM, grazia <[email protected]> wrote: > I am upgrading from wicket 1.4 to wicket 1.5.4 for an application containing > lots of legacy servlets and in which wicket has been recently introduced. > The login page creates my custom wicket session and logs me into the > application without a problem. > Next, I try to reach a wicket page from > <span class='viewbutton' onClick=\"location.href='" + > wicketPageName + "'\"> > But in that wicket page my custom session no longer contains the fields > initialized at login because a new session has been created at that point. > > The thread shows: > > WebPageRenderer.getAndRemoveBufferedResponse(Url url) > WebPageRenderer.getSessionId() > Session.get() > Application.get().fetchCreateAndSetSession(RequestCycle.get()) > > why in Session.get(), ThreadContext.getSession() would have to return null ? > Any suggestion to stir me in the right direction would be very appreciated. > > > > > > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/loosing-custom-wicket-session-tp4439069p4439069.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
-- thank you, regards, Vineet Semwal --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
