Struts Menu Collapsing

Reji Zachariah <[email protected]> Mon, 10 May 2010 13:16:17 -0500
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
--===============6820699107904861574==
Content-Type: multipart/alternative;
	boundary="_01801739-ddba-4824-b2f1-d3fb73f4d66e_"

--_01801739-ddba-4824-b2f1-d3fb73f4d66e_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



I started using struts-menu 2.4.3 with the menuExpandable.css & menuExpanda=
ble.js from the 2.4.3 build.  On page refreshes=2C the expanded menu items =
are collapsing.  It looks like the javascript is saving the id of the menu =
item in a cookie and reading that cookie on the page reload=2C but at that =
time a new id is assigned to the menu item.  So the menu collapses.

This is what I found for the 'menusToExpand' cookie (I was trying to expand=
 the same menu item - but as you can see=2C the ids are different.

What am I missing?
   menusToExpandValueWorkbenchMenu856Menu%2CWorkbenchMenu878Menu%2CWorkbenc=
hMenu486Menu%2CWorkbenchMenu801Menu%2CWorkbenchMenu905Menu
Thank you.
dynkan
 		 	   		 =20
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hot=
mail.
http://www.windowslive.com/campaign/thenewbusy?tile=3Dmultiaccount&ocid=3DP=
ID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4=

--_01801739-ddba-4824-b2f1-d3fb73f4d66e_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}
--></style>
</head>
<body class=3D'hmmessage'>
<br>I started using struts-menu 2.4.3 with the menuExpandable.css &amp=3B m=
enuExpandable.js from the 2.4.3 build.&nbsp=3B On page refreshes=2C the exp=
anded menu items are collapsing.&nbsp=3B It looks like the javascript is sa=
ving the id of the menu item in a cookie and reading that cookie on the pag=
e reload=2C but at that time a new id is assigned to the menu item.&nbsp=3B=
 So the menu collapses.<br><br>This is what I found for the 'menusToExpand'=
 cookie (I was trying to expand the same menu item - but as you can see=2C =
the ids are different.<br><br>What am I missing?<br><table><tbody><tr><td>&=
nbsp=3B&nbsp=3B menusToExpand</td></tr><tr><th>Value</th><td class=3D"shade=
d">WorkbenchMenu856Menu%2CWorkbenchMenu878Menu%2CWorkbenchMenu486Menu%2CWor=
kbenchMenu801Menu%2CWorkbenchMenu905Menu</td></tr></tbody></table><br>Thank=
 you.<br>dynkan<br> 		 	   		  <br /><hr />The New Busy is not the too busy=
. Combine all your e-mail accounts with Hotmail. <a href=3D'http://www.wind=
owslive.com/campaign/thenewbusy?tile=3Dmultiaccount&ocid=3DPID28326::T:WLMT=
AGL:ON:WL:en-US:WM_HMP:042010_4' target=3D'_new'>Get busy.</a></body>
</html>=

--_01801739-ddba-4824-b2f1-d3fb73f4d66e_--


--===============6820699107904861574==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------


--===============6820699107904861574==
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

--===============6820699107904861574==--