What displayer are you using? I've never used the height attribute in any of my menus. I suspect you may be using a menu/displayer that was created before I joined this project.
Matt On Sat, Mar 8, 2008 at 11:16 PM, Manoj Goel <[EMAIL PROTECTED]> wrote: > > > Hi All, > > I have been trying to get struts menu work the way I want to but I am > baffled by this height attribute, > > Here is an example: > > <Item name="AnomalyMenu" title="Anomalies" > action="/locatormaintenance/anomalyMainAction" height="0,0,1" > description="show"/> > <Item name="ERDMain" title="ERD" > action="/locatormaintenance/anomalyERDSearchAction" height="1,1.2,0.7" > description="show"> > <Item name="ERDSearch" title="Search" > action="/locatormaintenance/anomalyERDSearchAction" height="2,1.2,0.7" > description="hide"> > <Item name="ERDDetail" title="Detail" height="3,1.2.3,0.7" > description="hide"> > <Item name="ERDEdit" title="Edit" height="4,1.2.3.4,0.7" > description="hide"/> > <Item name="ERDDelete" title="Confirm Delete" > height="5,1.2.3.5,0.7" description="hide"/> > <Item name="ERDContact" title="Contact Info" > height="6,1.2.3.6,0.7" description="hide"/> > </Item> > </Item> > <Item name="ERDReport" title="Report" > action="/locatormaintenance/prepareERDReportRequest" height="7,1.7,0.1.2" > description="hide"/> > </Item> > <Item name="MIDMain" title="MID" > action="/locatormaintenance/anomalyMIDSearchAction" height="1,1.2,0.7" > description="show"> > <Item name="MIDSearch" title="Search" > action="/locatormaintenance/anomalyMIDSearchAction" height="2,1.2,0.7" > description="hide"> > <Item name="MIDDetail" title="Detail" height="3,1.2.3,0.7" > description="hide"> > </Item> > </Item> > <Item name="MIDReport" title="Reports" > action="/locatormaintenance/prepareUnresolvedMIDMembersReportRequest" > height="1,1.2,0.1.2" description="hide"> > <Item name="UnresolvedMIDMembersReport" title="Unresolved" > action="/locatormaintenance/prepareUnresolvedMIDMembersReportRequest" > height="2,1.2,0.1.2" description="hide"/> > <Item name="ResolvedMIDMembersReport" title="Resolved" > action="/locatormaintenance/prepareResolvedMIDMembersReportRequest" > height="2,1.2.3,0.1.2" description="hide"/> > <Item name="MIDMembersReport" title="Members" > action="/locatormaintenance/prepareMIDMembersReportRequest" > height="2,1.2.3.4,0.1.2" description="hide"/> > </Item> > <Item name="SSIDReplacementReport" title="Replacement SSIDs" > action="/locatormaintenance/anomalyMIDReplacementSSIDAction" > height="1,1.2,0.1.2" description="hide"/> > </Item> > > > Apparently this height attribute is supposed to give the menu its hierarchy > and render them in bold when clicked on it, it opens up its sub menu's. But > I want to know how it works > as documentatin about it is very sparse and the developer who did this has > left and I am supposed to make it work. It only so far works for ERDMain but > not for MIDMain. > > The problem is when I click on MIDMain it also opens up MIDReport menu which > I don't want it to, it should open only when I click. > > Any help would be greatly appreciated. > > Thanks > > Manoj > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > struts-menu-user mailing list > struts-menu-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > > -- http://raibledesigns.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ struts-menu-user mailing list struts-menu-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/struts-menu-user