Daniel and I have found out some strange behaviour concerning JEXL in Jxtg. Users started reporting this also:

http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=110867204019252&w=2

The only thing we know is that the problems occur when the pipeline is not invoked from flowscript.

<root xmlns:jx="http://apache.org/cocoon/templates/jx/1.0";>

  <test1>
    <jx:set var="var1" value="foo"/>
    <jx:out value="${var1}"/>
  </test1>

  <test2>
    <jx:set var="map" value="${java.util.HashMap()}"/>
    <jx:set var="ignored" value="${map.put('foo', 'bar')}"/>
    <jx:out value="${map.foo}"/>
  </test2>

</root>

For what we know test2 does not work. "map" variable is not properly initialized.

Could anybody comment?
--
Leszek Gawron                                      [EMAIL PROTECTED]
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Reply via email to