struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopalakrishnan, Jayesh" <Jayesh.Gopalakrish...@schwab.com>
Subject RE: Tiles and message-resources
Date Wed, 18 Feb 2004 19:38:37 GMT
You could pass in the key, instead of the actual text....

<tiles:put name="title" value="page.title" />

and in your consumer jsp you could do,

<tiles:importAttribute />
<bean:message name="title" />


hth
-jayash

-----Original Message-----
From: Thad Humphries [mailto:thad@mindwrap.com]
Sent: Wednesday, February 18, 2004 11:33 AM
To: Struts Users Mailing List
Subject: Tiles and message-resources


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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message