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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED]
> 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:[EMAIL PROTECTED] 
> Sent: Tuesday, June 03, 2003 2:42 PM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to