WW-4591 Defines new result JSONActionRedirectResult
Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/3163d6c3 Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/3163d6c3 Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/3163d6c3 Branch: refs/heads/master Commit: 3163d6c38b4a6f4f7d6e5447476934beebb398fe Parents: d923c7c b0a66b4 Author: Lukasz Lenart <lukaszlen...@apache.org> Authored: Tue Jan 19 08:44:53 2016 +0100 Committer: Lukasz Lenart <lukaszlen...@apache.org> Committed: Tue Jan 19 08:44:53 2016 +0100 ---------------------------------------------------------------------- .../validation/AjaxFormSubmitAction.java | 152 ++++++++++++++++ .../validation/AjaxFormSubmitSuccessAction.java | 7 + .../src/main/resources/struts-validation.xml | 13 ++ .../ajaxErrorContainers/actionerror.ftl | 46 +++++ .../ajaxErrorContainers/controlfooter.ftl | 39 ++++ .../ajaxErrorContainers/controlheader-core.ftl | 80 +++++++++ .../ajaxErrorContainers/theme.properties | 21 +++ .../src/main/webapp/WEB-INF/decorators/main.jsp | 2 + .../WEB-INF/validation/ajaxFormSubmit.jsp | 177 +++++++++++++++++++ .../validation/ajaxFormSubmitSuccess.jsp | 17 ++ .../struts2/json/JSONActionRedirectResult.java | 70 ++++++++ .../struts2/json/JSONValidationInterceptor.java | 10 +- .../json/src/main/resources/struts-plugin.xml | 1 + .../json/JSONActionRedirectResultTest.java | 105 +++++++++++ 14 files changed, 736 insertions(+), 4 deletions(-) ----------------------------------------------------------------------