struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mick Knutson" <mickknut...@hotmail.com>
Subject RE: tiles:getAsString within bean:message?
Date Tue, 03 Jun 2003 20:41:14 GMT
OK, but I don't understand where the bean:message comes in now?
How does the key get accessed through the ResourceBundle?



---
Thanks...
Mick Knutson
---


>From: "Bailey, Shane C." <SHANE.C.BAILEY@saic.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: 'Struts Users Mailing List' <struts-user@jakarta.apache.org>
>Subject: RE: tiles:getAsString within bean:message?
>Date: Tue, 3 Jun 2003 15:56:10 -0400
>
>
>Try something like this:
>
>Template.jsp:
>...
>     <tiles:insert attribute='menu' >
>        <!-- pass the title to the menu-->
>        <tiles:put name="title" beanName="title" beanScope="request"/>
>     </tiles:insert>
>...
>
>in menu.jsp:
><bean:message key='<tiles:getAsString name="title" />' />
>
>
>
>
>-----Original Message-----
>From: Mick Knutson [mailto:mickknutson@hotmail.com]
>Sent: Tuesday, June 03, 2003 2:42 PM
>To: struts-user@jakarta.apache.org
>Subject: tiles:getAsString within bean:message?
>
>I am trying, unsuccesfully to create an ApplicationResource driven label 
>for
>
>the menu.jsp. Can anyone help get this to work:
>
><bean:message key='<tiles:getAsString name="title" />' />
>
>
>
>---
>Thanks...
>Mick Knutson
>---
>
>_________________________________________________________________
>Add photos to your messages with MSN 8. Get 2 months FREE*.
>http://join.msn.com/?page=features/featuredemail
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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


Mime
View raw message