struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nadeem Bitar <>
Subject Re: Tiles and message-resources
Date Wed, 18 Feb 2004 19:38:06 GMT
You can internationalize your tiles definitions. In the localized
version you only override the localized strings.
<definition name=".home" extends=".mainLayout">
	<put name="title" value="Homepage"/>
	<put name="content" value="somejsp.jsp"/>
	<put name="leftCol" value="anotherjsp.jsp"/>

and inside tiles-defs_ja.xml you only override title

<definition name=".home" extends".mainLayout">
	<put name="title" value="Japanese Homepage Title"/>

On Wed, 2004-02-18 at 14:32 -0500, Thad Humphries wrote:
> Is there any way to for a tlles definition to take a value from the 
> message-resources file?  For example, if I wanted only one file to control my 
> applications text, could 
> <tiles:put name="title" value="Page Title" />
> pull the value from the message-resources file like a JSP would do.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message