You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gi...@apache.org on 2005/03/20 14:43:40 UTC

svn commit: r158327 - cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form2_bind_bean.xml cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form2_jx.xml

Author: giacomo
Date: Sun Mar 20 05:43:40 2005
New Revision: 158327

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

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form2_bind_bean.xml
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form2_jx.xml

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form2_bind_bean.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form2_bind_bean.xml?view=diff&r1=158326&r2=158327
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form2_bind_bean.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form2_bind_bean.xml Sun Mar 20 05:43:40 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/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form2_jx.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form2_jx.xml?view=diff&r1=158326&r2=158327
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form2_jx.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form2_jx.xml Sun Mar 20 05:43:40 2005
@@ -49,6 +49,17 @@
       </jx:forEach>
     </table>
 
+    <table border="1">
+      <tr>
+        <th>drinks</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>