cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r379757 - /cocoon/trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/Upload.java
Date Wed, 22 Feb 2006 12:06:37 GMT
Author: bruno
Date: Wed Feb 22 04:06:21 2006
New Revision: 379757

URL: http://svn.apache.org/viewcvs?rev=379757&view=rev
Log:
Upload: only set as submit widget when it's really the submit widget.

Modified:
    cocoon/trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/Upload.java

Modified: cocoon/trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/Upload.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/Upload.java?rev=379757&r1=379756&r2=379757&view=diff
==============================================================================
--- cocoon/trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/Upload.java
(original)
+++ cocoon/trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/Upload.java
Wed Feb 22 04:06:21 2006
@@ -105,7 +105,7 @@
 
         Object obj = request.get(fullId);
 
-        if (obj != null || fullId.equals(request.getParameter(Form.SUBMIT_ID_PARAMETER)))
{
+        if (fullId.equals(request.getParameter(Form.SUBMIT_ID_PARAMETER))) {
            form.setSubmitWidget(this);
         }
 



Mime
View raw message