Hi all
I'm new to struts, my application is using two application resources for
each language that should administer. I'm trying to include the Menu
message labels in this resource files. The rest of the application is
using OK this message resources but can't find a way that struts menus
includes it. My menu-config.xml is:
<?xml version="1.0" encoding="UTF-8" ?>
<MenuConfig>
<Displayers>
<Displayer name="TabbedMenu"
type="net.sf.navigator.displayer.TabbedMenuDisplayer"/>
</Displayers>
<Menus>
<!-- New Menu for Tabbed Displayer -->
<Menu name="TabbedHome" key="Menu.Home" action="/login" />
<Menu name="TabbedTit" key="Menu.Art" action="/articulos" />
<Menu name="TabbedExit" key="Menu.Exit" action="/logoff" />
</Menus>
</MenuConfig>
In the JSP I've attached bundle, but seems to have no effects, or just
only using the default application resources without regarding to
browser language:
<menu:useMenuDisplayer name="TabbedMenu"
bundle="org.apache.struts.action.MESSAGE">
<menu:displayMenu name="TabbedHome"/>
<menu:displayMenu name="TabbedTit" />
<menu:displayMenu name="TabbedExit"/>
</menu:useMenuDisplayer>
Thanks a lot for your help.
Emiliano.
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user