dwinterfeldt    01/09/25 11:03:12

  Modified:    contrib/validator/src/share/com/wintecinc/struts/validation
                        ValidatorResources.java
  Log:
  Added functionality to support indexed validation.
  
  Revision  Changes    Path
  1.3       +1 -1      
jakarta-struts/contrib/validator/src/share/com/wintecinc/struts/validation/ValidatorResources.java
  
  Index: ValidatorResources.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/contrib/validator/src/share/com/wintecinc/struts/validation/ValidatorResources.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ValidatorResources.java   2001/08/17 17:40:49     1.2
  +++ ValidatorResources.java   2001/09/25 18:03:12     1.3
  @@ -360,7 +360,7 @@
   
                for (Iterator defaultFields = defaultForm.getFields().iterator(); 
defaultFields.hasNext(); ) {
                   Field defaultField = (Field)defaultFields.next();
  -                String fieldKey = defaultField.getProperty();
  +                String fieldKey = defaultField.getKey();
   
                   if (form.getFieldMap().containsKey(fieldKey)) {
                      newForm.addField((Field)form.getFieldMap().get(fieldKey));
  
  
  

Reply via email to