...
- Wicket 1.5 requires at least Java 5
Add your migration info here
Removed FormComponent.setPersistence()
WICKET-2213: At the very beginning of Wicket we introduced FormComponent.setPersistence() with the idea to make creating Login panels very easy. Basically Wicket would deal with the Cookie handling for the login details. Now some years later it is evident that this feature is not very useful:
- It basically is used for login panels only
- Even in our examples Password.setPersistence is false which means that "rememberMe" doesn't really work. Only the user name is stored in a Cookie
- Forcing formComponent.getPageRelativePath() as the Cookie name is too restrictive
- You can not combine username and password into a single Cookie and e.g. decrypt it for safety reasons
So we removed that feature, but left a utility class org.apache.wicket.itil.cookies.CookieUtils
.The examples have been updated and may serve as a reference on how to use it. It still is very easy to use, but provides improved flexibility.Your explanation goes here