Thanks Matej, I'll try that.
On Feb 13, 2008 1:21 AM, Matej Knopp [EMAIL PROTECTED] wrote:
extend wicket's WebSession by your own session class.
and add setUserProfile/getUserProvile methods to id.
Override Application#newSession method and create your session insteance.
Then in your app
extend wicket's WebSession by your own session class.
and add setUserProfile/getUserProvile methods to id.
Override Application#newSession method and create your session insteance.
Then in your app just do ((MySession)Session.get()).settUserProfile(profile).
-Matej
On Feb 12, 2008 11:09 PM,
Hello Wicket people,
I've a bean containing user information, UserProfile. I want this bean to be
accessible for all the pages during user's session, so I guess, I have to
store it in the session somehow.
There's also a UserProfilePage where UserBean is used as data object for