cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel MultiValueField.java
Date Sat, 08 May 2004 11:49:01 GMT
bruno       2004/05/08 04:49:01

  Modified:    src/blocks/forms/java/org/apache/cocoon/forms/formmodel
                        MultiValueField.java
  Log:
  Added missing getDatatype method. Thanks to Danny Bols for pointing that out. Fixes bug
28552.
  
  Revision  Changes    Path
  1.12      +6 -1      cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/MultiValueField.java
  
  Index: MultiValueField.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/MultiValueField.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- MultiValueField.java	7 May 2004 13:42:09 -0000	1.11
  +++ MultiValueField.java	8 May 2004 11:49:01 -0000	1.12
  @@ -20,6 +20,7 @@
   import org.apache.cocoon.forms.Constants;
   import org.apache.cocoon.forms.FormContext;
   import org.apache.cocoon.forms.datatype.SelectionList;
  +import org.apache.cocoon.forms.datatype.Datatype;
   import org.apache.cocoon.forms.datatype.convertor.ConversionResult;
   import org.apache.cocoon.forms.event.ValueChangedEvent;
   import org.apache.cocoon.forms.event.WidgetEvent;
  @@ -233,5 +234,9 @@
   
       public void setValidationError(ValidationError error) {
           this.validationError = error;
  +    }
  +
  +    public Datatype getDatatype() {
  +        return definition.getDatatype();
       }
   }
  
  
  

Mime
View raw message