You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/06/27 23:29:45 UTC

[Myfaces Wiki] Update of "Dynamic Menus with JSCookMenu" by PederJakobsen

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by PederJakobsen:
http://wiki.apache.org/myfaces/Dynamic_Menus_with_JSCookMenu

------------------------------------------------------------------------------
  
  }}}
  
+ 
+ NOTE: If you want to have menu items without graphics, use the !NavigationMenuItem constructor with only 2 parameters:
+ 
+ {{{
+ NavigationMenuItem itemWithChildren = new NavigationMenuItem("Item 2 Label", "action2");
+ }}}
+ 
+ See [http://myfaces.apache.org/tomahawk/apidocs/org/apache/myfaces/custom/navmenu/NavigationMenuItem.html JavaDoc] for more info.  It would be nice to have a !NavigationMenuItem without a link that just takes a Label for it's constuctor, so a parent of sub-menu items will not have a link (as is usually the case).
+