Author: lukaszlenart
Date: Thu Jan 17 07:41:45 2013
New Revision: 1434580

URL: http://svn.apache.org/viewvc?rev=1434580&view=rev
Log:
WW-3908 renames required attribute into requiredLabel to allow support of Html5 
required attribute

Modified:
    
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
    
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractUITag.java
    struts/struts2/trunk/core/src/site/resources/tags/a.html
    struts/struts2/trunk/core/src/site/resources/tags/actionerror.html
    struts/struts2/trunk/core/src/site/resources/tags/actionmessage.html
    struts/struts2/trunk/core/src/site/resources/tags/ajax/a.html
    struts/struts2/trunk/core/src/site/resources/tags/ajax/autocompleter.html
    struts/struts2/trunk/core/src/site/resources/tags/ajax/datetimepicker.html
    struts/struts2/trunk/core/src/site/resources/tags/ajax/div.html
    struts/struts2/trunk/core/src/site/resources/tags/ajax/submit.html
    struts/struts2/trunk/core/src/site/resources/tags/ajax/tabbedpanel.html
    struts/struts2/trunk/core/src/site/resources/tags/ajax/textarea.html
    struts/struts2/trunk/core/src/site/resources/tags/ajax/tree.html
    struts/struts2/trunk/core/src/site/resources/tags/ajax/treenode.html
    struts/struts2/trunk/core/src/site/resources/tags/checkbox.html
    struts/struts2/trunk/core/src/site/resources/tags/checkboxlist.html
    struts/struts2/trunk/core/src/site/resources/tags/combobox.html
    struts/struts2/trunk/core/src/site/resources/tags/component.html
    struts/struts2/trunk/core/src/site/resources/tags/debug.html
    struts/struts2/trunk/core/src/site/resources/tags/div.html
    struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html
    struts/struts2/trunk/core/src/site/resources/tags/fielderror.html
    struts/struts2/trunk/core/src/site/resources/tags/file.html
    struts/struts2/trunk/core/src/site/resources/tags/form.html
    struts/struts2/trunk/core/src/site/resources/tags/head.html
    struts/struts2/trunk/core/src/site/resources/tags/hidden.html
    struts/struts2/trunk/core/src/site/resources/tags/inputtransferselect.html
    struts/struts2/trunk/core/src/site/resources/tags/label.html
    struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html
    struts/struts2/trunk/core/src/site/resources/tags/password.html
    struts/struts2/trunk/core/src/site/resources/tags/radio.html
    struts/struts2/trunk/core/src/site/resources/tags/reset.html
    struts/struts2/trunk/core/src/site/resources/tags/select.html
    struts/struts2/trunk/core/src/site/resources/tags/submit.html
    struts/struts2/trunk/core/src/site/resources/tags/textarea.html
    struts/struts2/trunk/core/src/site/resources/tags/textfield.html
    struts/struts2/trunk/core/src/site/resources/tags/token.html
    struts/struts2/trunk/core/src/site/resources/tags/updownselect.html
    
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
    
struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/freemarker/dynaAttributes.ftl

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
 Thu Jan 17 07:41:45 2013
@@ -459,10 +459,10 @@ public abstract class UIBean extends Com
     protected String label;
     protected String labelPosition;
     protected String labelSeparator;
-    protected String requiredposition;
+    protected String requiredPosition;
     protected String errorPosition;
     protected String name;
-    protected String required;
+    protected String requiredLabel;
     protected String tabindex;
     protected String value;
     protected String title;
@@ -669,16 +669,16 @@ public abstract class UIBean extends Com
             addParameter("labelposition", findString(labelPosition));
         }
 
