You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2021/09/24 13:55:25 UTC

[struts] branch master updated (e681d53 -> 4cc23cc)

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git.


    from e681d53  Merge pull request #498 from sdutry/WW-5064
     new 173338a  Adds missing AL header
     new 9911707  Uses StringBuffer instead of StringBuilder
     new 4cc23cc  Adds autogenerated files

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../xwork2/config/impl/AbstractMatcher.java        | 77 +++++++++++-----------
 core/src/site/resources/tags/a-attributes.html     |  2 +-
 .../resources/tags/actionerror-attributes.html     |  2 +-
 .../resources/tags/actionmessage-attributes.html   |  2 +-
 .../site/resources/tags/checkbox-attributes.html   |  2 +-
 .../resources/tags/checkboxlist-attributes.html    |  2 +-
 .../site/resources/tags/combobox-attributes.html   |  2 +-
 .../site/resources/tags/component-attributes.html  |  2 +-
 .../resources/tags/datetextfield-attributes.html   |  2 +-
 core/src/site/resources/tags/debug-attributes.html |  2 +-
 .../resources/tags/doubleselect-attributes.html    |  2 +-
 .../site/resources/tags/fielderror-attributes.html |  2 +-
 core/src/site/resources/tags/file-attributes.html  |  2 +-
 core/src/site/resources/tags/form-attributes.html  |  2 +-
 core/src/site/resources/tags/head-attributes.html  |  2 +-
 .../src/site/resources/tags/hidden-attributes.html |  2 +-
 .../tags/inputtransferselect-attributes.html       |  2 +-
 core/src/site/resources/tags/label-attributes.html |  2 +-
 core/src/site/resources/tags/link-attributes.html  |  2 +-
 .../tags/optiontransferselect-attributes.html      |  2 +-
 .../site/resources/tags/password-attributes.html   |  2 +-
 core/src/site/resources/tags/radio-attributes.html |  2 +-
 core/src/site/resources/tags/reset-attributes.html |  2 +-
 .../src/site/resources/tags/script-attributes.html |  2 +-
 .../src/site/resources/tags/select-attributes.html |  2 +-
 .../src/site/resources/tags/submit-attributes.html |  2 +-
 .../site/resources/tags/textarea-attributes.html   |  2 +-
 .../site/resources/tags/textfield-attributes.html  |  2 +-
 core/src/site/resources/tags/token-attributes.html |  2 +-
 .../resources/tags/updownselect-attributes.html    |  2 +-
 .../xwork2/config/impl/AbstractMatcherTest.java    | 76 +++++++++++++--------
 .../xwork2/util/DummyObjectFactory.java            | 18 +++++
 32 files changed, 131 insertions(+), 98 deletions(-)

[struts] 01/03: Adds missing AL header

Posted by lu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 173338a444a5926ed96eb7a5e1d97ce2f0780b09
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Fri Sep 24 15:54:34 2021 +0200

    Adds missing AL header
---
 .../xwork2/config/impl/AbstractMatcherTest.java    | 76 +++++++++++++---------
 .../xwork2/util/DummyObjectFactory.java            | 18 +++++
 2 files changed, 65 insertions(+), 29 deletions(-)

diff --git a/core/src/test/java/com/opensymphony/xwork2/config/impl/AbstractMatcherTest.java b/core/src/test/java/com/opensymphony/xwork2/config/impl/AbstractMatcherTest.java
index 4686b66..09af02d 100644
--- a/core/src/test/java/com/opensymphony/xwork2/config/impl/AbstractMatcherTest.java
+++ b/core/src/test/java/com/opensymphony/xwork2/config/impl/AbstractMatcherTest.java
@@ -1,39 +1,57 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package com.opensymphony.xwork2.config.impl;
 
+import junit.framework.TestCase;
+
 import java.util.HashMap;
 import java.util.Map;
 
