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

Reply via email to