Hi list,

I have created a navigation menu component and a menu model.

The menu component should show on every page of my application, so I derive all pages from a page class which creates and adds a menu instance.

The menu must remember which item is selected (the state is representable by a simple String).


Now I have the following problem: Where do I keep the state of the menu?

It seems obvious to use the session, but how? The Wicket Session class does not allow arbitrary attributes. I guess I could get the original HttpSession somehow, but I am sure that there is a better way.


Timo


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to