You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ralf Eichinger <ra...@pixotec.de> on 2009/05/08 10:42:30 UTC

Re: Eelco's wicket-contrib-navmenu revival? OR: Doing menus in Wicket...


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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org