Hi, thanks for your reply... the problem was actually my stupid mistake..i forgot to include one javascript (permissionsMenu-config.xml). so the script was not working (and giving me a JavaScript error) because i was missing the proper font to be used when a menu item is disabled..
thanx again and regards marco On 7/15/05, Iyengar Venugopal <[EMAIL PROTECTED]> wrote: > In your menu-config.xml file use some thing like this > > > <Menu name="MENU1" title="MENU"> > <Item name="submenu1" title="sub-menu 1"/> > <Item name="submenu2" title="sub-menu 2"/> > <Item name="submenu3" title="sub-menu 3"/> > </Menu> > <Menu name="MENU2" title="MENU"> > <Item name="submenu1" title="sub-menu 1"/> > <Item name="submenu2" title="sub-menu 2"/> > <Item name="submenu3" title="sub-menu 3"/> > <Item name="submenu4" title="super menu"/> > > </Menu> > > In the left nav jsp file specify some thing like this > > <logic:present role="ROLE_USER"> > <menu:useMenuDisplayer name="DropDown" > bundle="org.apache.struts.action.MESSAGE"> > <menu:displayMenu name="MENU1"/> > </menu:useMenuDisplayer> > </logic:present> > <logic:present role="ROLE_SUPERVISOR"> > <menu:useMenuDisplayer name="DropDown" > bundle="org.apache.struts.action.MESSAGE"> > <menu:displayMenu name="MENU2"/> > </menu:useMenuDisplayer> > </logic:present> > > Hope this helps > Venu > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > _______________________________________________ > struts-menu-devel mailing list > struts-menu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/struts-menu-devel > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ struts-menu-devel mailing list struts-menu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/struts-menu-devel