-        if (requiredposition != null) {
-            addParameter("requiredposition", findString(requiredposition));
+        if (requiredPosition != null) {
+            addParameter("requiredposition", findString(requiredPosition));
         }
 
         if (errorPosition != null) {
             addParameter("errorposition", findString(errorPosition));
         }
         
-        if (required != null) {
-            addParameter("required", findValue(required, Boolean.class));
+        if (requiredLabel != null) {
+            addParameter("required", findValue(requiredLabel, Boolean.class));
         }
 
         if (disabled != null) {
@@ -1077,8 +1077,8 @@ public abstract class UIBean extends Com
     }
 
     @StrutsTagAttribute(description="Define required position of required form 
element (left|right)")
-    public void setRequiredposition(String requiredposition) {
-        this.requiredposition = requiredposition;
+    public void setRequiredPosition(String requiredPosition) {
+        this.requiredPosition = requiredPosition;
     }
 
     @StrutsTagAttribute(description="Define error position of form element 
(top|bottom)")
@@ -1092,8 +1092,8 @@ public abstract class UIBean extends Com
     }
 
     @StrutsTagAttribute(description="If set to true, the rendered element will 
indicate that input is required", type="Boolean", defaultValue="false")
-    public void setRequired(String required) {
-        this.required = required;
+    public void setRequiredLabel(String requiredLabel) {
+        this.requiredLabel = requiredLabel;
     }
 
     @StrutsTagAttribute(description="Set the html tabindex attribute on 
rendered html element")

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractUITag.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractUITag.java?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractUITag.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractUITag.java
 Thu Jan 17 07:41:45 2013
@@ -97,10 +97,10 @@ public abstract class AbstractUITag exte
         uiBean.setLabel(label);
         uiBean.setLabelSeparator(labelSeparator);
         uiBean.setLabelposition(labelPosition);
-        uiBean.setRequiredposition(requiredposition);
+        uiBean.setRequiredPosition(requiredposition);
         uiBean.setErrorPosition(errorPosition);
         uiBean.setName(name);
-        uiBean.setRequired(required);
+        uiBean.setRequiredLabel(required);
         uiBean.setTabindex(tabindex);
         uiBean.setValue(value);
         uiBean.setTemplate(template);

Modified: struts/struts2/trunk/core/src/site/resources/tags/a.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/a.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/a.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/a.html Thu Jan 17 
07:41:45 2013
@@ -362,7 +362,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Specifies 
if this should be a portlet render or action URL. Default is "render". To 
create an action URL, use "action".</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -370,7 +370,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/actionerror.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/actionerror.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/actionerror.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/actionerror.html Thu Jan 
17 07:41:45 2013
@@ -266,7 +266,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -274,7 +274,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/actionmessage.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/actionmessage.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/actionmessage.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/actionmessage.html Thu 
Jan 17 07:41:45 2013
@@ -266,7 +266,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -274,7 +274,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/a.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/a.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/ajax/a.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/ajax/a.html Thu Jan 17 
07:41:45 2013
@@ -402,7 +402,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Parse 
returned HTML for Dojo widgets</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -410,7 +410,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: 
struts/struts2/trunk/core/src/site/resources/tags/ajax/autocompleter.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/autocompleter.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/ajax/autocompleter.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/ajax/autocompleter.html 
Thu Jan 17 07:41:45 2013
@@ -498,7 +498,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Whether 
the input is readonly</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -506,7 +506,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: 
struts/struts2/trunk/core/src/site/resources/tags/ajax/datetimepicker.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/datetimepicker.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/ajax/datetimepicker.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/ajax/datetimepicker.html 
Thu Jan 17 07:41:45 2013
@@ -322,7 +322,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -330,7 +330,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/div.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/div.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/ajax/div.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/ajax/div.html Thu Jan 17 
07:41:45 2013
@@ -434,7 +434,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Content 
will be loaded when div becomes visible, used only inside the tabbedpanel 
tag</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -442,7 +442,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/submit.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/submit.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/ajax/submit.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/ajax/submit.html Thu Jan 
17 07:41:45 2013
@@ -418,7 +418,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Parse 
returned HTML for Dojo widgets</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -426,7 +426,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: 
struts/struts2/trunk/core/src/site/resources/tags/ajax/tabbedpanel.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/tabbedpanel.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/ajax/tabbedpanel.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/ajax/tabbedpanel.html Thu 
Jan 17 07:41:45 2013
@@ -306,7 +306,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set 
template to use for opening the rendered html.</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -314,7 +314,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/textarea.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/textarea.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/ajax/textarea.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/ajax/textarea.html Thu 
Jan 17 07:41:45 2013
@@ -274,7 +274,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Whether 
the textarea is readonly</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -282,7 +282,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/tree.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/tree.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/ajax/tree.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/ajax/tree.html Thu Jan 17 
07:41:45 2013
@@ -410,7 +410,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set 
template to use for opening the rendered html.</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -418,7 +418,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/treenode.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/treenode.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/ajax/treenode.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/ajax/treenode.html Thu 
Jan 17 07:41:45 2013
@@ -266,7 +266,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set 
template to use for opening the rendered html.</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -274,7 +274,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/checkbox.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/checkbox.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/checkbox.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/checkbox.html Thu Jan 17 
07:41:45 2013
@@ -266,7 +266,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -274,7 +274,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/checkboxlist.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/checkboxlist.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/checkboxlist.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/checkboxlist.html Thu Jan 
17 07:41:45 2013
@@ -306,7 +306,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -314,7 +314,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/combobox.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/combobox.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/combobox.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/combobox.html Thu Jan 17 
07:41:45 2013
@@ -330,7 +330,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Whether 
the input is readonly</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -338,7 +338,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/component.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/component.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/component.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/component.html Thu Jan 17 
07:41:45 2013
@@ -258,7 +258,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -266,7 +266,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/debug.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/debug.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/debug.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/debug.html Thu Jan 17 
07:41:45 2013
@@ -258,7 +258,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -266,7 +266,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/div.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/div.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/div.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/div.html Thu Jan 17 
07:41:45 2013
@@ -266,7 +266,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set 
template to use for opening the rendered html.</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -274,7 +274,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html Thu Jan 
17 07:41:45 2013
@@ -602,7 +602,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -610,7 +610,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/fielderror.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/fielderror.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/fielderror.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/fielderror.html Thu Jan 
17 07:41:45 2013
@@ -274,7 +274,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -282,7 +282,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/file.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/file.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/file.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/file.html Thu Jan 17 
07:41:45 2013
@@ -266,7 +266,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -274,7 +274,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/form.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/form.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/form.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/form.html Thu Jan 17 
07:41:45 2013
@@ -346,7 +346,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">The 
portlet mode to display after the form submit</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -354,7 +354,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/head.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/head.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/head.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/head.html Thu Jan 17 
07:41:45 2013
@@ -258,7 +258,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -266,7 +266,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/hidden.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/hidden.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/hidden.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/hidden.html Thu Jan 17 
07:41:45 2013
@@ -258,7 +258,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -266,7 +266,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: 
struts/struts2/trunk/core/src/site/resources/tags/inputtransferselect.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/inputtransferselect.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/inputtransferselect.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/inputtransferselect.html 
Thu Jan 17 07:41:45 2013
@@ -402,7 +402,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">the label 
used for the remove button</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -410,7 +410,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/label.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/label.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/label.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/label.html Thu Jan 17 
07:41:45 2013
@@ -266,7 +266,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -274,7 +274,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: 
struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html 
Thu Jan 17 07:41:45 2013
@@ -762,7 +762,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -770,7 +770,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/password.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/password.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/password.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/password.html Thu Jan 17 
07:41:45 2013
@@ -282,7 +282,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Whether 
the input is readonly</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -290,7 +290,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/radio.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/radio.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/radio.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/radio.html Thu Jan 17 
07:41:45 2013
@@ -306,7 +306,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -314,7 +314,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/reset.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/reset.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/reset.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/reset.html Thu Jan 17 
07:41:45 2013
@@ -290,7 +290,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set 
template to use for opening the rendered html.</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -298,7 +298,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/select.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/select.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/select.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/select.html Thu Jan 17 
07:41:45 2013
@@ -338,7 +338,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -346,7 +346,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/submit.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/submit.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/submit.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/submit.html Thu Jan 17 
07:41:45 2013
@@ -290,7 +290,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set 
template to use for opening the rendered html.</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -298,7 +298,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/textarea.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/textarea.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/textarea.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/textarea.html Thu Jan 17 
07:41:45 2013
@@ -274,7 +274,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Whether 
the textarea is readonly</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -282,7 +282,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/textfield.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/textfield.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/textfield.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/textfield.html Thu Jan 17 
07:41:45 2013
@@ -282,7 +282,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Whether 
the input is readonly</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -290,7 +290,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/token.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/token.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/token.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/token.html Thu Jan 17 
07:41:45 2013
@@ -258,7 +258,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -266,7 +266,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/updownselect.html
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/updownselect.html?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/updownselect.html 
(original)
+++ struts/struts2/trunk/core/src/site/resources/tags/updownselect.html Thu Jan 
17 07:41:45 2013
@@ -378,7 +378,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">Set the 
html onselect attribute on rendered html element</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">required</td>
+                                       <td align="left" 
valign="top">requiredLabel</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top">false</td>
@@ -386,7 +386,7 @@ Please do not edit it directly.
                                        <td align="left" valign="top">If set to 
true, the rendered element will indicate that input is required</td>
                                </tr>
                                <tr>
-                                       <td align="left" 
valign="top">requiredposition</td>
+                                       <td align="left" 
valign="top">requiredPosition</td>
                                        <td align="left" valign="top">false</td>
                                        <td align="left" valign="top"></td>
                                        <td align="left" valign="top">false</td>

Modified: 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
 (original)
+++ 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
 Thu Jan 17 07:41:45 2013
@@ -226,7 +226,8 @@ public class FreeMarkerResultTest extend
         String expectedJDK16 =
                 "<input type=\"text\" name=\"test\" value=\"\" id=\"test\" 
placeholder=\"input\" foo=\"bar\"/>"
                 + "<input type=\"text\" name=\"test\" value=\"\" id=\"test\" 
placeholder=\"input\" foo=\"bar\"/>"
-                + "<input type=\"text\" name=\"test\" value=\"\" id=\"test\" 
break=\"true\"/>";
+                + "<input type=\"text\" name=\"test\" value=\"\" id=\"test\" 
break=\"true\"/>"
+                + "<input type=\"text\" name=\"required\" value=\"\" 
id=\"required\" required=\"true\"/>";
 
         String result = stringWriter.toString();
 

Modified: 
struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/freemarker/dynaAttributes.ftl
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/freemarker/dynaAttributes.ftl?rev=1434580&r1=1434579&r2=1434580&view=diff
==============================================================================
--- 
struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/freemarker/dynaAttributes.ftl
 (original)
+++ 
struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/freemarker/dynaAttributes.ftl
 Thu Jan 17 07:41:45 2013
@@ -23,3 +23,4 @@
 <@s.textfield name="test" 
dynamicAttributes={"placeholder":"input","foo":"bar"}/>
 <@s.textfield name="test" placeholder="input" foo="bar"/>
 <@s.textfield name="test" break=true />
+<@s.textfield name="required" required=true />


Reply via email to