There wasn't the last time I looked.... You'll probably find it worth your time to grab JSTL. There are many other useful features that are not available in the Struts libraries, since it would just be duplicated efforts. If there is some reason you are absolutely forbidden from using JSTL, you might consider writing your own set tag.
--Adam -----Original Message----- From: Shoukat, Faisal [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 9:12 AM To: Struts Users Mailing List Subject: RE: Adding JSP tag as a parameter to another jsp tag Is there an equivalent of this with struts libraires <c:set var="myTitle"><title:renderTitle/></c:set> -----Original Message----- From: Samere, Adam J [mailto:[EMAIL PROTECTED] Sent: 06 June 2006 14:02 To: Struts Users Mailing List Subject: RE: Adding JSP tag as a parameter to another jsp tag Assuming your test:example tag's property attribute supports expressions, you could set the value of the <title:renderTitle/> into a page scoped variable then write it into the property attribute using an expression. For example, using c:set from JSTL: <c:set var="myTitle"><title:renderTitle/></c:set> <test:example name="abc" title="123" property="${myTitle}"/> -----Original Message----- From: Shoukat, Faisal [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 8:54 AM To: Struts Users Mailing List Subject: RE: Adding JSP tag as a parameter to another jsp tag Hi, Can anyone advise on how to call a jsp tag as a parameter to another jsp tag: For example: (this is completely hypothetical but matches my case) <test:example name="abc" title="123" property="example"/> Now in the property element I Want to call another tag which is already written which returns me the string required for example <title:renderTitle/> So it would look like <test:example name="abc" title="123" property="<title:renderTitle/>"/> However I don't know how to add the second tag Any one know? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ----------------------------------------- The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Paychex, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ------------------------------------------------------------------------ ---- -------- The Northgate IS Content Screening and Inspection system has scanned this message for malicious and inappropriate content and none was found. Please take care when opening attachments even when these are expected and from known and trusted sources. ------------------------------------------------------------------------ ---- -------- --------------------------------------------------------------------- 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]