Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: MetaDataKey break

...

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.

MetaDataKey

MetaDataKey, now uses generics rather than a class argument to ensure typing. So, in Wicket 1.2 you did:

Code Block
java
java

new MetaDataKey(ActionPermissions.class) {
};

but in Wicket 2.0, you do:

Code Block
java
java

new MetaDataKey<ActionPermissions>() {
};