mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
WW-2050 Separate JSONValidationInterceptor from AnnotationValidationInterceptor
Patch provided by Lukasz Racon git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@560333 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -297,6 +297,7 @@ dojo.widget.defineWidget(
|
||||
}
|
||||
|
||||
var tmpHref = this.href;
|
||||
tmpHref = tmpHref + (tmpHref.indexOf("?") > -1 ? "&" : "?") + "struts.enableJSONValidation=true";
|
||||
if(!this.ajaxAfterValidation && this.validate) {
|
||||
tmpHref = tmpHref + (tmpHref.indexOf("?") > -1 ? "&" : "?") + "struts.validateOnly=true";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user