struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <>
Subject Re: Struts and Tiles and bean:message
Date Mon, 21 Oct 2002 14:51:19 GMT
You can define a global title in your base tiles definition and only 
override it in sub definitions when needed.  Also, you could use 
<bean:message> in your jsp to get the appropriate title key for each page.


>From: "Chen, Gin" <>
>Reply-To: "Struts Users Mailing List" <>
>To: "'Struts Users Mailing List'" <>
>Subject: Struts and Tiles and bean:message
>Date: Mon, 21 Oct 2002 10:39:28 -0400
>Hi all,
>	I have an application that defines a specific value in my resource
>properties file as:
>order.status.title=Order Status
>	Since I am using tiles in my application. My main layout file cannot
><bean:message key="order.status.title"/>
>	because it is being used for other pages as well.
>	Therefore, for ever subdefinition I define a value page.title:
><put name="page.title" value="login.title"/>
>	How can I retrieve this to be used for the bean:message? Is there
>another solution?
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 

Unlimited Internet access for only $21.95/month.  Try MSN!

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

View raw message