cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Windows only defect using form tag with enctype set
Date Mon, 08 Mar 2004 20:17:22 GMT

The following defect occurs ONLY on the MS windows platform,
it does NOT occur on the linux platform.
Both platforms were setup with tomcat 4.1.29, and cocoon 2.1.4.

On the windows platorm, a woody form will lose it's data when
the enctype="multipart/form-data" is specified in the form
template, for example:

<wt:form-template action="#{$continuation/id}.kont"
method="POST" enctype="multipart/form-data">

This enctype is required for proper operation of the upload

To see the problem for yourself, on a windows based server, simply add
to the form tag (see above) in
and then run the XML Binding sample.

In the test case, (very similar to the XML Binding demo), a
flowscript which uses the showForm() function does not exit.

It is believed that the showForm() call in the flowscript
never exits because validation always fails because we have a required field
(which is filled in with valid data by the user) and that field is null
because the widget is not being updated with the request data because of
this defect when enctype="multipart/form-data".

Again, this problem only occurs on the MS Windows platform
and works fine on a linux platform. The problem does not appear to be
browser dependent.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message