struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "COMBEAU (JIRA)" <>
Subject [jira] [Updated] (WW-3954) Ajax Validation is broken (json)
Date Fri, 28 Dec 2012 16:50:12 GMT


COMBEAU updated WW-3954:

    Environment: Struts, Jquery 1.7, Struts json plugin
> Ajax Validation is broken (json)
> --------------------------------
>                 Key: WW-3954
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - JSON
>    Affects Versions: 2.3.1,,, 2.3.3, 2.3.4,
>         Environment: Struts, Jquery 1.7, Struts json plugin
>            Reporter: COMBEAU
>            Priority: Critical
> Hello,
> I have find an issue on Struts I have made a migration from Struts 2.1.8 to
Struts and I have seen that the Ajax Validation doesn't work anymore.
> Moreover, when I would like to make the validation of my form in Ajax I seen that response
was already "success" even if one or more fields are in errors. I think it's not normal. In
Struts 2.1.8 when fields are in errors the response of an Ajax call is "error" not "success"
> To correct this issue I have made a workaround. In the JSONValidationInterceptor, if
the buildResponse method have "/*" in the first append and "*/" in the last it correct the
> Is this a real issue ? 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message