Thank you very much, it works fine!

"Struts Users Mailing List" <[EMAIL PROTECTED]> schrieb am 27.10.04 11:30:26:
> 
> You can put what ever you like in the tile attributes.  I store the 
> resource keys so that they can be looked up depending on locale.
> 
> Example - using a welcome page and a view shopping cart page
> 
> In your tiles definition
> 
> welcome page:
> <definition ...>
>     <put name="title" value="welcome.title" />
>     ...
> </definition>
> 
> shopping cart page:
> <definition ...>
>     <put name="title" value="cart.view.title" />
>     ...
> </definition>
> 
> In your template page
> 
> <tiles:importAttribute scope="request" />
> <TITLE><bean:message name="title" /></TITLE>
> </HEAD>
> <BODY>
> <tiles:insert attribute="head" />
> <tiles:insert attribute="content" />
> <tiles:insert attribute="footer" />
> </BODY>
> 
> 
> in your application.properties etc
> welcome.title=Hello
> cart.view.title=View Shopping Cart
> 
> 
> -- 
> Jason Lea
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


________________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193


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

Reply via email to