Re: Simple menu question
"Matt Raible" <[email protected]> Sat, 17 Jun 2006 15:43:32 -0600
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
If you don't include the bundle attribute, it should work w/o you needing to do anything further. As long as the bundles are properly declared in your struts-config.xml. Matt On 6/17/06, Emiliano Marmonti <[email protected]> wrote: > 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 > struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/struts-menu-user >