Re: Menu collapses whenever the page refreshes

Matt Raible <matt-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]> Mon, 14 Sep 2009 09:08:41 -0600
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
--===============5813504134939401383==
Content-Type: multipart/alternative; boundary=001636b2b129beade304738b0b58

--001636b2b129beade304738b0b58
Content-Type: text/plain; charset=UTF-8

What version of Struts Menu are you using? The most recent version has logic
in its JS to use cookies to maintain the state of the menu. If it's not
working, it might be your browser and its settings to reject cookies.

On Mon, Sep 14, 2009 at 4:13 AM, Manish Chandra <[email protected]>wrote:

> Hello,
>
> I am using ListMenuDisplayer. The problem I am facing is - the menu
> collapses each time the page refreshes. I am using the latest version of
> menuExpandable.js and I even wrote this code after the last menu item in
> the jsp page.
>
> <script type="text/javascript">
>    initializeMenus();
>    window.onload = initializeMenus;
> </script>
>
> Please help me in this regard.
>
> Thanks and Regards,
>
> Manish Chandra
> IBM India Pvt. Ltd.
> ________________________________________
> 4th Floor | Tower - A
> DLF Infinity Towers
> Phase-II | DLF City
> Gurgaon | Pin 122 002 | India
> Board : +91.124.4347000/2847000 | Extn : 47062
> Direct:   +91.124.4347062
> Mobile: +91 9871112943
> Email:   [email protected]
> ________________________________________
>
>

--001636b2b129beade304738b0b58
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

What version of Struts Menu are you using? The most recent version has logi=
c in its JS to use cookies to maintain the state of the menu. If it&#39;s n=
ot working, it might be your browser and its settings to reject cookies.<br=
>

<br><div class=3D"gmail_quote">On Mon, Sep 14, 2009 at 4:13 AM, Manish Chan=
dra <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">manis=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
te" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt=
 0.8ex; padding-left: 1ex;">

Hello,<br>
<br>
I am using ListMenuDisplayer. The problem I am facing is - the menu<br>
collapses each time the page refreshes. I am using the latest version of<br=
>
menuExpandable.js and I even wrote this code after the last menu item in<br=
>
the jsp page.<br>
<br>
&lt;script type=3D&quot;text/javascript&quot;&gt;<br>
 =C2=A0 =C2=A0initializeMenus();<br>
 =C2=A0 =C2=A0window.onload =3D initializeMenus;<br>
&lt;/script&gt;<br>
<br>
Please help me in this regard.<br>
<br>
Thanks and Regards,<br>
<br>
Manish Chandra<br>
IBM India Pvt. Ltd.<br>
________________________________________<br>
4th Floor | Tower - A<br>
DLF Infinity Towers<br>
Phase-II | DLF City<br>
Gurgaon | Pin 122 002 | India<br>
Board : +91.124.4347000/2847000 | Extn : 47062<br>
Direct: =C2=A0 +91.124.4347062<br>
Mobile: +91 9871112943<br>
Email: =C2=A0 <a href=3D"mailto:[email protected]">manishchandra@in.=
ibm.com</a><br>
________________________________________<br>
<br>
</blockquote></div><br>

--001636b2b129beade304738b0b58--


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--===============5813504134939401383==
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

--===============5813504134939401383==--