cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: svn commit: r325889 - /cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/generation/jx-macros.xml
Date Mon, 17 Oct 2005 14:50:59 GMT
bruno@apache.org wrote:
> 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))}">
I do not get it: why do you think this change is necessary? Does it 
break when used with JEXL ?

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT 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

Mime
View raw message