Martijn Dashorst wrote:
> 
> Wicket in Action does discuss menus: see page 185 (index entry: menu),
> though not multilevel menus.
> 
You are right, the easy way is described...


Martijn Dashorst wrote:
> 
> Just take a look at YUI-menu or some jquery plugin for menus. The
> reason for not continuing the menu component is that there are enough
> alternatives available for rendering a menu. And most folks want their
> own styling, and a typical menu is nothing more than a couple of
> nested <ul>'s with css.
> 
Yes, menus should be nothing else than ul/li/a-trees styled with CSS.
But when I have a foldable menu, clicking a page link which
results in a new page (without ajax...), how can I restore the last
menu state folding and deactivating the active page's link?
(without cookies)

So is it the best to use <wicket:link> for the links (which takes care about
deactivating the link to the actual page) thrown into a hierarchically
ul/li/a-tree? That would leave the question open, how to unfold the tree to
the level where the active link resides...

-- 
View this message in context: 
http://www.nabble.com/Eelco%27s-wicket-contrib-navmenu-revival--OR%3A-Doing-menus-in-Wicket...-tp23441481p23442248.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to