On Feb 14, 2008, at 9:24 AM, Rob Hills wrote:
Hi Again Matt,
Rob Hills wrote:
BTW, is it possible to have the main part of the menu in the
Application (as it is currently) and then a submenu in the
Session? Does the <menu:displayMenu> tag just hunt through the
first repository it finds, or can it be pointed at a different
repository?
Just to clarify this question a bit further - from what you said, I
can pull a bunch of menu items inside a useMenuDisplayerTag with a
"repository" attribute, but I guess I was wondering if the
"repository" attribute might be able to be used in the displayMenu
tag - it would be pretty cool to be able to pull the common parts
of the menu from the Application and the user-specific bits from
the session, via a "repository" attribute in each displayMenu tag.
This feature is currently unsupported. However, you could grab the
repository in a filter and re-build it with the stock+custom version.
This code might help to see how to grab the repository and add menus
to it:
http://demo.raibledesigns.com/struts-menu/dynamicMenu.jsp
Matt
Thanks
Rob Hills
Waikiki, Western Australia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]