cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject svn commit: r158331 - cocoon/blocks/core/forms/trunk/samples/forms/form2_bind_bean.xml cocoon/blocks/core/forms/trunk/samples/forms/form2_jx.xml
Date Sun, 20 Mar 2005 14:53:14 GMT
Author: giacomo
Date: Sun Mar 20 06:53:14 2005
New Revision: 158331

URL: http://svn.apache.org/viewcvs?view=rev&rev=158331
Log:
show new multivalue field capabilities

Modified:
    cocoon/blocks/core/forms/trunk/samples/forms/form2_bind_bean.xml
    cocoon/blocks/core/forms/trunk/samples/forms/form2_jx.xml

Modified: cocoon/blocks/core/forms/trunk/samples/forms/form2_bind_bean.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/core/forms/trunk/samples/forms/form2_bind_bean.xml?view=diff&r1=158330&r2=158331
==============================================================================
--- cocoon/blocks/core/forms/trunk/samples/forms/form2_bind_bean.xml (original)
+++ cocoon/blocks/core/forms/trunk/samples/forms/form2_bind_bean.xml Sun Mar 20 06:53:14 2005
@@ -50,7 +50,7 @@
     <fb:value id="cntr"   path="phoneCountry"/>
   </fb:aggregate>
 
-  <fb:multi-value id="drinks" parent-path="." row-path="drinks" direction="load"/>
+  <fb:multi-value id="drinks" parent-path="." row-path="drinks" direction="both"/>
 
   <!--
     - Repeater requires unique identification mechanism of the row-nodes.

Modified: cocoon/blocks/core/forms/trunk/samples/forms/form2_jx.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/core/forms/trunk/samples/forms/form2_jx.xml?view=diff&r1=158330&r2=158331
==============================================================================
--- cocoon/blocks/core/forms/trunk/samples/forms/form2_jx.xml (original)
+++ cocoon/blocks/core/forms/trunk/samples/forms/form2_jx.xml Sun Mar 20 06:53:14 2005
@@ -49,6 +49,17 @@
       </jx:forEach>
     </table>
 
+    <table border="1">
+      <tr>
+        <th>drink</th>
+      </tr>
+      <jx:forEach var="item" items="${form2bean.drinks}">
+        <tr>
+          <td>${item}</td>
+        </tr>
+      </jx:forEach>
+    </table>
+
     <br/>
     <a href="form2bean.flow">Do it again</a>
   </body>



Mime
View raw message