Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: WICKET-151

...

Code Block
java
java
WebClientInfo clientInfo = (WebClientInfo) Session.get().getClientInfo();
ClientProperties properties = clientInfo.getProperties();

// Now you use a property with that name instead
System.out.println(properties.isBrowserInternetExplorer());

Custom Sessions

Session's constructor signature is now:

Code Block
java
java

protected Session(Application application, Request request)

The locale is not set right after construction in WebApplication, but rather in the constructor using the passed in request. You can now 'fix' the session's locale by setting it in it's constructor.