-import junit.framework.TestCase;
-
 public class AbstractMatcherTest extends TestCase {
-	@SuppressWarnings({ "serial", "rawtypes" })
-	private class AbstractMatcherImpl extends AbstractMatcher {
-		@SuppressWarnings({ "unchecked" })
-		public AbstractMatcherImpl() {
-			super(null, false);
-		}
+    @SuppressWarnings({"serial", "rawtypes"})
+    private class AbstractMatcherImpl extends AbstractMatcher {
+        @SuppressWarnings({"unchecked"})
+        public AbstractMatcherImpl() {
+            super(null, false);
+        }
 
-		@Override
-		protected Object convert(String path, Object orig, Map vars) {
-			return null;
-		}
-	}
+        @Override
+        protected Object convert(String path, Object orig, Map vars) {
+            return null;
+        }
+    }
 
-	public void testConvertParam() {
-		AbstractMatcher<?> matcher = new AbstractMatcherImpl();
-		Map<String, String> replacements = new HashMap<>();
-		replacements.put("x", "something");
-		replacements.put("y", "else");
+    public void testConvertParam() {
+        AbstractMatcher<?> matcher = new AbstractMatcherImpl();
+        Map<String, String> replacements = new HashMap<>();
+        replacements.put("x", "something");
+        replacements.put("y", "else");
 
-		assertEquals("should return the original input", "blablablabla",
-				matcher.convertParam("blablablabla", replacements));
-		assertEquals("should replace x", "blasomethingblablabla",
-				matcher.convertParam("bla{x}blablabla", replacements));
-		assertEquals("should replace unknown values with empty string", "blablablabla",
-				matcher.convertParam("bla{z}blablabla", replacements));
-		assertEquals("should replace all occurrences, no mapping", "blasomethingblasomethingblabla",
-				matcher.convertParam("bla{x}bla{x}blabla", replacements));
-		assertEquals("should work for multiple different replacements", "blasomethingblaelseblabla",
-				matcher.convertParam("bla{x}bla{y}bla{z}bla", replacements));
-	}
+        assertEquals("should return the original input", "blablablabla",
+            matcher.convertParam("blablablabla", replacements));
+        assertEquals("should replace x", "blasomethingblablabla",
+            matcher.convertParam("bla{x}blablabla", replacements));
+        assertEquals("should replace unknown values with empty string", "blablablabla",
+            matcher.convertParam("bla{z}blablabla", replacements));
+        assertEquals("should replace all occurrences, no mapping", "blasomethingblasomethingblabla",
+            matcher.convertParam("bla{x}bla{x}blabla", replacements));
+        assertEquals("should work for multiple different replacements", "blasomethingblaelseblabla",
+            matcher.convertParam("bla{x}bla{y}bla{z}bla", replacements));
+    }
 }
diff --git a/core/src/test/java/com/opensymphony/xwork2/util/DummyObjectFactory.java b/core/src/test/java/com/opensymphony/xwork2/util/DummyObjectFactory.java
index 19c2254..3c48e4c 100644
--- a/core/src/test/java/com/opensymphony/xwork2/util/DummyObjectFactory.java
+++ b/core/src/test/java/com/opensymphony/xwork2/util/DummyObjectFactory.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package com.opensymphony.xwork2.util;
 
 import com.opensymphony.xwork2.ObjectFactory;

[struts] 02/03: Uses StringBuffer instead of StringBuilder

Posted by lu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 991170716ad32bc65505d562472afda95092ddf0
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Fri Sep 24 15:55:10 2021 +0200

    Uses StringBuffer instead of StringBuilder
---
 .../xwork2/config/impl/AbstractMatcher.java        | 77 +++++++++++-----------
 1 file changed, 37 insertions(+), 40 deletions(-)

diff --git a/core/src/main/java/com/opensymphony/xwork2/config/impl/AbstractMatcher.java b/core/src/main/java/com/opensymphony/xwork2/config/impl/AbstractMatcher.java
index 509f851..0b95367 100644
--- a/core/src/main/java/com/opensymphony/xwork2/config/impl/AbstractMatcher.java
+++ b/core/src/main/java/com/opensymphony/xwork2/config/impl/AbstractMatcher.java
@@ -19,7 +19,6 @@
 package com.opensymphony.xwork2.config.impl;
 
 import com.opensymphony.xwork2.util.PatternMatcher;
-
 import org.apache.commons.lang3.math.NumberUtils;
 import org.apache.logging.log4j.LogManager;
 import org.apache.logging.log4j.Logger;
