You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ch...@apache.org on 2005/10/25 19:05:14 UTC

svn commit: r328424 - /lenya/trunk/src/modules/cforms/usecases/dynamicrepeater_binding.xml

Author: chestnut
Date: Tue Oct 25 10:05:07 2005
New Revision: 328424

URL: http://svn.apache.org/viewcvs?rev=328424&view=rev
Log:
adds a convertor for integers
Thanks to Felix Röthenbacher for the patch
fixes Bug 37221

Modified:
    lenya/trunk/src/modules/cforms/usecases/dynamicrepeater_binding.xml

Modified: lenya/trunk/src/modules/cforms/usecases/dynamicrepeater_binding.xml
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/cforms/usecases/dynamicrepeater_binding.xml?rev=328424&r1=328423&r2=328424&view=diff
==============================================================================
--- lenya/trunk/src/modules/cforms/usecases/dynamicrepeater_binding.xml (original)
+++ lenya/trunk/src/modules/cforms/usecases/dynamicrepeater_binding.xml Tue Oct 25 10:05:07 2005
@@ -20,10 +20,13 @@
 -->
 
 <fb:context xmlns:fb="http://apache.org/cocoon/forms/1.0#binding"
+    xmlns:fd="http://apache.org/cocoon/forms/1.0#definition"
     path="/data">
     
   <fb:simple-repeater id="contacts" parent-path="contacts" row-path="contact">
-    <fb:value id="ID" path="@id"/>
+    <fb:value id="ID" path="@id">
+      <fd:convertor datatype="integer"/>
+    </fb:value>
     <fb:value id="firstname" path="firstname"/>
     <fb:value id="lastname" path="lastname"/>
   </fb:simple-repeater>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org