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
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
Is there an equivalent of this with struts libraires
c:set var=myTitletitle: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
Shoukat, Faisal wrote:
test:example name=abc title=123 property=title:renderTitle//
However I don't know how to add the second tag
Any one know?
That's not valid XML.
You need to either use EL:
test:example name=abs title=123 property=${propertyName}/
or nesting:
test:example
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
5 matches
Mail list logo