@@ -36,16 +35,16 @@ import java.util.regex.Pattern;
 /**
  * <p> Matches patterns against pre-compiled wildcard expressions pulled from
  * target objects. It uses the wildcard matcher from the Apache Cocoon
- * project. Patterns will be matched in the order they were added. The first 
- * match wins, so more specific patterns should be defined before less specific 
+ * project. Patterns will be matched in the order they were added. The first
+ * match wins, so more specific patterns should be defined before less specific
  * patterns.
- * 
+ *
  * @since 2.1
  */
 public abstract class AbstractMatcher<E> implements Serializable {
 
     private static final Logger LOG = LogManager.getLogger(AbstractMatcher.class);
-    private static final Pattern WILDCARD_PATTERN = Pattern.compile("\\{(.)\\}");
+    private static final Pattern WILDCARD_PATTERN = Pattern.compile("\\{(.)}");
 
     /**
      * <p> Handles all wildcard pattern matching. </p>
@@ -62,14 +61,14 @@ public abstract class AbstractMatcher<E> implements Serializable {
      * to the map in {@link #replaceParameters(Map, Map)}
      * and will be accessible in {@link com.opensymphony.xwork2.config.entities.ResultConfig}.
      * If set to false, the named parameters won't be appended.
-     *
+     * <p>
      * This behaviour is controlled by {@link org.apache.struts2.StrutsConstants#STRUTS_MATCHER_APPEND_NAMED_PARAMETERS}
      *
      * @since 2.5.23
      * See WW-5065
      */
     private final boolean appendNamedParameters;
-    
+
     public AbstractMatcher(PatternMatcher<?> helper, boolean appendNamedParameters) {
         this.wildcard = (PatternMatcher<Object>) helper;
         this.appendNamedParameters = appendNamedParameters;
@@ -92,18 +91,17 @@ public abstract class AbstractMatcher<E> implements Serializable {
      * in the order they were added. Only patterns that actually contain a
      * wildcard will be compiled.
      * </p>
-     * 
+     *
      * <p>
      * Patterns can optionally be matched "loosely". When the end of the pattern
      * matches \*[^*]\*$ (wildcard, no wildcard, wildcard), if the pattern
      * fails, it is also matched as if the last two characters didn't exist. The
      * goal is to support the legacy "*!*" syntax, where the "!*" is optional.
      * </p>
-     * 
-     * @param name The pattern
-     * @param target The object to associate with the pattern
-     * @param looseMatch
-     *            To loosely match wildcards or not
+     *
+     * @param name       The pattern
+     * @param target     The object to associate with the pattern
+     * @param looseMatch To loosely match wildcards or not
      */
     public void addPattern(String name, E target, boolean looseMatch) {
 
@@ -130,9 +128,9 @@ public abstract class AbstractMatcher<E> implements Serializable {
             }
         }
     }
-    
+
     public void freeze() {
-        compiledPatterns = Collections.unmodifiableList(new ArrayList<Mapping<E>>());
+        compiledPatterns = Collections.unmodifiableList(new ArrayList<>());
     }
 
     /**
@@ -147,7 +145,7 @@ public abstract class AbstractMatcher<E> implements Serializable {
         if (compiledPatterns.size() > 0) {
             LOG.debug("Attempting to match '{}' to a wildcard pattern, {} available", potentialMatch, compiledPatterns.size());
 
-            Map<String,String> vars = new LinkedHashMap<>();
+            Map<String, String> vars = new LinkedHashMap<>();
             for (Mapping<E> m : compiledPatterns) {
                 if (wildcard.match(vars, potentialMatch, m.getPattern())) {
                     LOG.debug("Value matches pattern '{}'", m.getOriginalPattern());
@@ -168,23 +166,22 @@ public abstract class AbstractMatcher<E> implements Serializable {
      * @param orig The original object
      * @param vars A Map of wildcard-matched strings
      * @return A cloned object with appropriate properties replaced with
-     *         wildcard-matched values
+     * wildcard-matched values
      */
     protected abstract E convert(String path, E orig, Map<String, String> vars);
 
     /**
      * <p>Replaces parameter values</p>
      *
-     * @param orig  The original parameters with placeholder values
-     * @param vars  A Map of wildcard-matched strings
-     *
+     * @param orig The original parameters with placeholder values
+     * @param vars A Map of wildcard-matched strings
      * @return map with replaced parameters
      */
-    protected Map<String,String> replaceParameters(Map<String, String> orig, Map<String,String> vars) {
+    protected Map<String, String> replaceParameters(Map<String, String> orig, Map<String, String> vars) {
         Map<String, String> map = new LinkedHashMap<>();
 
         //this will set the group index references, like {1}
-        for (Map.Entry<String,String> entry : orig.entrySet()) {
+        for (Map.Entry<String, String> entry : orig.entrySet()) {
             map.put(entry.getKey(), convertParam(entry.getValue(), vars));
         }
 
@@ -192,7 +189,7 @@ public abstract class AbstractMatcher<E> implements Serializable {
             LOG.debug("Appending named parameters to the result map");
             //the values map will contain entries like name->"Lex Luthor" and 1->"Lex Luthor"
             //now add the non-numeric values
-            for (Map.Entry<String,String> entry: vars.entrySet()) {
+            for (Map.Entry<String, String> entry : vars.entrySet()) {
                 if (!NumberUtils.isCreatable(entry.getKey())) {
                     map.put(entry.getKey(), entry.getValue());
                 }
@@ -205,28 +202,28 @@ public abstract class AbstractMatcher<E> implements Serializable {
     /**
      * <p> Inserts into a value wildcard-matched strings where specified
      * with the {x} syntax.  If a wildcard-matched value isn't found, the
-     * replacement token is turned into an empty string. 
+     * replacement token is turned into an empty string.
      * </p>
      *
      * @param val  The value to convert
      * @param vars A Map of wildcard-matched strings
      * @return The new value
      */
-	protected String convertParam(String val, Map<String, String> vars) {
-		if (val == null) {
-			return null;
-		}
+    protected String convertParam(String val, Map<String, String> vars) {
+        if (val == null) {
+            return null;
+        }
 
-		Matcher wildcardMatcher = WILDCARD_PATTERN.matcher(val);
+        Matcher wildcardMatcher = WILDCARD_PATTERN.matcher(val);
 
-		StringBuilder result = new StringBuilder();
-		while (wildcardMatcher.find()) {
-			wildcardMatcher.appendReplacement(result, vars.getOrDefault(wildcardMatcher.group(1), ""));
-		}
-		wildcardMatcher.appendTail(result);
+        StringBuffer result = new StringBuffer();
+        while (wildcardMatcher.find()) {
+            wildcardMatcher.appendReplacement(result, vars.getOrDefault(wildcardMatcher.group(1), ""));
+        }
+        wildcardMatcher.appendTail(result);
 
-		return result.toString();
-	}
+        return result.toString();
+    }
 
     /**
      * <p> Stores a compiled wildcard pattern and the object it came
@@ -238,7 +235,7 @@ public abstract class AbstractMatcher<E> implements Serializable {
          */
         private final String original;
 
-        
+
         /**
          * <p> The compiled pattern. </p>
          */
@@ -253,8 +250,8 @@ public abstract class AbstractMatcher<E> implements Serializable {
          * <p> Contructs a read-only Mapping instance. </p>
          *
          * @param original The original pattern
-         * @param pattern The compiled pattern
-         * @param config  The original object
+         * @param pattern  The compiled pattern
+         * @param config   The original object
          */
         public Mapping(String original, Object pattern, E config) {
             this.original = original;
@@ -279,7 +276,7 @@ public abstract class AbstractMatcher<E> implements Serializable {
         public E getTarget() {
             return this.config;
         }
-        
+
         /**
          * <p> Gets the original wildcard pattern. </p>
          *

[struts] 03/03: Adds autogenerated files

Posted by lu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 4cc23cc306e5e26666498053e06a12431a203fe6
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Fri Sep 24 15:55:20 2021 +0200

    Adds autogenerated files
---
 core/src/site/resources/tags/a-attributes.html                    | 2 +-
 core/src/site/resources/tags/actionerror-attributes.html          | 2 +-
 core/src/site/resources/tags/actionmessage-attributes.html        | 2 +-
 core/src/site/resources/tags/checkbox-attributes.html             | 2 +-
 core/src/site/resources/tags/checkboxlist-attributes.html         | 2 +-
 core/src/site/resources/tags/combobox-attributes.html             | 2 +-
 core/src/site/resources/tags/component-attributes.html            | 2 +-
 core/src/site/resources/tags/datetextfield-attributes.html        | 2 +-
 core/src/site/resources/tags/debug-attributes.html                | 2 +-
 core/src/site/resources/tags/doubleselect-attributes.html         | 2 +-
 core/src/site/resources/tags/fielderror-attributes.html           | 2 +-
 core/src/site/resources/tags/file-attributes.html                 | 2 +-
 core/src/site/resources/tags/form-attributes.html                 | 2 +-
 core/src/site/resources/tags/head-attributes.html                 | 2 +-
 core/src/site/resources/tags/hidden-attributes.html               | 2 +-
 core/src/site/resources/tags/inputtransferselect-attributes.html  | 2 +-
 core/src/site/resources/tags/label-attributes.html                | 2 +-
 core/src/site/resources/tags/link-attributes.html                 | 2 +-
 core/src/site/resources/tags/optiontransferselect-attributes.html | 2 +-
 core/src/site/resources/tags/password-attributes.html             | 2 +-
 core/src/site/resources/tags/radio-attributes.html                | 2 +-
 core/src/site/resources/tags/reset-attributes.html                | 2 +-
 core/src/site/resources/tags/script-attributes.html               | 2 +-
 core/src/site/resources/tags/select-attributes.html               | 2 +-
 core/src/site/resources/tags/submit-attributes.html               | 2 +-
 core/src/site/resources/tags/textarea-attributes.html             | 2 +-
 core/src/site/resources/tags/textfield-attributes.html            | 2 +-
 core/src/site/resources/tags/token-attributes.html                | 2 +-
 core/src/site/resources/tags/updownselect-attributes.html         | 2 +-
 29 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/core/src/site/resources/tags/a-attributes.html b/core/src/site/resources/tags/a-attributes.html
index a6f2a33..7d5b607 100644
--- a/core/src/site/resources/tags/a-attributes.html
+++ b/core/src/site/resources/tags/a-attributes.html
@@ -43,7 +43,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/actionerror-attributes.html b/core/src/site/resources/tags/actionerror-attributes.html
index 3b9b17c..c9d2340 100644
--- a/core/src/site/resources/tags/actionerror-attributes.html
+++ b/core/src/site/resources/tags/actionerror-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/actionmessage-attributes.html b/core/src/site/resources/tags/actionmessage-attributes.html
index 85ced5b..26553a8 100644
--- a/core/src/site/resources/tags/actionmessage-attributes.html
+++ b/core/src/site/resources/tags/actionmessage-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/checkbox-attributes.html b/core/src/site/resources/tags/checkbox-attributes.html
index b1e3ce2..394565a 100644
--- a/core/src/site/resources/tags/checkbox-attributes.html
+++ b/core/src/site/resources/tags/checkbox-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/checkboxlist-attributes.html b/core/src/site/resources/tags/checkboxlist-attributes.html
index 6546fb4..6aeee02 100644
--- a/core/src/site/resources/tags/checkboxlist-attributes.html
+++ b/core/src/site/resources/tags/checkboxlist-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/combobox-attributes.html b/core/src/site/resources/tags/combobox-attributes.html
index 4fb15b6..fad1662 100644
--- a/core/src/site/resources/tags/combobox-attributes.html
+++ b/core/src/site/resources/tags/combobox-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/component-attributes.html b/core/src/site/resources/tags/component-attributes.html
index 7b05cec..56c8b15 100644
--- a/core/src/site/resources/tags/component-attributes.html
+++ b/core/src/site/resources/tags/component-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/datetextfield-attributes.html b/core/src/site/resources/tags/datetextfield-attributes.html
index 0b9d15b..ff39b24 100644
--- a/core/src/site/resources/tags/datetextfield-attributes.html
+++ b/core/src/site/resources/tags/datetextfield-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/debug-attributes.html b/core/src/site/resources/tags/debug-attributes.html
index 7b05cec..56c8b15 100644
--- a/core/src/site/resources/tags/debug-attributes.html
+++ b/core/src/site/resources/tags/debug-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/doubleselect-attributes.html b/core/src/site/resources/tags/doubleselect-attributes.html
index 5a0f6bc..ce60d44 100644
--- a/core/src/site/resources/tags/doubleselect-attributes.html
+++ b/core/src/site/resources/tags/doubleselect-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/fielderror-attributes.html b/core/src/site/resources/tags/fielderror-attributes.html
index 8fa1b47..c18aedf 100644
--- a/core/src/site/resources/tags/fielderror-attributes.html
+++ b/core/src/site/resources/tags/fielderror-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/file-attributes.html b/core/src/site/resources/tags/file-attributes.html
index c250ffa..a1e20f7 100644
--- a/core/src/site/resources/tags/file-attributes.html
+++ b/core/src/site/resources/tags/file-attributes.html
@@ -35,7 +35,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/form-attributes.html b/core/src/site/resources/tags/form-attributes.html
index ea01be8..e115a87 100644
--- a/core/src/site/resources/tags/form-attributes.html
+++ b/core/src/site/resources/tags/form-attributes.html
@@ -43,7 +43,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/head-attributes.html b/core/src/site/resources/tags/head-attributes.html
index 2ead94c..7f6e2ed 100644
--- a/core/src/site/resources/tags/head-attributes.html
+++ b/core/src/site/resources/tags/head-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/hidden-attributes.html b/core/src/site/resources/tags/hidden-attributes.html
index 2ead94c..7f6e2ed 100644
--- a/core/src/site/resources/tags/hidden-attributes.html
+++ b/core/src/site/resources/tags/hidden-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/inputtransferselect-attributes.html b/core/src/site/resources/tags/inputtransferselect-attributes.html
index e52c1b9..8a89233 100644
--- a/core/src/site/resources/tags/inputtransferselect-attributes.html
+++ b/core/src/site/resources/tags/inputtransferselect-attributes.html
@@ -67,7 +67,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/label-attributes.html b/core/src/site/resources/tags/label-attributes.html
index 5ce9436..a5b9dd1 100644
--- a/core/src/site/resources/tags/label-attributes.html
+++ b/core/src/site/resources/tags/label-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/link-attributes.html b/core/src/site/resources/tags/link-attributes.html
index 2775216..5b5ac68 100644
--- a/core/src/site/resources/tags/link-attributes.html
+++ b/core/src/site/resources/tags/link-attributes.html
@@ -35,7 +35,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">crossorigin</td>
diff --git a/core/src/site/resources/tags/optiontransferselect-attributes.html b/core/src/site/resources/tags/optiontransferselect-attributes.html
index 9f9241d..c39c83d 100644
--- a/core/src/site/resources/tags/optiontransferselect-attributes.html
+++ b/core/src/site/resources/tags/optiontransferselect-attributes.html
@@ -163,7 +163,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/password-attributes.html b/core/src/site/resources/tags/password-attributes.html
index 5742f11..31b6066 100644
--- a/core/src/site/resources/tags/password-attributes.html
+++ b/core/src/site/resources/tags/password-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/radio-attributes.html b/core/src/site/resources/tags/radio-attributes.html
index 6546fb4..6aeee02 100644
--- a/core/src/site/resources/tags/radio-attributes.html
+++ b/core/src/site/resources/tags/radio-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/reset-attributes.html b/core/src/site/resources/tags/reset-attributes.html
index 09e7f13..9470f48 100644
--- a/core/src/site/resources/tags/reset-attributes.html
+++ b/core/src/site/resources/tags/reset-attributes.html
@@ -35,7 +35,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/script-attributes.html b/core/src/site/resources/tags/script-attributes.html
index b913697..fa61a77 100644
--- a/core/src/site/resources/tags/script-attributes.html
+++ b/core/src/site/resources/tags/script-attributes.html
@@ -43,7 +43,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">crossorigin</td>
diff --git a/core/src/site/resources/tags/select-attributes.html b/core/src/site/resources/tags/select-attributes.html
index f2e9c3d..e5af4a5 100644
--- a/core/src/site/resources/tags/select-attributes.html
+++ b/core/src/site/resources/tags/select-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/submit-attributes.html b/core/src/site/resources/tags/submit-attributes.html
index 18030c7..d70a5cd 100644
--- a/core/src/site/resources/tags/submit-attributes.html
+++ b/core/src/site/resources/tags/submit-attributes.html
@@ -35,7 +35,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/textarea-attributes.html b/core/src/site/resources/tags/textarea-attributes.html
index f79f4a1..34a3caa 100644
--- a/core/src/site/resources/tags/textarea-attributes.html
+++ b/core/src/site/resources/tags/textarea-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cols</td>
diff --git a/core/src/site/resources/tags/textfield-attributes.html b/core/src/site/resources/tags/textfield-attributes.html
index 1c5f093..6438d77 100644
--- a/core/src/site/resources/tags/textfield-attributes.html
+++ b/core/src/site/resources/tags/textfield-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/token-attributes.html b/core/src/site/resources/tags/token-attributes.html
index 7b05cec..56c8b15 100644
--- a/core/src/site/resources/tags/token-attributes.html
+++ b/core/src/site/resources/tags/token-attributes.html
@@ -27,7 +27,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>
diff --git a/core/src/site/resources/tags/updownselect-attributes.html b/core/src/site/resources/tags/updownselect-attributes.html
index 124da36..ed544f2 100644
--- a/core/src/site/resources/tags/updownselect-attributes.html
+++ b/core/src/site/resources/tags/updownselect-attributes.html
@@ -51,7 +51,7 @@
             <td align="left" valign="top"></td>
             <td align="left" valign="top">false</td>
             <td align="left" valign="top">String</td>
-            <td align="left" valign="top">The css class to use for element - it's an alias of cssClass attribute.</td>
+            <td align="left" valign="top">(Deprecated) The css class to use for element - it's an alias of cssClass attribute.</td>
         </tr>
         <tr>
             <td align="left" valign="top">cssClass</td>