Struts Menu Height Attribute Issue

View: New views
4 Messages — Rating Filter:   Alert me  

Struts Menu Height Attribute Issue

by kamdev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Parent Message unknown Re: Struts Menu Height Attribute Issue

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <manoj_goel@...> 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@...
>  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@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Re: Struts Menu Height Attribute Issue

by kamdev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I am using Overridden ListMenu displayer to show left hand navigation plus tabbed menu .
 But is there another displayer we can use to have the same type of effect i want.
 
Thanks
 
Manoj






> Date: Mon, 10 Mar 2008 09:02:37 -0600

> From: matt@...
> To: struts-menu-user@...
> Subject: Re: [struts-menu] Struts Menu Height Attribute Issue
>
> 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 <manoj_goel@...> 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@...
> > 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@...
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user


-------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Re: Struts Menu Height Attribute Issue

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The height attribute is meant to be used for specifying the CSS height
of a menu - not for additional functionality.

Matt

On Mon, Mar 10, 2008 at 9:18 AM, MANOJ GOEL <manoj_goel@...> wrote:

>
> I am using Overridden ListMenu displayer to show left hand navigation plus
> tabbed menu .
>   But is there another displayer we can use to have the same type of effect
> i want.
>
>  Thanks
>
>  Manoj
>
>
>
>
>  ________________________________
>
>  > Date: Mon, 10 Mar 2008 09:02:37 -0600
> > From: matt@...
> > To: struts-menu-user@...
> > Subject: Re: [struts-menu] Struts Menu Height Attribute Issue
>
>
> >
> > 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 <manoj_goel@...> 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@...
> > > 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@...
> > https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>
>
> -------------------------------------------------------------------------
>  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@...
>  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@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user