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/woody/conf woody.xconf
Date Tue, 15 Jul 2003 14:13:44 GMT
bruno       2003/07/15 07:13:44

  Modified:    src/blocks/woody/conf woody.xconf
  Log:
  Added configuration for convertors.
  
  Revision  Changes    Path
  1.5       +16 -2     cocoon-2.1/src/blocks/woody/conf/woody.xconf
  
  Index: woody.xconf
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/conf/woody.xconf,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- woody.xconf	9 Jul 2003 12:17:21 -0000	1.4
  +++ woody.xconf	15 Jul 2003 14:13:40 -0000	1.5
  @@ -20,8 +20,22 @@
        |-->
     <woody-datatype>
       <datatypes>
  -      <datatype name="string" factory="org.apache.cocoon.woody.datatype.typeimpl.StringTypeBuilder"/>
  -      <datatype name="long" factory="org.apache.cocoon.woody.datatype.typeimpl.LongTypeBuilder"/>
  +      <datatype name="string" factory="org.apache.cocoon.woody.datatype.typeimpl.StringTypeBuilder">
  +        <convertors default="dummy" plain="dummy">
  +          <convertor name="dummy" src="org.apache.cocoon.woody.datatype.convertor.DummyStringConvertorBuilder"/>
  +        </convertors>
  +      </datatype>
  +      <datatype name="long" factory="org.apache.cocoon.woody.datatype.typeimpl.LongTypeBuilder">
  +        <convertors default="plain" plain="plain">
  +          <convertor name="plain" src="org.apache.cocoon.woody.datatype.convertor.PlainLongConvertorBuilder"/>
  +        </convertors>
  +      </datatype>
  +      <datatype name="date" factory="org.apache.cocoon.woody.datatype.typeimpl.DateTypeBuilder">
  +        <convertors default="formatting" plain="millis">
  +          <convertor name="formatting" src="org.apache.cocoon.woody.datatype.convertor.FormattingDateConvertorBuilder"/>
  +          <convertor name="millis" src="org.apache.cocoon.woody.datatype.convertor.MillisDateConvertorBuilder"/>
  +        </convertors>
  +      </datatype>
       </datatypes>
       <validation-rules>
         <validation-rule name="length" factory="org.apache.cocoon.woody.datatype.validationruleimpl.LengthValidationRuleBuilder"/>
  
  
  

Mime
View raw message