cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/woody/samples/forms form1.xml
Date Wed, 04 Feb 2004 23:30:34 GMT
joerg       2004/02/04 15:30:34

  Modified:    src/blocks/woody/samples/forms form1.xml
  Log:
  polishing: use new o.a.c.w.validation.ValidationError
  
  Revision  Changes    Path
  1.20      +2 -2      cocoon-2.1/src/blocks/woody/samples/forms/form1.xml
  
  Index: form1.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/form1.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- form1.xml	4 Feb 2004 17:25:58 -0000	1.19
  +++ form1.xml	4 Feb 2004 23:30:34 -0000	1.20
  @@ -232,7 +232,7 @@
         	    var key = row.getWidget("firstname").value + "/" + row.getWidget("lastname").value;
         	    if (list.contains(key)) {
         	      // already in the list
  -      	      row.getWidget("firstname").setValidationError(new Packages.org.apache.cocoon.woody.datatype.ValidationError("Duplicate
contact name", false));
  +      	      row.getWidget("firstname").setValidationError(new Packages.org.apache.cocoon.woody.validation.ValidationError("Duplicate
contact name", false));
         	      success = false;
         	      break; // no need to continue
         	    }
  
  
  

Mime
View raw message