That was a great trick Jayesh. It solved my problem too.

Thx.
Avinash

-----Original Message-----
From: Gopalakrishnan, Jayesh [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 18, 2004 11:39 AM
To: Struts Users Mailing List
Subject: RE: Tiles and message-resources


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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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