Make the "TO CHANGE" some url getting a resource like
"resource?resource=to_change" and have an action return the resource
as a value of ApplicationProperties key "to_change" as well as null as
the value of the return ActionForward in execute(...).  There are
simpler solutions, I am sure, but this just is off the top of my head.

Jack


On Mon, 17 Jan 2005 17:02:21 +0900, Sylvain ~ <[EMAIL PROTECTED]> wrote:
> I'm trying to create an internationalized application, and when I
> tried to template it with Tiles, I found something missing, or which
> seems impossible to be simply solved :
> 
> When using tiles with definitions in a centralized file, the put tag
> doesn't offer ability to set a key to automatically get the
> internationlized string like on most of Struts tags.
> 
> For example, I want the html title property of each page to be
> localized, here for the loginform.jsp page.
> 
> my tiles definitions :
> 
>     <definition name="main.layout" path="/WEB-INF/jsp/layout_main.jsp">
>             <put name="title" value="TO CHANGE" />
>             <put name="header" value="/WEB-INF/jsp/layout_header.jsp" />
>             <put name="footer" value="/WEB-INF/jsp/layout_footer.jsp" />
>     </definition>
>     <definition name="login.layout" extends="main.layout">
>         <put name="body" value="/WEB-INF/jsp/loginform.jsp" />
>     </definition>
> 
> Is there someone who have an idea to (simply) solve this ?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
------------------------------

"You can lead a horse to water but you cannot make it float on its back."

~Dakota Jack~

"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be crows."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

-----------------------------------------------

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation."

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to