Re: Updating menu links
Matt Raible <lists-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]>
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
Yes. Using ${var} will look up "var" in the request, session and
application scope as a named attribute. It will also look for "var" as
a request parameter. If you want more control (to get nested
properties like your example), you'll need to use the EL version and
have JSTL jars in your classpath.
Matt
On Feb 15, 2005, at 3:30 PM, Robert Taylor wrote:
> Is there a way to "insert" different values into a menu item.
> For example:
>
> <Menu name="indexMenu" title="Examples">
> <Item name="item1"
> title="Item 1"
> page="/menutest1.jsp?userId=${user.id}"/>
>
> <Item name="item2"
> title="Item 2"
> page="/menutest2.jsp?pageId=${user.page.id}"/>
> </Menu>
>
> /robert
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
> users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&opÌk
> _______________________________________________
> struts-menu-user mailing list
> struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click