I believe support for this depends upon whether the custom tag is configured
in the tag library descriptor file to support runtime expressions for the
attribute in question. I just looked at the struts-bean.tld for B2 and the
key attribute of the message tag has the rtexprvalue set to true. So, it
should support this sort of thing. I believe the docs for the various Struts
custom tags also state whether runtime expressions are supported for
particular tag attributes. However, the tag library descriptor information
is used by the JSP engine. So, you can definitely count on that information
whether the docs say it is so or not.

FYI, Van

> -----Original Message-----
> From: Lister, Tom (ANTS) [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 5:30 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Placing a Scriptlet inside <bean:message>
> 
> 
> I'm sure we've done this recently along the lines of e.g.
> <bean:message key="<%= beanref.getText()%>"/>
> 
> :-)
> Tom Lister
> * 020 7612 3030
> * [EMAIL PROTECTED]
> 
> 
> -----Original Message-----
> From: Sudhir S. Shetty [mailto:[EMAIL PROTECTED]]
> Sent: 03 September 2002 13:31
> To: Struts Users Mailing List
> Subject: Placing a Scriptlet inside <bean:message>
> 
> 
> Hi Everybody,
>                         Is it possible to place a scriptlet 
> inside the key
> attribute for the <bean:message> tag?
> TIA,
> Sudhir
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> **************************************************************
> *************
> This communication (including any attachments) contains 
> confidential information.  If you are not the intended 
> recipient and you have received this communication in error, 
> you should destroy it without copying, disclosing or 
> otherwise using its contents.  Please notify the sender 
> immediately of the error.
> 
> Internet communications are not necessarily secure and may be 
> intercepted or changed after they are sent.  Abbey National 
> Treasury Services plc does not accept liability for any loss 
> you may suffer as a result of interception or any liability 
> for such changes.  If you wish to confirm the origin or 
> content of this communication, please contact the sender by 
> using an alternative means of communication.
> 
> This communication does not create or modify any contract 
> and, unless otherwise stated, is not intended to be 
> contractually binding.
> 
> Abbey National Treasury Services plc. Registered Office:  
> Abbey National House, 2 Triton Square, Regents Place, London 
> NW1 3AN.  Registered in England under Company Registration 
> Number: 2338548.  Regulated by the Financial Services Authority (FSA).
> **************************************************************
> *************
> 
> 

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

Reply via email to