Struts Menu Height Attribute Issue
"Manoj Goel" <[email protected]> Sat, 8 Mar 2008 21:16:57 -0800
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============1267550094==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0004_01C88161.BE0E05E0"
This is a multi-part message in MIME format.
------=_NextPart_000_0004_01C88161.BE0E05E0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
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
------=_NextPart_000_0004_01C88161.BE0E05E0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.6000.16608" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D328080205-09032008>Hi=20
All,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D328080205-09032008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D328080205-09032008>I have =
been trying=20
to get struts menu work the way I want to but I am baffled by this =
height=20
attribute,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D328080205-09032008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D328080205-09032008>Here =
is an=20
example:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D328080205-09032008><BR> <Item=20
name=3D"AnomalyMenu" title=3D"Anomalies"=20
action=3D"/locatormaintenance/anomalyMainAction" height=3D"0,0,1" =20
description=3D"show"/><BR> <Item=20
name=3D"ERDMain" title=3D"ERD" =
action=3D"/locatormaintenance/anomalyERDSearchAction"=20
height=3D"1,1.2,0.7"=20
description=3D"show"><BR> =
<Item=20
name=3D"ERDSearch" title=3D"Search"=20
action=3D"/locatormaintenance/anomalyERDSearchAction" =
height=3D"2,1.2,0.7"=20
description=3D"hide"><BR> &nb=
sp; =20
<Item name=3D"ERDDetail" title=3D"Detail" height=3D"3,1.2.3,0.7"=20
description=3D"hide"><BR> &nb=
sp; =20
<Item name=3D"ERDEdit" title=3D"Edit" height=3D"4,1.2.3.4,0.7"=20
description=3D"hide"/><BR> &n=
bsp; =20
<Item name=3D"ERDDelete" title=3D"Confirm Delete" =
height=3D"5,1.2.3.5,0.7"=20
description=3D"hide"/><BR> &n=
bsp; =20
<Item name=3D"ERDContact" title=3D"Contact Info" =
height=3D"6,1.2.3.6,0.7"=20
description=3D"hide"/><BR> &n=
bsp; =20
</Item> <BR> =20
</Item> =
=20
<BR> <Item =
name=3D"ERDReport"=20
title=3D"Report" action=3D"/locatormaintenance/prepareERDReportRequest"=20
height=3D"7,1.7,0.1.2" =
description=3D"hide"/><BR> =20
</Item> </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D328080205-09032008> <Item=20
name=3D"MIDMain" title=3D"MID" =
action=3D"/locatormaintenance/anomalyMIDSearchAction"=20
height=3D"1,1.2,0.7"=20
description=3D"show"><BR> =
<Item=20
name=3D"MIDSearch" title=3D"Search"=20
action=3D"/locatormaintenance/anomalyMIDSearchAction" =
height=3D"2,1.2,0.7"=20
description=3D"hide"><BR> &nb=
sp; =20
<Item name=3D"MIDDetail" title=3D"Detail" height=3D"3,1.2.3,0.7"=20
description=3D"hide"><BR> &nb=
sp; =20
</Item> <BR> =20
</Item><BR> <Item=20
name=3D"MIDReport" title=3D"Reports"=20
action=3D"/locatormaintenance/prepareUnresolvedMIDMembersReportRequest"=20
height=3D"1,1.2,0.1.2"=20
description=3D"hide"><BR> =20
<Item name=3D"UnresolvedMIDMembersReport" title=3D"Unresolved"=20
action=3D"/locatormaintenance/prepareUnresolvedMIDMembersReportRequest"=20
height=3D"2,1.2,0.1.2"=20
description=3D"hide"/><BR> =20
<Item name=3D"ResolvedMIDMembersReport" title=3D"Resolved"=20
action=3D"/locatormaintenance/prepareResolvedMIDMembersReportRequest"=20
height=3D"2,1.2.3,0.1.2"=20
description=3D"hide"/><BR> =20
<Item name=3D"MIDMembersReport" title=3D"Members"=20
action=3D"/locatormaintenance/prepareMIDMembersReportRequest"=20
height=3D"2,1.2.3.4,0.1.2"=20
description=3D"hide"/><BR> =20
</Item><BR> <Item name=3D"SSIDReplacementReport"=20
title=3D"Replacement SSIDs"=20
action=3D"/locatormaintenance/anomalyMIDReplacementSSIDAction"=20
height=3D"1,1.2,0.1.2"=20
description=3D"hide"/> =
&=
nbsp; =20
<BR> =
</Item> </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D328080205-09032008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D328080205-09032008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D328080205-09032008>Apparently this=20
height attribute is supposed to give the menu its hierarchy and render =
them in=20
bold when clicked on it, it opens up its sub menu's. But I want to know =
how it=20
works</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D328080205-09032008>as =
documentatin=20
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=20
MIDMain.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D328080205-09032008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D328080205-09032008>The =
problem is when=20
I click on MIDMain it also opens up MIDReport menu which I don't want it =
to, it=20
should open only when I click.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D328080205-09032008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D328080205-09032008>Any =
help would be=20
greatly appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D328080205-09032008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D328080205-09032008>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D328080205-09032008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D328080205-09032008>Manoj</SPAN></FONT></DIV></BODY></HTML>
------=_NextPart_000_0004_01C88161.BE0E05E0--
--===============1267550094==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
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/
--===============1267550094==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
struts-menu-user mailing list
struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/struts-menu-user
--===============1267550094==--