diff --git a/core/src/main/resources/org/apache/struts2/static/utils.js b/core/src/main/resources/org/apache/struts2/static/utils.js index 1779ce57a5..9708f6f0b7 100644 --- a/core/src/main/resources/org/apache/struts2/static/utils.js +++ b/core/src/main/resources/org/apache/struts2/static/utils.js @@ -66,8 +66,8 @@ StrutsUtils.showValidationErrors = function(form, errors) { if (errors.errors) { var l, errorList = document.createElement("ul"); - errorList.setAttribute("class", "errorMessage"); - errorList.setAttribute("className", "errorMessage"); // ie hack cause ie does not support setAttribute + errorList.setAttribute("class", "struts-errorMessage"); + errorList.setAttribute("className", "struts-errorMessage"); // ie hack cause ie does not support setAttribute for ( l = 0; l < errors.errors.length; l++) { var item = document.createElement("li"); diff --git a/core/src/main/resources/template/archive/ajax/form.vm b/core/src/main/resources/template/archive/ajax/form.vm index 2ad6075e70..35f3b43398 100644 --- a/core/src/main/resources/template/archive/ajax/form.vm +++ b/core/src/main/resources/template/archive/ajax/form.vm @@ -36,4 +36,4 @@ #if ($parameters.cssStyle) style="$!struts.htmlEncode($parameters.cssStyle)" #end onSubmit="return false;" > - +
diff --git a/core/src/main/resources/template/archive/simple/checkboxlist.vm b/core/src/main/resources/template/archive/simple/checkboxlist.vm index 979bc3a679..0f6ead8c96 100644 --- a/core/src/main/resources/template/archive/simple/checkboxlist.vm +++ b/core/src/main/resources/template/archive/simple/checkboxlist.vm @@ -37,7 +37,7 @@ -
+
#set ($trash = $stack.pop()) #end #else diff --git a/core/src/main/resources/template/archive/xhtml/checkbox.vm b/core/src/main/resources/template/archive/xhtml/checkbox.vm index 9e772173e4..7052846d41 100644 --- a/core/src/main/resources/template/archive/xhtml/checkbox.vm +++ b/core/src/main/resources/template/archive/xhtml/checkbox.vm @@ -33,7 +33,7 @@
- +
#parse("$!{tag.templateDir}/simple/checkbox.vm")
#parse("/$parameters.templateDir/xhtml/controlfooter.vm") diff --git a/core/src/main/resources/template/archive/xhtml/controlheader.vm b/core/src/main/resources/template/archive/xhtml/controlheader.vm index a07d787fb1..25cec5b3e0 100644 --- a/core/src/main/resources/template/archive/xhtml/controlheader.vm +++ b/core/src/main/resources/template/archive/xhtml/controlheader.vm @@ -31,7 +31,7 @@ ## if the label position is top, ## then give the label it's own row in the table -#if ($parameters.labelposition && $parameters.labelposition == 'top')#else#end#if ($parameters.label)#end +#if ($parameters.labelposition && $parameters.labelposition == 'top')#else#end#if ($parameters.label)#end ## add the extra row #if ($parameters.labelposition && $parameters.labelposition == 'top') diff --git a/core/src/main/resources/template/archive/xhtml/form.vm b/core/src/main/resources/template/archive/xhtml/form.vm index 1beb97e3a8..1f7a35e333 100644 --- a/core/src/main/resources/template/archive/xhtml/form.vm +++ b/core/src/main/resources/template/archive/xhtml/form.vm @@ -25,4 +25,4 @@ #end #parse("/$parameters.templateDir/simple/form.vm") - +
diff --git a/core/src/main/resources/template/css_xhtml/checkbox.ftl b/core/src/main/resources/template/css_xhtml/checkbox.ftl index 004f674714..b7e90b8477 100644 --- a/core/src/main/resources/template/css_xhtml/checkbox.ftl +++ b/core/src/main/resources/template/css_xhtml/checkbox.ftl @@ -35,7 +35,7 @@ lables <#if parameters.id??> errorFor="${parameters.id}"<#rt/> - class="errorMessage"> + class="struts-errorMessage"> ${error?html} <#t/> @@ -54,9 +54,9 @@ lables for="${parameters.id?html}"<#rt/> <#if hasFieldErrors> - class="checkboxErrorLabel"<#rt/> + class="struts-checkboxErrorLabel"<#rt/> <#else> - class="label"<#rt/> + class="struts-label"<#rt/> >${parameters.label?html}<#rt/> @@ -70,7 +70,7 @@ lables <#if parameters.id??>id="wwctrl_${parameters.id}"<#rt/> class="wwctrl"> <#if parameters.required?default(false)> - *<#t/> + *<#t/> <#include "/${parameters.templateDir}/simple/checkbox.ftl" /> @@ -92,9 +92,9 @@ lables for="${parameters.id?html}"<#rt/> <#if hasFieldErrors> - class="checkboxErrorLabel"<#rt/> + class="struts-checkboxErrorLabel"<#rt/> <#else> - class="checkboxLabel"<#rt/> + class="struts-checkboxLabel"<#rt/> >${parameters.label?html}<#rt/> diff --git a/core/src/main/resources/template/css_xhtml/controlfooter.ftl b/core/src/main/resources/template/css_xhtml/controlfooter.ftl index 2783a0ba01..8dc3c2f37c 100644 --- a/core/src/main/resources/template/css_xhtml/controlfooter.ftl +++ b/core/src/main/resources/template/css_xhtml/controlfooter.ftl @@ -41,7 +41,7 @@ ${parameters.after?if_exists}<#t/> <#if parameters.id??> errorFor="${parameters.id}"<#rt/> - class="errorMessage"> + class="struts-errorMessage"> ${error?html} <#t/> diff --git a/core/src/main/resources/template/css_xhtml/controlheader-core.ftl b/core/src/main/resources/template/css_xhtml/controlheader-core.ftl index 2a5c98b55e..9b75a04fdb 100644 --- a/core/src/main/resources/template/css_xhtml/controlheader-core.ftl +++ b/core/src/main/resources/template/css_xhtml/controlheader-core.ftl @@ -35,7 +35,7 @@ <#if parameters.id??> errorFor="${parameters.id}"<#rt/> - class="errorMessage"> + class="struts-errorMessage"> ${error?html} <#t/> @@ -60,13 +60,13 @@ for="${parameters.id?html}" <#t/> <#if hasFieldErrors> - class="errorLabel"<#t/> + class="struts-errorLabel"<#t/> <#else> - class="label"<#t/> + class="struts-label"<#t/> ><#t/> <#if parameters.required?default(false)> - *<#t/> + *<#t/> ${parameters.label?html}${parameters.labelseparator!":"?html} <#include "/${parameters.templateDir}/xhtml/tooltip.ftl" /> diff --git a/core/src/main/resources/template/css_xhtml/reset.ftl b/core/src/main/resources/template/css_xhtml/reset.ftl index 9c3a40af36..5682f541ed 100644 --- a/core/src/main/resources/template/css_xhtml/reset.ftl +++ b/core/src/main/resources/template/css_xhtml/reset.ftl @@ -30,7 +30,7 @@ <#else> - class="formButton"<#t/> + class="struts-formButton"<#t/> <#if parameters.id??> id="wwctrl_${parameters.id}"<#rt/> diff --git a/core/src/main/resources/template/css_xhtml/styles.css b/core/src/main/resources/template/css_xhtml/styles.css index 76babfc70c..fe52afa226 100644 --- a/core/src/main/resources/template/css_xhtml/styles.css +++ b/core/src/main/resources/template/css_xhtml/styles.css @@ -19,22 +19,22 @@ * under the License. */ -.wwFormTable {} -.label { +.struts-wwFormTable {} +.struts-label { font-style:italic; float:left; width:30% } -.errorLabel {font-style:italic; color:red; } -.errorMessage {font-weight:bold; color:red; } -.checkboxLabel {} -.checkboxErrorLabel {color:red; } -.required {color:red;} +.struts-errorLabel {font-style:italic; color:red; } +.struts-errorMessage {font-weight:bold; color:red; } +.struts-checkboxLabel {} +.struts-checkboxErrorLabel {color:red; } +.struts-required {color:red;} -.tdTransferSelect {text-align:center; vertical-align:middle;} -.tdLabelTop {text-align:left; vertical-align:top;} -.tdCheckboxLabel {text-align:right; vertical-align:top;} -.tdCheckboxInput {text-align:left; vertical-align:top;} -.tdCheckboxErrorMessage {text-align:left; vertical-align:top;} -.tdErrorMessage {text-align:center; vertical-align:top;} -.formButton {text-align:right;} +.struts-tdTransferSelect {text-align:center; vertical-align:middle;} +.struts-tdLabelTop {text-align:left; vertical-align:top;} +.struts-tdCheckboxLabel {text-align:right; vertical-align:top;} +.struts-tdCheckboxInput {text-align:left; vertical-align:top;} +.struts-tdCheckboxErrorMessage {text-align:left; vertical-align:top;} +.struts-tdErrorMessage {text-align:center; vertical-align:top;} +.struts-formButton {text-align:right;} diff --git a/core/src/main/resources/template/css_xhtml/submit.ftl b/core/src/main/resources/template/css_xhtml/submit.ftl index 1611ffb5ff..1e08264ec0 100644 --- a/core/src/main/resources/template/css_xhtml/submit.ftl +++ b/core/src/main/resources/template/css_xhtml/submit.ftl @@ -30,7 +30,7 @@ <#else> - class="formButton"<#t/> + class="struts-formButton"<#t/> <#if parameters.id??> id="wwctrl_${parameters.id}"<#rt/> diff --git a/core/src/main/resources/template/css_xhtml/validation.js b/core/src/main/resources/template/css_xhtml/validation.js index 78b442ac53..ecd71d261f 100644 --- a/core/src/main/resources/template/css_xhtml/validation.js +++ b/core/src/main/resources/template/css_xhtml/validation.js @@ -54,7 +54,7 @@ function clearErrorLabelsCSS(form) { for (i = 0; i < labels.length; i++) { var label = labels[i]; if (label) { - if(label.getAttribute("class") === "errorLabel"){ + if(label.getAttribute("class") === "struts-errorLabel"){ label.setAttribute("class", "label");//standard way.. works for ie mozilla label.setAttribute("className", "label"); //ie hack cause ie does not support setAttribute } @@ -130,8 +130,8 @@ function addErrorCSS(e, errorText) { var label = enclosingDiv.getElementsByTagName("label")[0]; if (label) { - label.setAttribute("class", "errorLabel"); //standard way.. works for ie mozilla - label.setAttribute("className", "errorLabel"); //ie hack cause ie does not support setAttribute + label.setAttribute("class", "struts-errorLabel"); //standard way.. works for ie mozilla + label.setAttribute("className", "struts-errorLabel"); //ie hack cause ie does not support setAttribute } var firstCtrNode = findWWCtrlNode(enclosingDiv); // either wwctrl_ or wwlbl_ @@ -139,8 +139,8 @@ function addErrorCSS(e, errorText) { var error = document.createTextNode(errorText); var errorDiv = document.createElement("div"); - errorDiv.setAttribute("class", "errorMessage");//standard way.. works for ie mozilla - errorDiv.setAttribute("className", "errorMessage");//ie hack cause ie does not support setAttribute + errorDiv.setAttribute("class", "struts-errorMessage");//standard way.. works for ie mozilla + errorDiv.setAttribute("className", "struts-errorMessage");//ie hack cause ie does not support setAttribute errorDiv.setAttribute("errorFor", elem.id); errorDiv.appendChild(error); if(!firstCtrNode && navigator.appName === 'Microsoft Internet Explorer') { diff --git a/core/src/main/resources/template/simple/actionerror.ftl b/core/src/main/resources/template/simple/actionerror.ftl index 6563876d4d..e575a7d9e7 100644 --- a/core/src/main/resources/template/simple/actionerror.ftl +++ b/core/src/main/resources/template/simple/actionerror.ftl @@ -28,7 +28,7 @@ <#if parameters.cssClass??> class="${parameters.cssClass?html}"<#rt/> <#else> - class="errorMessage"<#rt/> + class="struts-errorMessage"<#rt/> <#if parameters.cssStyle??> style="${parameters.cssStyle?html}"<#rt/> diff --git a/core/src/main/resources/template/simple/checkboxlist.ftl b/core/src/main/resources/template/simple/checkboxlist.ftl index d50a98fa3b..5aae3d9938 100644 --- a/core/src/main/resources/template/simple/checkboxlist.ftl +++ b/core/src/main/resources/template/simple/checkboxlist.ftl @@ -104,7 +104,7 @@ <#else> for="${parameters.name?html}-${itemCount}"<#rt/> - class="checkboxLabel">${itemValue?html} + class="struts-checkboxLabel">${itemValue?html} <#else>   diff --git a/core/src/main/resources/template/simple/fielderror.ftl b/core/src/main/resources/template/simple/fielderror.ftl index 81e95d9ed9..c8d9d9d3e3 100644 --- a/core/src/main/resources/template/simple/fielderror.ftl +++ b/core/src/main/resources/template/simple/fielderror.ftl @@ -40,7 +40,7 @@ <#if parameters.cssClass?has_content> class="${parameters.cssClass?html}"<#rt/> <#else> - class="errorMessage"<#rt/> + class="struts-errorMessage"<#rt/> <#if parameters.cssStyle?has_content> style="${parameters.cssStyle?html}"<#rt/> @@ -64,7 +64,7 @@ <#if parameters.cssClass?has_content> class="${parameters.cssClass?html}"<#rt/> <#else> - class="errorMessage"<#rt/> + class="struts-errorMessage"<#rt/> <#if parameters.cssStyle?has_content> style="${parameters.cssStyle?html}"<#rt/> diff --git a/core/src/main/resources/template/simple/inputtransferselect.ftl b/core/src/main/resources/template/simple/inputtransferselect.ftl index 44afd6609c..12f8b342ad 100644 --- a/core/src/main/resources/template/simple/inputtransferselect.ftl +++ b/core/src/main/resources/template/simple/inputtransferselect.ftl @@ -61,7 +61,7 @@ - -<#lt/> @@ -47,17 +47,17 @@ for="${parameters.id?html}"<#rt/> <#if hasFieldErrors> - class="checkboxErrorLabel"<#rt/> + class="struts-checkboxErrorLabel"<#rt/> <#else> - class="checkboxLabel"<#rt/> + class="struts-checkboxLabel"<#rt/> > <#if parameters.required?default(false) && parameters.requiredPosition?default("right") != 'right'> - *<#t/> + *<#t/> ${parameters.label?html}<#t/> <#if parameters.required?default(false) && parameters.requiredPosition?default("right") == 'right'> - *<#t/> + *<#t/> :<#t/> <#if parameters.tooltip??> @@ -72,24 +72,24 @@ ${parameters.label?html}<#t/> <#include "/${parameters.templateDir}/simple/checkbox.ftl" /> <#else> - -
+ <#assign addLabel=(parameters.addLabel!"->")?html /><#t/> <#t/> diff --git a/core/src/main/resources/template/simple/optiontransferselect.ftl b/core/src/main/resources/template/simple/optiontransferselect.ftl index c685956815..eda4a7ee41 100644 --- a/core/src/main/resources/template/simple/optiontransferselect.ftl +++ b/core/src/main/resources/template/simple/optiontransferselect.ftl @@ -47,7 +47,7 @@ + <#if parameters.allowAddToLeft?default(true)><#t/> <#assign addToLeftLabel = parameters.addToLeftLabel?default("<-")?html/><#t/> <#if parameters.doubleHeaderKey??><#t/> diff --git a/core/src/main/resources/template/xhtml/checkbox.ftl b/core/src/main/resources/template/xhtml/checkbox.ftl index d845065386..08c5732c4a 100644 --- a/core/src/main/resources/template/xhtml/checkbox.ftl +++ b/core/src/main/resources/template/xhtml/checkbox.ftl @@ -28,8 +28,8 @@ errorFor="${parameters.id}"<#rt/> > - <#rt/> - ${error?html}<#t/> + <#rt/> + ${error?html}<#t/>
+ <#if labelpos?default("") == 'left'> <#if parameters.label??> <#if parameters.id??> for="${parameters.id?html}"<#rt/> <#if hasFieldErrors> - class="checkboxErrorLabel"<#rt/> + class="struts-checkboxErrorLabel"<#rt/> <#else> - class="checkboxLabel"<#rt/> + class="struts-checkboxLabel"<#rt/> > <#if parameters.required?default(false) && parameters.requiredPosition?default("right") != 'right'> - *<#t/> + *<#t/> ${parameters.label?html}<#t/> <#if parameters.required?default(false) && parameters.requiredPosition?default("right") == 'right'> - *<#t/> + *<#t/> :<#t/> <#if parameters.tooltip??> @@ -100,14 +100,14 @@ ${parameters.label?html}<#t/> <#if labelpos?default("") == 'right'> <#if parameters.required?default(false)> - *<#t/> + *<#t/> <#if parameters.tooltip??> <#include "/${parameters.templateDir}/${parameters.expandTheme}/tooltip.ftl" /> + <#if labelpos?default("") != 'top'> <#include "/${parameters.templateDir}/simple/checkbox.ftl" /> @@ -118,9 +118,9 @@ ${parameters.label?html}<#t/> for="${parameters.id?html}"<#rt/> <#if hasFieldErrors> - class="checkboxErrorLabel"<#rt/> + class="struts-checkboxErrorLabel"<#rt/> <#else> - class="checkboxLabel"<#rt/> + class="struts-checkboxLabel"<#rt/> >${parameters.label?html}<#rt/> diff --git a/core/src/main/resources/template/xhtml/control.ftl b/core/src/main/resources/template/xhtml/control.ftl index 2761ac3b80..91402b36b8 100644 --- a/core/src/main/resources/template/xhtml/control.ftl +++ b/core/src/main/resources/template/xhtml/control.ftl @@ -20,7 +20,7 @@ * under the License. */ --> - +
<#if parameters.cssStyle??> style="${parameters.cssStyle?html}"<#rt/> > \ No newline at end of file diff --git a/core/src/main/resources/template/xhtml/controlfooter.ftl b/core/src/main/resources/template/xhtml/controlfooter.ftl index ef3f3caefd..76ef9d0e56 100644 --- a/core/src/main/resources/template/xhtml/controlfooter.ftl +++ b/core/src/main/resources/template/xhtml/controlfooter.ftl @@ -28,8 +28,8 @@ ${parameters.after?if_exists}<#t/> <#if hasFieldErrors> <#list fieldErrors[parameters.name] as error> - <#lt/> diff --git a/core/src/main/resources/template/xhtml/controlheader-core.ftl b/core/src/main/resources/template/xhtml/controlheader-core.ftl index 5835a8434f..61013000d4 100644 --- a/core/src/main/resources/template/xhtml/controlheader-core.ftl +++ b/core/src/main/resources/template/xhtml/controlheader-core.ftl @@ -29,8 +29,8 @@ <#if hasFieldErrors> <#list fieldErrors[parameters.name] as error> - <#lt/> @@ -47,9 +47,9 @@ --> <#if labelpos?default("") == 'top'> - - - - - diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-2.txt index caf46327b7..ad18866591 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-2.txt @@ -1,9 +1,9 @@ - - diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-3.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-3.txt index 68b91f3235..d59b73c705 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-3.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-3.txt @@ -1,16 +1,16 @@ - + - + - - diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-33.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-33.txt index ef05dc427c..36a2b105fd 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-33.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-33.txt @@ -1,16 +1,16 @@ - + - + - - diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-4.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-4.txt index 6cf1f955a1..2064cd7683 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-4.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-4.txt @@ -1,6 +1,6 @@ diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-5.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-5.txt index 49e093cae4..ed9c6ccf8c 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-5.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-5.txt @@ -1,8 +1,8 @@ - - diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-6.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-6.txt index c54c8629ad..6d14c1ffa5 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-6.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-6.txt @@ -1,9 +1,9 @@ - - diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-1.txt index 0458cea2a0..f1d21dbe11 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-1.txt @@ -1,12 +1,12 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-2.txt index abdaa44148..fb6562343b 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-2.txt @@ -1,12 +1,12 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-3.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-3.txt index 5fe2bf5840..8ce95e6a08 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-3.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-3.txt @@ -1,12 +1,12 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-4.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-4.txt index 3ba9c42d7f..18f16457be 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-4.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/CheckboxList-4.txt @@ -1,10 +1,10 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/ComboBox-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/ComboBox-1.txt index 1c416a598d..17434d2390 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/ComboBox-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/ComboBox-1.txt @@ -1,5 +1,5 @@ - +
<#rt/> - ${error?html}<#t/> + <#rt/> + ${error?html}<#t/>
<#rt/> - ${error?html}<#t/> + <#rt/> + ${error?html}<#t/>
<#rt/> + <#rt/> <#else> - <#rt/> + <#rt/> <#if parameters.label??>
<#t/> +
<#t/> <#include "/${parameters.templateDir}/simple/reset.ftl" />
<#t/> <#include "/${parameters.templateDir}/${parameters.expandTheme}/controlfooter.ftl" /> diff --git a/core/src/main/resources/template/xhtml/styles.css b/core/src/main/resources/template/xhtml/styles.css index 91d5171eee..7e8fc123a6 100644 --- a/core/src/main/resources/template/xhtml/styles.css +++ b/core/src/main/resources/template/xhtml/styles.css @@ -19,19 +19,19 @@ * under the License. */ -.wwFormTable {} -.label {font-style:italic; } -.errorLabel {font-style:italic; color:red; } -.errorMessage {font-weight:bold; color:red; } -.checkboxLabel {} -.checkboxErrorLabel {color:red; } -.required {color:red;} -.tdLabel {text-align:right; vertical-align:top; } +.struts-wwFormTable {} +.struts-label {font-style:italic; } +.struts-errorLabel {font-style:italic; color:red; } +.struts-errorMessage {font-weight:bold; color:red; } +.struts-checkboxLabel {} +.struts-checkboxErrorLabel {color:red; } +.struts-required {color:red;} +.struts-tdLabel {text-align:right; vertical-align:top; } -.tdTransferSelect {text-align:center; vertical-align:middle;} -.tdLabelTop {text-align:left; vertical-align:top;} -.tdCheckboxLabel {text-align:right; vertical-align:top;} -.tdCheckboxInput {text-align:left; vertical-align:top;} -.tdCheckboxErrorMessage {text-align:left; vertical-align:top;} -.tdErrorMessage {text-align:center; vertical-align:top;} -.formButton {text-align:right;} +.struts-tdTransferSelect {text-align:center; vertical-align:middle;} +.struts-tdLabelTop {text-align:left; vertical-align:top;} +.struts-tdCheckboxLabel {text-align:right; vertical-align:top;} +.struts-tdCheckboxInput {text-align:left; vertical-align:top;} +.struts-tdCheckboxErrorMessage {text-align:left; vertical-align:top;} +.struts-tdErrorMessage {text-align:center; vertical-align:top;} +.struts-formButton {text-align:right;} diff --git a/core/src/main/resources/template/xhtml/submit.ftl b/core/src/main/resources/template/xhtml/submit.ftl index 989e816560..a5c294792f 100644 --- a/core/src/main/resources/template/xhtml/submit.ftl +++ b/core/src/main/resources/template/xhtml/submit.ftl @@ -21,5 +21,5 @@ */ -->
<#t/> +
<#t/> <#include "/${parameters.templateDir}/simple/submit.ftl" /> diff --git a/core/src/main/resources/template/xhtml/validation.js b/core/src/main/resources/template/xhtml/validation.js index feb1a9d143..5600ec87c3 100644 --- a/core/src/main/resources/template/xhtml/validation.js +++ b/core/src/main/resources/template/xhtml/validation.js @@ -109,10 +109,10 @@ function addErrorXHTML(e, errorText) { var tr = document.createElement("tr"); var td = document.createElement("td"); var span = document.createElement("span"); - td.className = "tdErrorMessage"; + td.className = "struts-tdErrorMessage"; td.colSpan = 2; - span.setAttribute("class", "errorMessage"); - span.setAttribute("className", "errorMessage"); //ie hack cause ie does not support setAttribute + span.setAttribute("class", "struts-errorMessage"); + span.setAttribute("className", "struts-errorMessage"); //ie hack cause ie does not support setAttribute span.appendChild(error); td.appendChild(span); tr.appendChild(td); @@ -124,8 +124,8 @@ function addErrorXHTML(e, errorText) { var labelRow = row.cells.length > 1 ? row : StrutsUtils.previousElement(tr, "tr"); var label = labelRow.cells[0].getElementsByTagName("label")[0]; if (label) { - label.setAttribute("class", "errorLabel"); - label.setAttribute("className", "errorLabel"); //ie hack cause ie does not support setAttribute + label.setAttribute("class", "struts-errorLabel"); + label.setAttribute("className", "struts-errorLabel"); //ie hack cause ie does not support setAttribute } } catch (err) { alert(err); diff --git a/core/src/test/java/org/apache/struts2/views/jsp/ui/ActionErrorTagTest.java b/core/src/test/java/org/apache/struts2/views/jsp/ui/ActionErrorTagTest.java index 6b467e0615..7115f22cb9 100644 --- a/core/src/test/java/org/apache/struts2/views/jsp/ui/ActionErrorTagTest.java +++ b/core/src/test/java/org/apache/struts2/views/jsp/ui/ActionErrorTagTest.java @@ -64,7 +64,7 @@ public void testActionErrorsEscape() throws Exception { tag.doStartTag(); tag.doEndTag(); - assertEquals(normalize("
  • <p>hey</p>
", true), + assertEquals(normalize("
  • <p>hey</p>
", true), normalize(writer.toString(), true)); } @@ -80,7 +80,7 @@ public void testActionErrorsDontEscape() throws Exception { tag.doStartTag(); tag.doEndTag(); - assertEquals(normalize("
  • hey

", true), + assertEquals(normalize("
  • hey

", true), normalize(writer.toString(), true)); } diff --git a/core/src/test/java/org/apache/struts2/views/jsp/ui/FieldErrorTagTest.java b/core/src/test/java/org/apache/struts2/views/jsp/ui/FieldErrorTagTest.java index 50f5cb72c4..fb5a33dcb2 100644 --- a/core/src/test/java/org/apache/struts2/views/jsp/ui/FieldErrorTagTest.java +++ b/core/src/test/java/org/apache/struts2/views/jsp/ui/FieldErrorTagTest.java @@ -73,7 +73,7 @@ public void testFieldErrorsEscape() throws Exception { tag.doStartTag(); tag.doEndTag(); - assertEquals(normalize("
  • <p>hey</p>
", true), + assertEquals(normalize("
  • <p>hey</p>
", true), normalize(writer.toString(), true)); } @@ -89,7 +89,7 @@ public void testFieldErrorsDontEscape() throws Exception { tag.doStartTag(); tag.doEndTag(); - assertEquals(normalize("
  • hey

", true), + assertEquals(normalize("
  • hey

", true), normalize(writer.toString(), true)); } diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-1.txt index b746088d27..b8dfc96724 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Checkbox-1.txt @@ -1,9 +1,9 @@
+ + - +
+ + - +
Some Foo ErrorSome Foo Error
Another Foo ErrorAnother Foo Error
+ + - +
Some Foo ErrorSome Foo Error
Another Foo ErrorAnother Foo Error
+ + - +
- +
- + + +
+ + - +
- + - + - +
- + - + - +
- + - + - +
- + - +
- - +
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-12.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-12.txt index 2fcdd8a8fa..d881948ef9 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-12.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-12.txt @@ -1,5 +1,5 @@ - +
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-13.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-13.txt index 418ab66cc3..2a876bd540 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-13.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-13.txt @@ -1,4 +1,4 @@
- +
\ No newline at end of file diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-14.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-14.txt index 842c9d8968..af55406e90 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-14.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-14.txt @@ -1,4 +1,4 @@
- +
\ No newline at end of file diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt index 8cd21021ec..7b31cc6087 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt @@ -1,8 +1,8 @@
- - +
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt index ab2a1ee586..7eb92e9e4a 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt @@ -1,8 +1,8 @@ - - +
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-23.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-23.txt index 250bc678a3..b6fe439bf4 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-23.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-23.txt @@ -1,4 +1,4 @@ - +
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-24.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-24.txt index afbd0491dd..31c13235d0 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-24.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-24.txt @@ -1,8 +1,8 @@
- - +
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-25.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-25.txt index 26a8276642..68dc4ef0e2 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-25.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-25.txt @@ -1,4 +1,4 @@ - +
\ No newline at end of file diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-26.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-26.txt index bb9d66a228..c6549f1767 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-26.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-26.txt @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-27.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-27.txt index a9b92445ca..d513c83a07 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-27.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-27.txt @@ -1,7 +1,7 @@
- +
- + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-28.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-28.txt index 70f3e06c5d..decb18e23b 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-28.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-28.txt @@ -1,7 +1,7 @@
- +

diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-3.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-3.txt index 790d1ec20b..e0f021e185 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-3.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-3.txt @@ -1,4 +1,4 @@ -
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-4.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-4.txt index 35c1895d74..75846d1eed 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-4.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-4.txt @@ -1,4 +1,4 @@
- +
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-5.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-5.txt index 68fde68bc2..7c00ddfa20 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-5.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-5.txt @@ -1,4 +1,4 @@
- +
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-6.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-6.txt index 3487b33703..c17cec7ad3 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-6.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-6.txt @@ -1,6 +1,6 @@
- - +
+
- + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-2.txt index f4859443c9..6ebc01436a 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-2.txt @@ -1,4 +1,4 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-3.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-3.txt index d66737f62d..ce02a0dc09 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-3.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-3.txt @@ -1,5 +1,5 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-4.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-4.txt index b190ae5238..82af84d72c 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-4.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-4.txt @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-5.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-5.txt index 17addde782..b0f1db3efa 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-5.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-5.txt @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/OptGroup-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/OptGroup-1.txt index 6865d239d2..7928d8afd2 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/OptGroup-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/OptGroup-1.txt @@ -1,5 +1,5 @@ - + - + - + - + - + - + - + - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-1.txt index 0a42dea3da..48613e6705 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-1.txt @@ -1,5 +1,5 @@ - + - + - + - + - + - + - + - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-2.txt index 2344fec7ae..727d317299 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-2.txt @@ -1,3 +1,3 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-3.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-3.txt index a9f63c05f5..ccfa4e8b04 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-3.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-3.txt @@ -1,3 +1,3 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-4.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-4.txt index 31707b3269..d87ae135ca 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-4.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-4.txt @@ -1,3 +1,3 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-5.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-5.txt index c94fd1d94e..641d740535 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-5.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-5.txt @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-6.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-6.txt index 6e1526bf67..19b838246f 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-6.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-6.txt @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Select-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Select-1.txt index 7bf1ba537e..b0a0eb6540 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Select-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Select-1.txt @@ -1,5 +1,5 @@ - + - + - + - + - + - + - + - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Select-5.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Select-5.txt index 5766f391dd..62f595d980 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Select-5.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Select-5.txt @@ -1,5 +1,5 @@ - + - + - + - + - + - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-2.txt index 36b1554f55..1af5bb80a0 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-2.txt @@ -1,3 +1,3 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-3.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-3.txt index 92fed2bd2b..693522db60 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-3.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-3.txt @@ -1,3 +1,3 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-4.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-4.txt index c70f19f080..5224430189 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-4.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-4.txt @@ -1,3 +1,3 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-5.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-5.txt index d83c44fcf0..a6bfa013e8 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-5.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-5.txt @@ -1,3 +1,3 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-6.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-6.txt index 9cd5d0246d..d7bdd696c3 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-6.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Submit-6.txt @@ -1,3 +1,3 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textarea-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textarea-1.txt index 5c38c5b3ef..0c3218b732 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textarea-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textarea-1.txt @@ -1,4 +1,4 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-1.txt index 40dfacf63e..4c8ccf2f25 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-1.txt @@ -1,4 +1,4 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-10.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-10.txt index 448048fa20..e65f800639 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-10.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-10.txt @@ -1,12 +1,12 @@
- +

-
barerrormessage
+
barerrormessage
\ No newline at end of file diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-11.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-11.txt index 4687d5355b..8fc4bacf43 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-11.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-11.txt @@ -1,9 +1,9 @@
-
barerrormessage
+
barerrormessage
- +

diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-2.txt index fc370890b7..cf4c4ae66a 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-2.txt @@ -1,7 +1,7 @@
- + - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-3.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-3.txt index c90ae3687a..fcfa6921cc 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-3.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-3.txt @@ -1,4 +1,4 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-4.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-4.txt index cb24f04eee..0619a8db74 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-4.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-4.txt @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-5.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-5.txt index 5dfc6245e8..f684d0665a 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-5.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-5.txt @@ -1,4 +1,4 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-6.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-6.txt index e6ecb5cec6..d081d36759 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-6.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-6.txt @@ -1,4 +1,4 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-7.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-7.txt index 45d4ffba82..a2a85cfe94 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-7.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-7.txt @@ -1,4 +1,4 @@ - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-8.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-8.txt index b3e3addc91..c495b93686 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-8.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-8.txt @@ -1,13 +1,13 @@ - - \ No newline at end of file diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-9.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-9.txt index a0cb054490..12411f4334 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-9.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-9.txt @@ -1,11 +1,11 @@ - - - +
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-7.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-7.txt index 0fb96c8757..4cea239463 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-7.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-7.txt @@ -1,4 +1,4 @@ - +
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-8.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-8.txt index 68fde68bc2..7c00ddfa20 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-8.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-8.txt @@ -1,4 +1,4 @@
- +
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-9.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-9.txt index 81b9754f2e..45ffdd1915 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-9.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-9.txt @@ -1,4 +1,4 @@
- +
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-1.txt index f96bc1c4a1..ddfdba5269 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Label-1.txt @@ -1,4 +1,4 @@
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-2.txt index aa82dff9a8..4623bde132 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-2.txt @@ -1,5 +1,5 @@
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-3.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-3.txt index 746e04467d..3f0bcba5df 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-3.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-3.txt @@ -1,5 +1,5 @@
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-4.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-4.txt index 1ac889aa53..510c604d95 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-4.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-4.txt @@ -1,5 +1,5 @@
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-5.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-5.txt index ca0e82e088..ed2e56d114 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-5.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-5.txt @@ -1,5 +1,5 @@
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-6.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-6.txt index d58184796a..0e4d07c47c 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-6.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-6.txt @@ -1,5 +1,5 @@
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-7.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-7.txt index b1f903e0f1..5cea2c90f5 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-7.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Radio-7.txt @@ -1,5 +1,5 @@
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-1.txt index 699faf7013..8306e0a714 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Reset-1.txt @@ -1,3 +1,3 @@
bar error messagebar error message
- + +
- + +
- barerrormessage + + barerrormessage
- barerrormessage + + barerrormessage
- mylabel: + + mylabel: diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/actionerror-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/actionerror-2.txt index 27d1834636..bf7cf55ae4 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/actionerror-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/actionerror-2.txt @@ -1,4 +1,4 @@ -
    +
    • action error number 1
    • action error number 2
    • action error number 3
    • diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-1.txt index eeb5239f71..6781eb5f7c 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-1.txt @@ -1,4 +1,4 @@ -
        +
        • field error message number 1
        • field error message number 2
        • field error message number 3
        • diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-3.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-3.txt index af4f93104e..f1e829edf2 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-3.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-3.txt @@ -1,4 +1,4 @@ -
            +
            • field error message number 1
            • field error message number 3
            diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-4.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-4.txt index 77f669c172..65c74b58a5 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-4.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-4.txt @@ -1,4 +1,4 @@ -
              +
              • field error message number 1
              • field error message number 2
              diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-5.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-5.txt index 2c3d42a093..7c568c2fa8 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-5.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-5.txt @@ -1,3 +1,3 @@ -
                +
                • field error message number 2
                diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-6.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-6.txt index 005578301e..288d7eda8d 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-6.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/fielderror-6.txt @@ -1,3 +1,3 @@ -
                  +
                  • field error message number 1
                  \ No newline at end of file diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/inputtransferselect-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/inputtransferselect-1.txt index 47324f3471..6dbadc5983 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/inputtransferselect-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/inputtransferselect-1.txt @@ -1,10 +1,10 @@
- - +
+



diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/optiontransferselect-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/optiontransferselect-1.txt index be8fd8fced..894eb191e8 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/optiontransferselect-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/optiontransferselect-1.txt @@ -1,5 +1,5 @@
@@ -16,7 +16,7 @@ - +
+

-
@@ -17,7 +17,7 @@ - +
+

-
@@ -16,7 +16,7 @@ - +
+

-
@@ -17,7 +17,7 @@ - +
+

-
@@ -16,7 +16,7 @@ - +
+

-
@@ -17,7 +17,7 @@ - +
+

-
@@ -17,7 +17,7 @@ - - - - -
+

- +
- + + MyLabel: diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/tooltip-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/tooltip-2.txt index 8c7d2fe327..67bc08b74f 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/tooltip-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/tooltip-2.txt @@ -1,8 +1,8 @@
- +
- + + MyLabel: diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/tooltip-3.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/tooltip-3.txt index a8871b6a68..94c2a43ff4 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/tooltip-3.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/tooltip-3.txt @@ -1,8 +1,8 @@ - +
- + + MyLabel: diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/tooltip-4.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/tooltip-4.txt index 36cb71127c..bffa2bcc68 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/tooltip-4.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/tooltip-4.txt @@ -1,8 +1,8 @@ - +
- + + MyLabel:myTooltip diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-1.txt index 1781a6edc6..f65130481a 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-1.txt @@ -1,4 +1,4 @@ -
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-10.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-10.txt index 02dc6af745..5d50a4ef09 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-10.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-10.txt @@ -1,4 +1,4 @@ -
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-11.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-11.txt index cbcb6da1e8..771efc20d5 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-11.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-11.txt @@ -1,4 +1,4 @@ -
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-2.txt index 8409926825..1f5f98aca8 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-2.txt @@ -1,4 +1,4 @@ -
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-3.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-3.txt index 6882b436d8..8c560a06ea 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-3.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-3.txt @@ -1,4 +1,4 @@ -
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-4.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-4.txt index 8f95fa6ee5..36041b8f6c 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-4.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-4.txt @@ -1,4 +1,4 @@ -
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-5.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-5.txt index d8d80a4434..5e9813b1ca 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-5.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-5.txt @@ -1,4 +1,4 @@ -
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-6.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-6.txt index 16a2760f76..fa2dba3070 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-6.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-6.txt @@ -1,4 +1,4 @@ -
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-7.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-7.txt index 863b1346d7..367fc6d655 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-7.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-7.txt @@ -1,4 +1,4 @@ -
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-8.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-8.txt index b3d73dae64..9d1588fa46 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-8.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-8.txt @@ -1,4 +1,4 @@ -
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-9.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-9.txt index 9a3dc0c9bf..3814f42435 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-9.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/updownselecttag-9.txt @@ -1,4 +1,4 @@ -
+
- + - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/validationstyles-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/validationstyles-2.txt index e965d43227..899a2a5aae 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/validationstyles-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/validationstyles-2.txt @@ -1,7 +1,7 @@ - + - + diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/validationstyles-3.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/validationstyles-3.txt index 67d52b2479..cb3908c15a 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/validationstyles-3.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/validationstyles-3.txt @@ -1,7 +1,7 @@ - + - +
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/validationstyles-1.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/validationstyles-1.txt index 57bfbf69f2..43e8f53882 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/validationstyles-1.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/validationstyles-1.txt @@ -1,7 +1,7 @@
bar error messagebar error message
bar error messagebar error message
bar error messagebar error message