You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Danny Bols <db...@osirion.nl> on 2004/05/14 22:38:25 UTC

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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org