cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r155953 - cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Form.java
Date Wed, 02 Mar 2005 20:04:02 GMT
Author: reinhard
Date: Wed Mar  2 12:04:01 2005
New Revision: 155953

URL: http://svn.apache.org/viewcvs?view=rev&rev=155953
Log:
sync with trunk

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Form.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Form.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Form.java?view=diff&r1=155952&r2=155953
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Form.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Form.java
Wed Mar  2 12:04:01 2005
@@ -227,7 +227,7 @@
         if (submitId != null && submitId.length() > 0) {
             // if the form has an ID, it is used as part of the submitId too
             // this has ID has to be cut off
-            if(this.getId() != null) {
+            if(this.getId() != null && !"".equals(this.getId())) {
                 submitId = submitId.substring(submitId.indexOf('.')+1);
             }
             StringTokenizer stok = new StringTokenizer(submitId, ".");



Mime
View raw message