Author: bdelacretaz Date: Mon Mar 21 23:15:29 2005 New Revision: 158563 URL: http://svn.apache.org/viewcvs?view=rev&rev=158563 Log: add notice that this sample is currently broken (bugzilla 34077 comment 13)
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/xhr_carselector_template.xml Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/xhr_carselector_template.xml URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/xhr_carselector_template.xml?view=diff&r1=158562&r2=158563 ============================================================================== --- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/xhr_carselector_template.xml (original) +++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/xhr_carselector_template.xml Mon Mar 21 23:15:29 2005 @@ -88,6 +88,15 @@ </script> <title>Car selector with XMLHTTPRequest</title> <content> + <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> @@ -107,5 +116,6 @@ </fi:items> </fi:group> </ft:form-template> + </content> </page>