Re: Dymanic Menus

Ganesh <[email protected]> Fri, 25 May 2007 13:33:26 -0400
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
Thats fine Matt.
Thanks for your help.
I was able to do it with css and javascript.

Thanks,
Ganesh.



On 5/25/07, Matt Raible <matt-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]> wrote:
>
> Do you have commons-lang in your classpath?
>
> On 5/17/07, Ganesh <[email protected]> wrote:
> > Thanks Matt.
> > But, I still get
> >
> > javax.servlet.jsp.JspException: The menu repository could not be found.
> > when I click on the second menu item..
> >
> > Thanks,
> > Ganesh.
> >
> >
> > On 5/16/07, Matt Raible <matt-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]> wrote:
> > >
> > > Try specifying a unique "id" attribute on your <menu:useMenuDisplayer>
> > tag.
> > >
> > > This was added in 2.4.1 and polished in 2.4.2:
> > >
> > >
> > http://struts-menu.sourceforge.net/changes-report.html#2_4_2
> > >
> > > Matt
> > >
> > > On 5/16/07, Ganesh <[email protected]> wrote:
> > > > Greetings:
> > > >
> > > > I was trying to create 2 different menus and when I click on parent
> node
> > on
> > > > one menu, the child node of another node expands..
> > > > Suppose, I have
> > > >
> > > > -Folder A
> > > >     -Folder x
> > > >        File 1
> > > >
> > > > -Folder B
> > > >     -Folder y
> > > >        File 2
> > > >
> > > > This is one menu and I have another menu with the same name..
> > > >
> > > >
> > > > -Folder M
> > > >     -Folder u
> > > >        File 3
> > > >
> > > > -Folder N
> > > >     -Folder v
> > > >        File 4
> > > >
> > > > Here, if I click on Folder M, Folder A expands/collapses..
> > > > Here is my jsp code..
> > > >
> > > >
> > > >
> > > > <p>Unpublished List</ p>
> > > > <div id="treeNodes" style="font:12px;" >
> > > > <menu:useMenuDisplayer name= "ListMenu"
> repository="unPublishedList">
> > > > <c:forEach var="menu1" items="${unPublishedList.topMenus}">
> > > > < menu:displayMenu name="${ menu1.name }" />
> > > > </c:forEach>
> > > >  </menu:useMenuDisplayer>
> > > > </div >
> > > >
> > > >
> > > >
> > > > <br />
> > > >
> > > >
> > > >
> > > > <p>Published List</ p>
> > > > <div id="treeNodes" style="font:12px;" >
> > > > <menu:useMenuDisplayer name= "ListMenu" repository="publishedList">
> > > > <c:forEach var="menu2" items="${ publishedList.topMenus}">
> > > > < menu:displayMenu name="${menu2.name }" />
> > > > </c:forEach>
> > > >  </menu:useMenuDisplayer>
> > > >
> > > > Any help on this one would be great..
> > > > I was wondering, if I can have/use more than one repository on the
> same
> > > > page..
> > > > My list works fine with just one menu in jsp..If I have one more
> Menu in
> > the
> > > > same page, thats where, I have the problem..
> > > >
> > > > Thanks in advance.
> > > > Regards,
> > > > Ganesh.
> > > >
> >
> -------------------------------------------------------------------------
> > > > This SF.net email is sponsored by DB2 Express
> > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > control of your XML. No limits. Just data. Click to get it now.
> > > > http://sourceforge.net/powerbar/db2/
> > > > _______________________________________________
> > > > struts-menu-user mailing list
> > > > struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > >
> > https://lists.sourceforge.net/lists/listinfo/struts-menu-user
> > > >
> > > >
> > >
> > >
> > > --
> > > http://raibledesigns.com
> > >
> > >
> >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > struts-menu-user mailing list
> > > struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > >
> > https://lists.sourceforge.net/lists/listinfo/struts-menu-user
> > >
> >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > struts-menu-user mailing list
> > struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > https://lists.sourceforge.net/lists/listinfo/struts-menu-user
> >
> >
>
>
> --
> http://raibledesigns.com
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> struts-menu-user mailing list
> struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
struts-menu-user mailing list
struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/struts-menu-user