You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by bd...@apache.org on 2005/03/22 08:15:46 UTC

svn commit: r158564 - cocoon/blocks/core/forms/trunk/samples/forms/xhr_carselector_template.xml

Author: bdelacretaz
Date: Mon Mar 21 23:15:45 2005
New Revision: 158564

URL: http://svn.apache.org/viewcvs?view=rev&rev=158564
Log:
add notice that this sample is currently broken (bugzilla 34077 comment 13)

Modified:
    cocoon/blocks/core/forms/trunk/samples/forms/xhr_carselector_template.xml

Modified: cocoon/blocks/core/forms/trunk/samples/forms/xhr_carselector_template.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/core/forms/trunk/samples/forms/xhr_carselector_template.xml?view=diff&r1=158563&r2=158564
==============================================================================
--- cocoon/blocks/core/forms/trunk/samples/forms/xhr_carselector_template.xml (original)
+++ cocoon/blocks/core/forms/trunk/samples/forms/xhr_carselector_template.xml Mon Mar 21 23:15:45 2005
@@ -88,7 +88,16 @@
     </script>
   <title>Car selector with XMLHTTPRequest</title>
   <content>
-    <ft:form-template action="carselector" method="POST">
+    <para>
+        This experimental sample demonstrates the use of XMLHttpRequest to update
+        fields without refreshing the page. It is currently broken: the form
+        cannot be successfully submitted, as the form model does not contain the
+        values of the type and model selection lists. After selecting a value in
+        the "model" field, the "type" and "model" fields are reset to their initial
+        values, instead of submitting the form. See also bugzilla 34077.
+    </para>
+
+    <ft:form-template action="xhr_carselector" method="POST">
       <ft:continuation-id/>
       <fi:group>
         <fi:styling layout="columns"/>
@@ -107,5 +116,6 @@
         </fi:items>
       </fi:group>
     </ft:form-template>
+
   </content>
 </page>