commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Tombs <mark.to...@gmail.com>
Subject Re: [commons-jelly] creating nested variables
Date Sun, 17 Dec 2006 18:53:59 GMT
On Sunday 17 December 2006 10:09, Rohnny Moland wrote:
> hi,
>
> What is the syntax for creating nested variables in commons-jelly.
>
> Example:
> 	<j:set var="x" value="resolvedx"/>
> 	<j:set var="y.${x}" value="resolvedy"/>
>
> 	<j:out value="${y.${x}}"/>
>

try <j:set var="${y.x}" />


>
> Feels like I have tried all the combinations in the whole world now. :)
>
>
> Thanks in advance,
> Rohnny
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org

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


Mime
View raw message