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/samples/forms form1.xml form1_template_action.xml form1_template_flow.xml
Date Fri, 25 Jul 2003 16:23:36 GMT
bruno       2003/07/25 09:23:36

  Modified:    src/blocks/woody/samples/forms form1.xml
                        form1_template_action.xml form1_template_flow.xml
  Log:
  Added sample for decimal datatype
  
  Revision  Changes    Path
  1.8       +11 -0     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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- form1.xml	15 Jul 2003 16:58:42 -0000	1.7
  +++ form1.xml	25 Jul 2003 16:23:36 -0000	1.8
  @@ -170,6 +170,17 @@
       </wd:datatype>
     </wd:field>
   
  +  <wd:field id="dieselprice" required="true">
  +    <wd:label>Price for a liter diesel:</wd:label>
  +    <wd:datatype base="decimal">
  +      <wd:convertor variant="number">
  +        <wd:patterns>
  +          <wd:pattern>#.00</wd:pattern>
  +        </wd:patterns>
  +      </wd:convertor>
  +    </wd:datatype>
  +  </wd:field>
  +
     <wd:repeater id="contacts">
       <wd:field id="firstname">
         <wd:label>Firstname</wd:label>
  
  
  
  1.2       +4 -0      cocoon-2.1/src/blocks/woody/samples/forms/form1_template_action.xml
  
  Index: form1_template_action.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/form1_template_action.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- form1_template_action.xml	25 Jul 2003 09:01:03 -0000	1.1
  +++ form1_template_action.xml	25 Jul 2003 16:23:36 -0000	1.2
  @@ -65,6 +65,10 @@
             <td valign="top"><wt:widget-label id="altbirthdate"/></td>
             <td valign="top"><wt:widget id="altbirthdate"/></td>
           </tr>
  +        <tr>
  +          <td valign="top"><wt:widget-label id="dieselprice"/></td>
  +          <td valign="top"><wt:widget id="dieselprice"/></td>
  +        </tr>
         </table>
   
         <wt:widget-label id="contacts"/><br/>
  
  
  
  1.2       +4 -0      cocoon-2.1/src/blocks/woody/samples/forms/form1_template_flow.xml
  
  Index: form1_template_flow.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/form1_template_flow.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- form1_template_flow.xml	25 Jul 2003 09:01:03 -0000	1.1
  +++ form1_template_flow.xml	25 Jul 2003 16:23:36 -0000	1.2
  @@ -65,6 +65,10 @@
             <td valign="top"><wt:widget-label id="altbirthdate"/></td>
             <td valign="top"><wt:widget id="altbirthdate"/></td>
           </tr>
  +        <tr>
  +          <td valign="top"><wt:widget-label id="dieselprice"/></td>
  +          <td valign="top"><wt:widget id="dieselprice"/></td>
  +        </tr>
         </table>
   
         <wt:widget-label id="contacts"/><br/>
  
  
  

Mime
View raw message