cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r325889 - /cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/generation/jx-macros.xml
Date Mon, 17 Oct 2005 13:24:53 GMT
Author: bruno
Date: Mon Oct 17 06:24:48 2005
New Revision: 325889

URL: http://svn.apache.org/viewcvs?rev=325889&view=rev
Log:
Convert some Jexl expressions to JXPath so that they work also when used without javascript-flow.

Modified:
    cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/generation/jx-macros.xml

Modified: cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/generation/jx-macros.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/generation/jx-macros.xml?rev=325889&r1=325888&r2=325889&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/generation/jx-macros.xml (original)
+++ cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/generation/jx-macros.xml Mon Oct
17 06:24:48 2005
@@ -87,7 +87,7 @@
       <jx:if test="${cformsHelper.pushRepeater(id, false)}">
         <jx:set var="repeater" value="${cformsHelper.peekWidget()}"/>
         <jx:forEach varStatus="repeaterLoop" begin="0" end="${repeater.getSize() - 1}">
-          <jx:if test="${cformsHelper.pushContainer(java.lang.Integer.toString(repeaterLoop.index))}">
+          <jx:if test="#{pushContainer($cformsHelper, java.lang.Integer.toString($repeaterLoop/index))}">
             <jx:set var="widget" value="${cformsHelper.peekWidget()}"/>
             <jx:evalBody/>
             <jx:set var="cformsDummy" value="${cformsHelper.popWidget()}"/>
@@ -221,7 +221,7 @@
     
     <jx:macro name="repeater-rows" targetNamespace="http://apache.org/cocoon/forms/1.0#template">
         <jx:forEach varStatus="repeaterLoop" begin="0" end="${repeater.getSize() - 1}">
-          <jx:if test="${cformsHelper.pushContainer(java.lang.Integer.toString(repeaterLoop.index))}">
+          <jx:if test="#{pushContainer($cformsHelper, java.lang.Integer.toString($repeaterLoop/index))}">
             <jx:set var="widget" value="${cformsHelper.peekWidget()}"/>
             <jx:evalBody/>
             <jx:set var="cformsDummy" value="${cformsHelper.popWidget()}"/>



Mime
View raw message