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 Field.java
Date Sat, 10 Apr 2004 13:41:41 GMT
bruno       2004/04/10 06:41:41

  Modified:    src/blocks/forms/java/org/apache/cocoon/forms/formmodel
                        Field.java
  Log:
  In generateSaxFragment, call datatype.generateSaxFragment
  
  Revision  Changes    Path
  1.6       +5 -1      cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Field.java
  
  Index: Field.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Field.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Field.java	9 Apr 2004 16:43:21 -0000	1.5
  +++ Field.java	10 Apr 2004 13:41:41 -0000	1.6
  @@ -265,6 +265,10 @@
           } else if (getFieldDefinition().getSelectionList() != null) {
               getFieldDefinition().getSelectionList().generateSaxFragment(contentHandler,
locale);
           }
  +
  +        // include some info about the datatype
  +        definition.getDatatype().generateSaxFragment(contentHandler, locale);
  +
           contentHandler.endElement(Constants.INSTANCE_NS, FIELD_EL, Constants.INSTANCE_PREFIX_COLON
+ FIELD_EL);
       }
   
  
  
  

Mime
View raw message