Re: ThreadContext.getSession(); return null in wicket 6.5.0

2013-01-25 Thread Martin Grigorov
Hi, Use Session.get() if you want to create a new Session if there is no such already. On Thu, Jan 24, 2013 at 9:07 PM, Raul wrote: > > Hi, in my application I use ThreadContext.getSession () to get the session, > and works well in wicket 6.4.0, upgrade to 6.5.0 but returns null, what is > due

RE: ThreadContext.getSession(); return null in wicket 6.5.0

2013-01-24 Thread Chris Colman
If there currently is no session it won't create one - auto creating a session is undesirable in many cases - e.g. when serving up a static resource. >-Original Message- >From: Raul [mailto:ralva...@netwie.com] >Sent: Friday, 25 January 2013 6:08 AM >To: users@wicket.apache.org >Subject:

Re: ThreadContext.getSession(); return null in wicket 6.5.0

2013-01-24 Thread Francois Meillet
Are you sure your session has been bound ? François Le 24 janv. 2013 à 20:07, Raul a écrit : > > Hi, in my application I use ThreadContext.getSession () to get the session, > and works well in wicket 6.4.0, upgrade to 6.5.0 but returns null, what is > due? > > > > -- > View this message in