tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <mfncoo...@gmail.com>
Subject Re: c:out inside value attribute of c:set
Date Wed, 01 Sep 2004 18:03:12 GMT
I'm not sure what you're trying to accomplish with the <c:out>
embedded in the attribute value. Don't you just want the value of the
variable you set in the first line?

<c:set var="_data1"
value="${sessionScope.modelRoot.financialBenefit.FBTypeMap['1'].FBEntries[_id1].id}"
/>

--
Martin Cooper


On Wed, 01 Sep 2004 09:47:41 -0700, Somashish Gupta
<sgupta@mail.etouch.net> wrote:
> Hi,
> 
>   Can I use a <c:out ... /> inside the value attribute of
> another <c:out /> or <c:set ... /> tag.
> 
> For ex the following code
> 
> <c:set var="_id1" value="${financialBenefitStateItem.id}"
> />
> <c:set var="_data1"
> value="${sessionScope.modelRoot.financialBenefit.FBTypeMap['1'].FBEntries['<c:out
> value='${_id1}'/>'].id}" />
> 
> doesnt seem to work. In the second line I am trying to use
> c:out inside the value attribute of c:set . However it is
> not evaluating that c:out.
> 
> Any clue how to solve this problem?
> 
> Thanks
> Somashish
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message