The ListDisplayer does this by using a Cookie - you might want to look
at the JavaScript for that menu to see how it's done.

http://demo.raibledesigns.com/struts-menu/dhtmlExpandable.jsp

Expand a menu and then refresh the page to see it in action.

Matt

On 3/6/06, neilNN <[EMAIL PROTECTED]> wrote:
>
> I'm trying to use the DropDownMenuDisplayer to display my menu.  It displays
> and works OK, calling the appropriate actions when I click on items.
>
> The problem is that most of my pages have the same menus, but whenever I
> navigate to a new page it collapses the menus previously opened.  I would
> like it to retain the state - is this possible?
>
> Ideally it would retain the entire state of all open menus items, but I
> would happy if it could just retain open the single menu from which the item
> was clicked.
>
> Any suggestions or ideas?
> --
> View this message in context: 
> http://www.nabble.com/DropDownMenuDisplayer-always-closes-menus-t1234606.html#a3266004
> Sent from the struts-menu-user forum at Nabble.com.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> struts-menu-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to