struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r676692 - in /struts/struts2/trunk/core/src: main/java/org/apache/struts2/components/ main/resources/template/css_xhtml/ main/resources/template/simple/ main/resources/template/xhtml/ site/resources/tags/ site/resources/tags/ajax/ test/reso...
Date Mon, 14 Jul 2008 19:01:47 GMT
Author: musachy
Date: Mon Jul 14 12:01:44 2008
New Revision: 676692

URL: http://svn.apache.org/viewvc?rev=676692&view=rev
Log:
WW-2168 Javascript validation displays error messages, cancel does not clear them

This will only take effect in the "xhtml" or "css_xhtml" when a form has validate="true"

Added:
    struts/struts2/trunk/core/src/main/resources/template/simple/form-common.ftl
Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java
    struts/struts2/trunk/core/src/main/resources/template/css_xhtml/form.ftl
    struts/struts2/trunk/core/src/main/resources/template/simple/form.ftl
    struts/struts2/trunk/core/src/main/resources/template/xhtml/form.ftl
    struts/struts2/trunk/core/src/site/resources/tags/a.html
    struts/struts2/trunk/core/src/site/resources/tags/action.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/bind.html
    struts/struts2/trunk/core/src/site/resources/tags/ajax/head.html
    struts/struts2/trunk/core/src/site/resources/tags/ajax/submit.html
    struts/struts2/trunk/core/src/site/resources/tags/ajax/treenode.html
    struts/struts2/trunk/core/src/site/resources/tags/append.html
    struts/struts2/trunk/core/src/site/resources/tags/bean.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/date.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/else.html
    struts/struts2/trunk/core/src/site/resources/tags/elseif.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/generator.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/i18n.html
    struts/struts2/trunk/core/src/site/resources/tags/if.html
    struts/struts2/trunk/core/src/site/resources/tags/include.html
    struts/struts2/trunk/core/src/site/resources/tags/inputtransferselect.html
    struts/struts2/trunk/core/src/site/resources/tags/iterator.html
    struts/struts2/trunk/core/src/site/resources/tags/label.html
    struts/struts2/trunk/core/src/site/resources/tags/merge.html
    struts/struts2/trunk/core/src/site/resources/tags/optgroup.html
    struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html
    struts/struts2/trunk/core/src/site/resources/tags/param.html
    struts/struts2/trunk/core/src/site/resources/tags/password.html
    struts/struts2/trunk/core/src/site/resources/tags/property.html
    struts/struts2/trunk/core/src/site/resources/tags/push.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/set.html
    struts/struts2/trunk/core/src/site/resources/tags/sort.html
    struts/struts2/trunk/core/src/site/resources/tags/submit.html
    struts/struts2/trunk/core/src/site/resources/tags/subset.html
    struts/struts2/trunk/core/src/site/resources/tags/text.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/site/resources/tags/url.html
    struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-11.txt
    struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt
    struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java Mon Jul 14 12:01:44 2008
@@ -93,6 +93,7 @@
     private int sequence = 0;
 
     protected String onsubmit;
+    protected String onreset;
     protected String action;
     protected String target;
     protected String enctype;
@@ -103,7 +104,7 @@
     protected String windowState;
     protected String acceptcharset;
     protected String focusElement;
-    
+
     protected Configuration configuration;
     protected ObjectFactory objectFactory;
     protected UrlRenderer urlRenderer;
@@ -134,12 +135,12 @@
     public void setObjectFactory(ObjectFactory objectFactory) {
         this.objectFactory = objectFactory;
     }
-    
+
     @Inject
     public void setUrlRenderer(UrlRenderer urlRenderer) {
     	this.urlRenderer = urlRenderer;
     }
-    
+
     @Inject
     public void setActionValidatorManager(ActionValidatorManager mgr) {
         this.actionValidatorManager = mgr;
@@ -178,6 +179,10 @@
             addParameter("onsubmit", findString(onsubmit));
         }
 
