Author: wesw
Date: Tue Mar 10 14:46:22 2009
New Revision: 752123
URL: http://svn.apache.org/viewvc?rev=752123&view=rev
Log:
We advertise this attribute being available, but we really didn't have it
WW-3031
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java
URL:
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java?rev=752123&r1=752122&r2=752123&view=diff
==============================================================================
---
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java
(original)
+++
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java
Tue Mar 10 14:46:22 2009
@@ -44,6 +44,7 @@
protected String namespace;
protected String validate;
protected String onsubmit;
+ protected String onreset;
protected String portletMode;
protected String windowState;
protected String acceptcharset;
@@ -98,6 +99,10 @@
this.onsubmit = onsubmit;
}
+ public void setOnreset(String onreset) {
+ this.onreset = onreset;
+ }
+
public void setPortletMode(String portletMode) {
this.portletMode = portletMode;
}