cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <>
Subject cocoon-template incompatible change
Date Fri, 24 Aug 2007 15:06:38 GMT

previously (all my software bases on this behaviour) if a variable was 
declared at imported template it was available further on:

<!-- macros.jx declares foo variable -->
<jx:import uri="view/macros.jx"/>

previous versions showed: <tags>bar</tags>
currently the scope changed and the template produces: <tags></tags>

this produces the expected result:
<!-- lets declare foo ourselves -->
<jx:set var="foo" value="..."/>
<!-- macros.jx modifies the tags variable -->
<jx:import uri="view/macros.jx"/>
<!-- works as expected -->

was this intentional?

Leszek Gawron               
CTO at MobileBox Ltd.

View raw message