What happens if you remove the bundle attribute? It should pick up Struts' bundle w/o you needing to specify it.
Matt On Nov 8, 2007 1:21 PM, gigi alessio <[EMAIL PROTECTED]> wrote: > > TabbedMenu does it work...but i'm not able to configure the menu.In spite > of the labels i 've > > ???es.Home???,???es.About??? .......etc > > Nobody knows where i've to put the labels? > > I'm using the jsp with *,and the menu-config with **: > > > *jsp > > <%@ page language="java" contentType="text/html; charset=ISO-8859-1" > pageEncoding="ISO-8859-1"%> > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <%@ taglib uri="/WEB-INF/struts-menu.tld" prefix="menu" %> > <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> > <%@ taglib uri="http://struts-menu.sf.net/tag-el" prefix="menu-el" %> > <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> > <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %> > <%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql" %> > > <html> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> > <title>Expandable List Menu Example, using DHTML</title> > <link rel="stylesheet" type="text/css" media="screen" > href="styles/global.css" /> > <link rel="stylesheet" type="text/css" media="screen" > href="styles/tabs.css" /> > <script type="text/javascript" src="scripts/tabs.js"></script> > <title>Insert title here</title> > </head> > <body> > > <menu:useMenuDisplayer name="TabbedMenu" > bundle="org.apache.struts.action.MESSAGE"> > <menu:displayMenu name="TabbedHome"/> > <menu:displayMenu name="TabbedAbout"/> > <menu:displayMenu name="TabbedContact"/> > <menu:displayMenu name="TabbedExit"/> > </menu:useMenuDisplayer> > > </body> > </html> > > > ** .xml > > <?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" title="Home" location="?Home" > target="_blank" /> > > <Menu name="TabbedAbout" title="About" > location="?About"><!-- No location, uses first item's location > (People) --> > > <Item name="People" title="People" location="?People" /> > <Item name="Careers" title="Careers" location="loggedin.jsp" > target="_blank" /> > <Item name="Press" title="Press" location="loggedin.jsp" > onclick="alert('This item has an onclick handler in > menu-config.xml.')" /> > <Item name="Locations" title="Locations" > location="loggedin.jsp" /> > </Menu> > > <Menu name="TabbedContact" title="Contact" > location="?Contact" > > <Item name="EMail" title="E-Mail" location="loggedin.jsp" /> > <Item name="Phone" title="Phone" location="loggedin.jsp" /> > <Item name="CarrierPigeon" title="Carrier Pigeon" > location="loggedin.jsp" /> > </Menu> > <Menu name="TabbedExit" title="Exit" page="/index.jsp" /> > > > </Menus> > > </MenuConfig> > > ________________________________ > From: [EMAIL PROTECTED] > > To: struts-menu-user@lists.sourceforge.net > Date: Thu, 8 Nov 2007 19:38:45 +0000 > > Subject: Re: [struts-menu] Problems with struts-menu > > > Thanks for your help. > It does work!!! very good job the struts menu!! > ________________________________ > Express yourself instantly with MSN Messenger! MSN Messenger > > > ________________________________ > Express yourself instantly with MSN Messenger! MSN Messenger > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > struts-menu-user mailing list > struts-menu-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > > -- http://raibledesigns.com ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ struts-menu-user mailing list struts-menu-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/struts-menu-user