I'm not 100% sure, but I don't think so, but you could always rewrite it to:

<jx:forEach var="customer" items="${customers}">
 <jx:set var="myProperty" value="${customer.name}"/> 
   evaluate this...
      ${myProperty}
</jx:forEach>


HTH.

Bye, Helma

> -----Original Message-----
> From: Danny Bols [mailto:[EMAIL PROTECTED] 
> Sent: Friday, 14 May 2004 22:38
> To: Cocoon Users
> Subject: JxTemplate indirect evaluation of expressions
> 
> 
> Is this kind of indirect evaluation possible in a jx-template?
> 
> <jx:set var="myProperty" value="customer.name"/>
> 
> <jx:forEach var="customer" items="${customers}">
> 
>   evaluate this...
>      ${myProperty}
>   as if i was writing this...
>      ${customer.name}
> 
> </jx:forEach>
> 
> --
> Danny
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to