In the tiles config file, you specify the key of the resource (value="form.label.name"), and in your menu layout, insert the resource from its key with the <bean:message ... > struts tag:
replace <%=item.getValue()%> with <bean:message key="<%=item.getValue()%>" />


Cedric



Mick Knutson wrote:

I want to use the SimpleMenuItem in the Tiles example as my menu is fairly simple, but I want to make the value="Label" something like value="form.label.name" which would come from the Resource Bundle to be internationalized automatically.
How can I do this?



--- Thanks... Mick Knutson ---

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



--------------------------------------------------------------------- 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]



Reply via email to