You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2022/08/11 12:09:00 UTC

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

     [ https://issues.apache.org/jira/browse/WW-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart closed WW-3206.
-----------------------------
    Resolution: Won't Fix

> instructions for jsonValidationWorkflowStack don't suggest how to avoid uploading files during the validation step
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-3206
>                 URL: https://issues.apache.org/jira/browse/WW-3206
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Other, XML Validators
>            Reporter: Dale Newfield
>            Priority: Major
>             Fix For: 6.1.0
>
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)