Title: Message
To use Struts' ResourceBundle, add a bundle attribute to your menu.  It will use whatever locale that Struts sets for you.  Put the key of the entry you want to use in the "title" attribute of your Menu or Item definition:
 
<menu:useMenuDisplayer name="TabbedMenu" bundle="org.apache.struts.action.MESSAGE">
    <menu:displayMenu name="MyMenuName"/>
</menu:useMenuDisplayer>
 
HTH,
 
Matt
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hussainp
Sent: Wednesday, October 15, 2003 1:06 AM
To: [EMAIL PROTECTED]
Subject: [struts-menu] Tabbed Menu

Hi,
I am new to Struts menu , 
Pls tell me How  to use locales and PropertyFiles for menu definitions.
 
Thanks,
Hussain

Reply via email to