Describe the life cycle of Wicket apps, sessions and requests.
Custom Sessions
The wicket way of storing objects in your session is by extending the wicket
session. For example if you want to store some kind of user object in your
session, you would create a getter and setter for it in
your custom wicket session:
Add the property to your custom Session object.
public class MySession extends WebSession { public MySession(WebApplication application) { super(application); } privateString myAttribute; // ... getters and setters }
and override either of the following methods on your Application class: