You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2009/07/28 18:05:59 UTC

[jira] Commented: (WW-3206) instructions for jsonValidationWorkflowStack don't suggest how to avoid uploading files during the validation step

    [ https://issues.apache.org/struts/browse/WW-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46529#action_46529 ] 

Musachy Barroso commented on WW-3206:
-------------------------------------

Is there a way to avoid it?

> instructions for jsonValidationWorkflowStack don't suggest how to avoid uploading files during the validation step
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-3206
>                 URL: https://issues.apache.org/struts/browse/WW-3206
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Other, XML Validators
>            Reporter: Dale Newfield
>            Assignee: Wes Wannemacher
>
> http://struts.apache.org/2.x/docs/ajax-validation.html shows how to submit the form via ajax in such a way that it will not invoke the action, but only return the validation errors as json.  If the form includes a file to be uploaded, though, it will be uploaded both in this validation submission step and then in the actual form submission step.  Modification of the documentation/example code to show how to avoid that would be useful.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.