struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject svn commit: r752123 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java
Date Tue, 10 Mar 2009 14:46:26 GMT
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;
     }



Mime
View raw message