Skip to content

Commit

Permalink
add notice that this sample is currently broken (bugzilla 34077 comme…
Browse files Browse the repository at this point in the history
…nt 13)

git-svn-id: https://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X@158563 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
bdelacretaz committed Mar 22, 2005
1 parent c5fa123 commit 9bfff4d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/blocks/forms/samples/forms/xhr_carselector_template.xml
Expand Up @@ -88,6 +88,15 @@ function changeType(make, type) {
</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>
Expand All @@ -107,5 +116,6 @@ function changeType(make, type) {
</fi:items>
</fi:group>
</ft:form-template>

</content>
</page>

0 comments on commit 9bfff4d

Please sign in to comment.