struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
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.

David






>From: "Chen, Gin" <Gin_Chen@tvratings.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
>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
>use:
>
><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?
>
>Thanks,
>-Tim
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>


_________________________________________________________________
Unlimited Internet access for only $21.95/month.  Try MSN! 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


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


Mime
View raw message