cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r219458 - /cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/samples/forms/form1.xml
Date Mon, 18 Jul 2005 05:13:03 GMT
Author: rgoers
Date: Sun Jul 17 22:12:48 2005
New Revision: 219458

URL: http://svn.apache.org/viewcvs?rev=219458&view=rev
Log:
Fix exception running sample. 

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/samples/forms/form1.xml

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/samples/forms/form1.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/samples/forms/form1.xml?rev=219458&r1=219457&r2=219458&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/samples/forms/form1.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/samples/forms/form1.xml Sun Jul 17 22:12:48
2005
@@ -16,7 +16,7 @@
 -->
 
 <!--+
-    | CVS $Id: form1.xml,v 1.3 2004/05/07 21:32:32 mpo Exp $
+    | CVS $Id$
     +-->
 
 <fd:form xmlns:fd="http://apache.org/cocoon/forms/1.0#definition"
@@ -246,7 +246,7 @@
       	    // Get the row
       	    var row = widget.getRow(i);
       	    // Compute a key combining the first and last name
-      	    var key = row.lookupWidget("firstname").value + "/" + row.getWidget("lastname").value;
+      	    var key = row.lookupWidget("firstname").value + "/" + row.lookupWidget("lastname").value;
       	    if (list.contains(key)) {
       	      // already in the list
       	      row.lookupWidget("firstname").setValidationError(new Packages.org.apache.cocoon.forms.validation.ValidationError("Duplicate
contact name", false));



Mime
View raw message