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
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:
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