diff --git a/core/src/main/java/org/apache/struts2/components/UIBean.java b/core/src/main/java/org/apache/struts2/components/UIBean.java
index 4a4b5eb2b..057a64f90 100644
--- a/core/src/main/java/org/apache/struts2/components/UIBean.java
+++ b/core/src/main/java/org/apache/struts2/components/UIBean.java
@@ -1073,12 +1073,6 @@ public abstract class UIBean extends Component {
this.cssClass = cssClass;
}
- @Deprecated
- @StrutsTagAttribute(description="(Deprecated) The css class to use for element - it's an alias of cssClass attribute.")
- public void setClass(String cssClass) {
- this.cssClass = cssClass;
- }
-
@StrutsTagAttribute(description="The css style definitions for element to use")
public void setCssStyle(String cssStyle) {
this.cssStyle = cssStyle;
diff --git a/core/src/site/resources/tags/a-attributes.html b/core/src/site/resources/tags/a-attributes.html
index e9fd9089c..904f9f6e8 100644
--- a/core/src/site/resources/tags/a-attributes.html
+++ b/core/src/site/resources/tags/a-attributes.html
@@ -37,14 +37,6 @@
String |
The anchor for this URL |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/actionerror-attributes.html b/core/src/site/resources/tags/actionerror-attributes.html
index 4d59c5fe1..4024c1a6f 100644
--- a/core/src/site/resources/tags/actionerror-attributes.html
+++ b/core/src/site/resources/tags/actionerror-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/actionmessage-attributes.html b/core/src/site/resources/tags/actionmessage-attributes.html
index c00042bc1..f63c149ee 100644
--- a/core/src/site/resources/tags/actionmessage-attributes.html
+++ b/core/src/site/resources/tags/actionmessage-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/checkbox-attributes.html b/core/src/site/resources/tags/checkbox-attributes.html
index 23bc4b205..a5ea75d57 100644
--- a/core/src/site/resources/tags/checkbox-attributes.html
+++ b/core/src/site/resources/tags/checkbox-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/checkboxlist-attributes.html b/core/src/site/resources/tags/checkboxlist-attributes.html
index e75143e02..4de7aae95 100644
--- a/core/src/site/resources/tags/checkboxlist-attributes.html
+++ b/core/src/site/resources/tags/checkboxlist-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/combobox-attributes.html b/core/src/site/resources/tags/combobox-attributes.html
index c1c6454b3..fee13f3b9 100644
--- a/core/src/site/resources/tags/combobox-attributes.html
+++ b/core/src/site/resources/tags/combobox-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/component-attributes.html b/core/src/site/resources/tags/component-attributes.html
index d11ee7ece..a878f240a 100644
--- a/core/src/site/resources/tags/component-attributes.html
+++ b/core/src/site/resources/tags/component-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/datetextfield-attributes.html b/core/src/site/resources/tags/datetextfield-attributes.html
index 066ab75db..d4f2f3e99 100644
--- a/core/src/site/resources/tags/datetextfield-attributes.html
+++ b/core/src/site/resources/tags/datetextfield-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/debug-attributes.html b/core/src/site/resources/tags/debug-attributes.html
index d11ee7ece..a878f240a 100644
--- a/core/src/site/resources/tags/debug-attributes.html
+++ b/core/src/site/resources/tags/debug-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/doubleselect-attributes.html b/core/src/site/resources/tags/doubleselect-attributes.html
index de13fdd73..11c7c62cc 100644
--- a/core/src/site/resources/tags/doubleselect-attributes.html
+++ b/core/src/site/resources/tags/doubleselect-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/fielderror-attributes.html b/core/src/site/resources/tags/fielderror-attributes.html
index 8e1b52154..46a2fa25e 100644
--- a/core/src/site/resources/tags/fielderror-attributes.html
+++ b/core/src/site/resources/tags/fielderror-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/file-attributes.html b/core/src/site/resources/tags/file-attributes.html
index f456771ea..a39bdda4f 100644
--- a/core/src/site/resources/tags/file-attributes.html
+++ b/core/src/site/resources/tags/file-attributes.html
@@ -29,14 +29,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/form-attributes.html b/core/src/site/resources/tags/form-attributes.html
index 46784d5e3..45aeddd31 100644
--- a/core/src/site/resources/tags/form-attributes.html
+++ b/core/src/site/resources/tags/form-attributes.html
@@ -37,14 +37,6 @@
String |
Set action name to submit to, without .action suffix |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/head-attributes.html b/core/src/site/resources/tags/head-attributes.html
index 4a93dab0f..fc840dd6d 100644
--- a/core/src/site/resources/tags/head-attributes.html
+++ b/core/src/site/resources/tags/head-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/hidden-attributes.html b/core/src/site/resources/tags/hidden-attributes.html
index 4a93dab0f..fc840dd6d 100644
--- a/core/src/site/resources/tags/hidden-attributes.html
+++ b/core/src/site/resources/tags/hidden-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/inputtransferselect-attributes.html b/core/src/site/resources/tags/inputtransferselect-attributes.html
index 1160bc9f5..2ca7df965 100644
--- a/core/src/site/resources/tags/inputtransferselect-attributes.html
+++ b/core/src/site/resources/tags/inputtransferselect-attributes.html
@@ -61,14 +61,6 @@
String |
the css style used for rendering buttons |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/label-attributes.html b/core/src/site/resources/tags/label-attributes.html
index 440ce9b72..df79480ee 100644
--- a/core/src/site/resources/tags/label-attributes.html
+++ b/core/src/site/resources/tags/label-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/link-attributes.html b/core/src/site/resources/tags/link-attributes.html
index 668f893e4..7d52086e2 100644
--- a/core/src/site/resources/tags/link-attributes.html
+++ b/core/src/site/resources/tags/link-attributes.html
@@ -29,14 +29,6 @@
String |
HTML link as attribute |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| crossorigin |
false |
diff --git a/core/src/site/resources/tags/optiontransferselect-attributes.html b/core/src/site/resources/tags/optiontransferselect-attributes.html
index 074624e1e..0f0284745 100644
--- a/core/src/site/resources/tags/optiontransferselect-attributes.html
+++ b/core/src/site/resources/tags/optiontransferselect-attributes.html
@@ -157,14 +157,6 @@
String |
Set button css style |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/password-attributes.html b/core/src/site/resources/tags/password-attributes.html
index 7fd3e771d..d2a57c24f 100644
--- a/core/src/site/resources/tags/password-attributes.html
+++ b/core/src/site/resources/tags/password-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/radio-attributes.html b/core/src/site/resources/tags/radio-attributes.html
index e75143e02..4de7aae95 100644
--- a/core/src/site/resources/tags/radio-attributes.html
+++ b/core/src/site/resources/tags/radio-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/reset-attributes.html b/core/src/site/resources/tags/reset-attributes.html
index e002708da..4a6348a18 100644
--- a/core/src/site/resources/tags/reset-attributes.html
+++ b/core/src/site/resources/tags/reset-attributes.html
@@ -29,14 +29,6 @@
String |
Set action attribute. |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/script-attributes.html b/core/src/site/resources/tags/script-attributes.html
index 452acb390..80a15c1e6 100644
--- a/core/src/site/resources/tags/script-attributes.html
+++ b/core/src/site/resources/tags/script-attributes.html
@@ -37,14 +37,6 @@
String |
HTML script charset attribute |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| crossorigin |
false |
diff --git a/core/src/site/resources/tags/select-attributes.html b/core/src/site/resources/tags/select-attributes.html
index 75cbba6cb..09cf40fa8 100644
--- a/core/src/site/resources/tags/select-attributes.html
+++ b/core/src/site/resources/tags/select-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/submit-attributes.html b/core/src/site/resources/tags/submit-attributes.html
index 52ed55ad0..4e8cdb788 100644
--- a/core/src/site/resources/tags/submit-attributes.html
+++ b/core/src/site/resources/tags/submit-attributes.html
@@ -29,14 +29,6 @@
String |
Set action attribute. |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/textarea-attributes.html b/core/src/site/resources/tags/textarea-attributes.html
index 60119551d..c92033d67 100644
--- a/core/src/site/resources/tags/textarea-attributes.html
+++ b/core/src/site/resources/tags/textarea-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cols |
false |
diff --git a/core/src/site/resources/tags/textfield-attributes.html b/core/src/site/resources/tags/textfield-attributes.html
index 194e76874..85a202ac4 100644
--- a/core/src/site/resources/tags/textfield-attributes.html
+++ b/core/src/site/resources/tags/textfield-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/token-attributes.html b/core/src/site/resources/tags/token-attributes.html
index d11ee7ece..a878f240a 100644
--- a/core/src/site/resources/tags/token-attributes.html
+++ b/core/src/site/resources/tags/token-attributes.html
@@ -21,14 +21,6 @@
String |
Set the html accesskey attribute on rendered html element |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/site/resources/tags/updownselect-attributes.html b/core/src/site/resources/tags/updownselect-attributes.html
index 94b2d3099..13a9a5e7d 100644
--- a/core/src/site/resources/tags/updownselect-attributes.html
+++ b/core/src/site/resources/tags/updownselect-attributes.html
@@ -45,14 +45,6 @@
Boolean |
Whether or not select all button should be displayed |
-
- | class |
- false |
- |
- false |
- String |
- (Deprecated) The css class to use for element - it's an alias of cssClass attribute. |
-
| cssClass |
false |
diff --git a/core/src/test/java/org/apache/struts2/components/UIBeanTest.java b/core/src/test/java/org/apache/struts2/components/UIBeanTest.java
index 90575f341..b1f2bcc10 100644
--- a/core/src/test/java/org/apache/struts2/components/UIBeanTest.java
+++ b/core/src/test/java/org/apache/struts2/components/UIBeanTest.java
@@ -196,7 +196,7 @@ public class UIBeanTest extends StrutsInternalTestCase {
MockHttpServletResponse res = new MockHttpServletResponse();
TextField txtFld = new TextField(stack, req, res);
-
+
Template defaultTemplate = txtFld.buildTemplateName(null, defaultTemplateName);
Template customTemplate = txtFld.buildTemplateName(customTemplateName, defaultTemplateName);
@@ -360,7 +360,7 @@ public class UIBeanTest extends StrutsInternalTestCase {
MockHttpServletResponse res = new MockHttpServletResponse();
TextField txtFld = new TextField(stack, req, res);
- txtFld.setClass(cssClass);
+ txtFld.setCssClass(cssClass);
txtFld.evaluateParams();
assertEquals(cssClass, txtFld.getParameters().get("cssClass"));