struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bailey, Shane C." <SHANE.C.BAI...@saic.com>
Subject RE: tiles:getAsString within bean:message?
Date Tue, 03 Jun 2003 21:11:49 GMT

Your probably right. I just haven't had to do it yet and I figure I will
soon so I was trying to help figure out the answer.


-----Original Message-----
From: Hue Holleran [mailto:hueh@openAction.net] 
Sent: Tuesday, June 03, 2003 5:05 PM
To: Struts Users Mailing List
Subject: RE: tiles:getAsString within bean:message?

see below
> -----Original Message-----
> From: Bailey, Shane C. [mailto:SHANE.C.BAILEY@saic.com]
> Sent: 03 June 2003 20:56
> To: 'Struts Users Mailing List'
> Subject: RE: tiles:getAsString within bean:message?
> 
> 
> 
> 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" />' />

Is this allowed - surely one custom tag cannot nest another?

> 
> 
> 
> 
> -----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
> 
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.487 / Virus Database: 286 - Release Date: 01/06/2003
> 
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.487 / Virus Database: 286 - Release Date: 01/06/2003


---------------------------------------------------------------------
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


Mime
View raw message