Grzegorz Kossakowski wrote:
Leszek Gawron pisze:
Hello,
Hello Leszek
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/
tags${foo}/tags
Variable defined by using jx:set is not available outside wrapping element.
---
Key: COCOON-2127
URL: https://issues.apache.org/jira/browse/COCOON-2127
Project: Cocoon
Leszek Gawron pisze:
no worry, got that in control already. Problem lies both in Import.java
instruction and StartPrefixMapping.java:
1. Import.java
snip/
this one is quite obvious:
markLocalContext() should be executed only if a context object is
explicitly set with jx:import