Placement of sub-menu for tabs

Wendy Smoak <[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
I'm having trouble with sub-menus for the tabbed layout.  How do I get the
sub-menus to appear _under_ the first set of tabs?  With the provided
tabs.css, here's what is happening:

   http://www.public.asu.edu/~wsmoak/etc/struts-menu-submenu.jpg

(partial) menu-config.xml looks like this:

<?xml version="1.0" encoding="UTF-8" ?>
<MenuConfig>
  <Displayers>
    <Displayer   name="TabbedMenu"
                 type="net.sf.navigator.displayer.TabbedMenuDisplayer"/>
  </Displayers>
  <Menus>
    <!-- New Menu for Tabbed Displayer -->
    <Menu name="TabbedProfile" title="tab.profile"
location="?userAction=tab0" roles="0001">
       <Item name="Preferences" title="tab.profile.preferences"
location="javascript:goPrefs()" />
       <Item name="Printer Friendly" title="tab.profile.printer"
location="javascript:goPrinterFriendly('0')" />
    </Menu>
...

And the JSP:

<menu:useMenuDisplayer name="TabbedMenu"
bundle="org.apache.struts.action.MESSAGE" permissions="rolesAdapter">
    <menu:displayMenu name="TabbedProfile"/>
    <menu:displayMenu name="TabbedProspect"/>
    <menu:displayMenu name="TabbedContact"/>
    <menu:displayMenu name="TabbedReminder"/>
    <menu:displayMenu name="TabbedTrack"/>
</menu:useMenuDisplayer>

So nothing special, it's mostly copy/paste from the example.  Where does it
get the position for the sub-menu?

-- 
Wendy Smoak



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.