+        if (onreset != null) {
+            addParameter("onreset", findString(onreset));
+        }
+
         if (target != null) {
             addParameter("target", findString(target));
         }
@@ -200,7 +205,7 @@
             // we have this if check so we don't do this twice (on open and close of the template)
             addParameter("tagNames", new ArrayList());
         }
-        
+
         if (focusElement != null) {
             addParameter("focusElement", findString(focusElement));
         }
@@ -295,6 +300,11 @@
         this.onsubmit = onsubmit;
     }
 
+    @StrutsTagAttribute(description="HTML onreset attribute")
+    public void setOnreset(String onreset) {
+        this.onreset = onreset;
+    }
+
     @StrutsTagAttribute(description="Set action name to submit to, without .action suffix", defaultValue="current action")
     public void setAction(String action) {
         this.action = action;

Modified: struts/struts2/trunk/core/src/main/resources/template/css_xhtml/form.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/css_xhtml/form.ftl?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/template/css_xhtml/form.ftl (original)
+++ struts/struts2/trunk/core/src/main/resources/template/css_xhtml/form.ftl Mon Jul 14 12:01:44 2008
@@ -21,5 +21,13 @@
  */
 -->
 <#include "/${parameters.templateDir}/css_xhtml/form-validate.ftl" />
-<#include "/${parameters.templateDir}/simple/form.ftl" />
+<#include "/${parameters.templateDir}/simple/form-common.ftl" />
+<#if (parameters.validate?default(false))>
+  onreset="${parameters.onreset?default('clearErrorMessages(this);clearErrorLabels(this);')}"
+<#else>
+  <#if parameters.onreset?exists>
+  onreset="${parameters.onreset?html}"
+  </#if>
+</#if>
+>
 <#include "/${parameters.templateDir}/css_xhtml/control.ftl">

Added: struts/struts2/trunk/core/src/main/resources/template/simple/form-common.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/form-common.ftl?rev=676692&view=auto
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/template/simple/form-common.ftl (added)
+++ struts/struts2/trunk/core/src/main/resources/template/simple/form-common.ftl Mon Jul 14 12:01:44 2008
@@ -0,0 +1,69 @@
+<#--
+/*
+ * $Id: form.ftl 590812 2007-10-31 20:32:54Z apetrelli $
+ *
+ * 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.
+ */
+-->
+<#if (parameters.validate?default(false) == false)><#rt/>
+    <#if parameters.onsubmit?exists><#rt/>
+        ${tag.addParameter('onsubmit', "${parameters.onsubmit}; return true;") }
+    <#else>
+        ${tag.addParameter('onsubmit', "return true;") }
+    </#if>
+</#if>
+<form<#rt/>
+<#if parameters.id?exists>
+ id="${parameters.id?html}"<#rt/>
+</#if>
+<#if parameters.name?exists>
+ name="${parameters.name?html}"<#rt/>
+</#if>
+<#if parameters.onsubmit?exists>
+ onsubmit="${parameters.onsubmit?html}"<#rt/>
+</#if>
+<#if parameters.onreset?exists>
+ onsubmit="${parameters.onreset?html}"<#rt/>
+</#if>
+<#if parameters.action?exists>
+ action="${parameters.action?html}"<#rt/>
+</#if>
+<#if parameters.target?exists>
+ target="${parameters.target?html}"<#rt/>
+</#if>
+<#if parameters.method?exists>
+ method="${parameters.method?html}"<#rt/>
+<#else>
+ method="post"<#rt/>
+</#if>
+<#if parameters.enctype?exists>
+ enctype="${parameters.enctype?html}"<#rt/>
+</#if>
+<#if parameters.cssClass?exists>
+ class="${parameters.cssClass?html}"<#rt/>
+</#if>
+<#if parameters.cssStyle?exists>
+ style="${parameters.cssStyle?html}"<#rt/>
+</#if>
+<#if parameters.title?exists>
+ title="${parameters.title?html}"<#rt/>
+</#if>
+<#if parameters.acceptcharset?exists>
+ accept-charset="${parameters.acceptcharset?html}"<#rt/>
+</#if>
+<#include "/${parameters.templateDir}/simple/dynamic-attributes.ftl" />
\ No newline at end of file

Modified: struts/struts2/trunk/core/src/main/resources/template/simple/form.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/form.ftl?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/template/simple/form.ftl (original)
+++ struts/struts2/trunk/core/src/main/resources/template/simple/form.ftl Mon Jul 14 12:01:44 2008
@@ -20,48 +20,8 @@
  * under the License.
  */
 -->
-<#if (parameters.validate?default(false) == false)><#rt/>
-	<#if parameters.onsubmit?exists><#rt/>
-		${tag.addParameter('onsubmit', "${parameters.onsubmit}; return true;") }
-	<#else>
-		${tag.addParameter('onsubmit', "return true;") }	
-	</#if>
+<#include "/${parameters.templateDir}/simple/form-common.ftl" />
+<#if parameters.onreset?exists>
+ onreset="${parameters.onreset?html}"<#rt/>
 </#if>
-<form<#rt/>
-<#if parameters.id?exists>
- id="${parameters.id?html}"<#rt/>
-</#if>
-<#if parameters.name?exists>
- name="${parameters.name?html}"<#rt/>
-</#if>
-<#if parameters.onsubmit?exists>
- onsubmit="${parameters.onsubmit?html}"<#rt/>
-</#if>
-<#if parameters.action?exists>
- action="${parameters.action?html}"<#rt/>
-</#if>
-<#if parameters.target?exists>
- target="${parameters.target?html}"<#rt/>
-</#if>
-<#if parameters.method?exists>
- method="${parameters.method?html}"<#rt/>
-<#else>
- method="post"<#rt/>
-</#if>
-<#if parameters.enctype?exists>
- enctype="${parameters.enctype?html}"<#rt/>
-</#if>
-<#if parameters.cssClass?exists>
- class="${parameters.cssClass?html}"<#rt/>
-</#if>
-<#if parameters.cssStyle?exists>
- style="${parameters.cssStyle?html}"<#rt/>
-</#if>
-<#if parameters.title?exists>
- title="${parameters.title?html}"<#rt/>
-</#if>
-<#if parameters.acceptcharset?exists>
- accept-charset="${parameters.acceptcharset?html}"<#rt/>
-</#if>
-<#include "/${parameters.templateDir}/simple/dynamic-attributes.ftl" />
 >
\ No newline at end of file

Modified: struts/struts2/trunk/core/src/main/resources/template/xhtml/form.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/xhtml/form.ftl?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/template/xhtml/form.ftl (original)
+++ struts/struts2/trunk/core/src/main/resources/template/xhtml/form.ftl Mon Jul 14 12:01:44 2008
@@ -21,5 +21,13 @@
  */
 -->
 <#include "/${parameters.templateDir}/xhtml/form-validate.ftl" />
-<#include "/${parameters.templateDir}/simple/form.ftl" />
+<#include "/${parameters.templateDir}/simple/form-common.ftl" />
+<#if (parameters.validate?default(false))>
+  onreset="${parameters.onreset?default('clearErrorMessages(this);clearErrorLabels(this);')}"
+<#else>
+  <#if parameters.onreset?exists>
+  onreset="${parameters.onreset?html}"
+  </#if>
+</#if>
+>
 <#include "/${parameters.templateDir}/xhtml/control.ftl" />

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/a.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/a.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/action.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/action.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/action.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/action.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/actionerror.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/actionerror.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/actionmessage.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/actionmessage.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/bind.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/bind.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/ajax/bind.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/ajax/bind.html Mon Jul 14 12:01:44 2008
@@ -20,6 +20,12 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
+				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
+			</tr>
+			<tr>
+				<td colspan="6">&nbsp;</td>
+			</tr>
+			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/head.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/head.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/ajax/head.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/ajax/head.html Mon Jul 14 12:01:44 2008
@@ -20,6 +20,12 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
+				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
+			</tr>
+			<tr>
+				<td colspan="6">&nbsp;</td>
+			</tr>
+			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&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 Mon Jul 14 12:01:44 2008
@@ -20,6 +20,12 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
+				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
+			</tr>
+			<tr>
+				<td colspan="6">&nbsp;</td>
+			</tr>
+			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&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 Mon Jul 14 12:01:44 2008
@@ -20,6 +20,12 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
+				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
+			</tr>
+			<tr>
+				<td colspan="6">&nbsp;</td>
+			</tr>
+			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/append.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/append.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/append.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/append.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/bean.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/bean.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/bean.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/bean.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/checkbox.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/checkbox.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/checkboxlist.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/checkboxlist.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/combobox.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/combobox.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/component.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/component.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/date.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/date.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/date.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/date.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/debug.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/debug.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/div.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/div.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/doubleselect.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/else.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/else.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/else.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/else.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/elseif.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/elseif.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/elseif.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/elseif.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/fielderror.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/fielderror.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/file.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/file.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/form.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/form.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>
@@ -290,6 +284,14 @@
 					<td align="left" valign="top">Set the html onmouseup attribute on rendered html element</td>
 				</tr>
 				<tr>
+					<td align="left" valign="top">onreset</td>
+					<td align="left" valign="top">false</td>
+					<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">HTML onreset attribute</td>
+				</tr>
+				<tr>
 					<td align="left" valign="top">onselect</td>
 					<td align="left" valign="top">false</td>
 					<td align="left" valign="top"></td>

Modified: struts/struts2/trunk/core/src/site/resources/tags/generator.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/generator.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/generator.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/generator.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/head.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/head.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/hidden.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/hidden.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/i18n.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/i18n.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/i18n.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/i18n.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/if.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/if.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/if.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/if.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/include.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/include.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/include.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/include.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/inputtransferselect.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/inputtransferselect.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/iterator.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/iterator.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/iterator.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/iterator.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/label.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/label.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/merge.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/merge.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/merge.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/merge.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/optgroup.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/optgroup.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/optgroup.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/optgroup.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/optiontransferselect.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/param.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/param.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/param.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/param.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/password.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/password.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/property.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/property.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/property.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/property.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/push.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/push.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/push.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/push.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/radio.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/radio.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/reset.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/reset.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/select.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/select.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/set.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/set.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/set.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/set.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/sort.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/sort.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/sort.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/sort.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/submit.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/submit.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/subset.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/subset.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/subset.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/subset.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/text.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/text.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/text.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/text.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/textarea.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/textarea.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/textfield.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/textfield.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> true</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/token.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/token.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

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=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/updownselect.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/updownselect.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/site/resources/tags/url.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/url.html?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/url.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/url.html Mon Jul 14 12:01:44 2008
@@ -20,12 +20,6 @@
 		<!-- START SNIPPET: tagattributes -->
 		<table width="100%">
 			<tr>
-				<td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td>
-			</tr>
-			<tr>
-				<td colspan="6">&nbsp;</td>
-			</tr>
-			<tr>
 				<th align="left" valign="top"><h4>Name</h4></th>
 				<th align="left" valign="top"><h4>Required</h4></th>
 				<th align="left" valign="top"><h4>Default</h4></th>

Modified: struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-11.txt
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-11.txt?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-11.txt (original)
+++ struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-11.txt Mon Jul 14 12:01:44 2008
@@ -1,6 +1,6 @@
 <script type="text/javascript" src="/struts/xhtml/validation.js"></script>
 <script type="text/javascript" src="/struts/utils.js"></script>
-<form id="myAction" name="myForm" onsubmit="submitMe(); return validateForm_myAction();" action="/myAction.action" method="post" enctype="myEncType" title="mytitle" accept-charset="UTF-8">
+<form id="myAction" name="myForm" onsubmit="submitMe(); return validateForm_myAction();" action="/myAction.action" method="post" enctype="myEncType" title="mytitle" accept-charset="UTF-8" onreset="clearErrorMessages(this);clearErrorLabels(this);">
 <table class="wwFormTable"> <tr>
     <td class="tdLabel"></td>
     <td>	<script type="text/javascript" src="/struts/optiontransferselect.js"></script>
@@ -22,7 +22,7 @@
 
 <script type="text/javascript">
 	var containingForm = document.getElementById("myAction");
-	StrutsUtils.addEventListener(containingForm, "submit", 
+	StrutsUtils.addEventListener(containingForm, "submit",
 			function(evt) {
 				var updownselectObj = document.getElementById("myAction_myUpDownSelectTag");
 				selectAllOptionsExceptSome(updownselectObj, "key", "");

Modified: struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt (original)
+++ struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt Mon Jul 14 12:01:44 2008
@@ -1,6 +1,6 @@
 <script type="text/javascript" src="/struts/xhtml/validation.js"></script>
 <script type="text/javascript "src="/struts/utils.js"></script>
-<form id="myAction" name="myForm" onsubmit="submitMe(); return validateForm_myAction();" action="/myAction.action" method="post" enctype="myEncType" title="mytitle" accept-charset="UTF-8">
+<form id="myAction" name="myForm" onsubmit="submitMe(); return validateForm_myAction();" action="/myAction.action" method="post" enctype="myEncType" title="mytitle" accept-charset="UTF-8" onreset="clearErrorMessages(this);clearErrorLabels(this);">
 <table class="wwFormTable"> <tr>
     <td class="tdLabel"></td>
     <td>	<script type="text/javascript" src="/struts/optiontransferselect.js"></script>
@@ -22,7 +22,7 @@
 
 <script type="text/javascript">
 	var containingForm = document.getElementById("myAction");
-	StrutsUtils.addEventListener(containingForm, "submit", 
+	StrutsUtils.addEventListener(containingForm, "submit",
 			function(evt) {
 				var updownselectObj = document.getElementById("myAction_myUpDownSelectTag");
 				selectAllOptionsExceptSome(updownselectObj, "key", "");

Modified: struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt?rev=676692&r1=676691&r2=676692&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt (original)
+++ struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt Mon Jul 14 12:01:44 2008
@@ -1,6 +1,6 @@
 <script type="text/javascript" src="/struts/xhtml/validation.js"></script>
 <script type="text/javascript "src="/struts/utils.js"></script>
-<form id="myAction" name="myForm" onsubmit="submitMe(); return validateForm_myAction();" action="/myAction.action" method="post" enctype="myEncType" title="mytitle" accept-charset="UTF-8">
+<form id="myAction" name="myForm" onsubmit="submitMe(); return validateForm_myAction();" action="/myAction.action" method="post" enctype="myEncType" title="mytitle" accept-charset="UTF-8" onreset="clearErrorMessages(this);clearErrorLabels(this);">
 <table class="wwFormTable"> <tr>
     <td class="tdLabel"></td>
     <td>	<script type="text/javascript" src="/struts/optiontransferselect.js"></script>
@@ -22,7 +22,7 @@
 
 <script type="text/javascript">
 	var containingForm = document.getElementById("myAction");
-	StrutsUtils.addEventListener(containingForm, "submit", 
+	StrutsUtils.addEventListener(containingForm, "submit",
 			function(evt) {
 				var updownselectObj = document.getElementById("myAction_myUpDownSelectTag");
 				selectAllOptionsExceptSome(updownselectObj, "key", "");



Mime
View raw message