bruno       2003/08/12 06:29:54

  Modified:    src/blocks/woody/samples/forms form2_template.xml
  Log:
  hide id field + remove comment about not editing id field
  
  Revision  Changes    Path
  1.3       +2 -6      
cocoon-2.1/src/blocks/woody/samples/forms/form2_template.xml
  
  Index: form2_template.xml
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/form2_template.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- form2_template.xml        12 Aug 2003 12:59:10 -0000      1.2
  +++ form2_template.xml        12 Aug 2003 13:29:54 -0000      1.3
  @@ -6,11 +6,6 @@
         is based on JXPath and hence works both with XML documents and beans.
         Some warnings and limitations of the current implementation:</p>
       <ul>
  -      <li>In the repeater (the list of contacts), you should not modify the 
id
  -        column. For newly added rows leave the id blank, for existing rows do
  -        not modify it. In the future this will become a hidden and read-only
  -        widget. Other repeater-binding strategies that do not depend on an id
  -        field could of course be created.</li>
         <li>the email address is marked in the binding as "read-only", meaning 
it
           will only be bound from bean/xml to form, but not in the other
           direction. So you won't see it changed in the bean or the XML.</li>
  @@ -58,7 +53,6 @@
         <wt:repeater-size id="contacts"/>
         <table border="1">
           <tr>
  -          <th>(id)</th>
             <th><wt:repeater-widget-label id="contacts" 
widget-id="firstname"/></th>
             <th><wt:repeater-widget-label id="contacts" 
widget-id="lastname"/></th>
             <th><wt:repeater-widget-label id="contacts" 
widget-id="phone"/></th>
  @@ -70,7 +64,9 @@
           be applied to each row in the repeater. -->
           <wt:repeater-widget id="contacts">
             <tr>
  +            <!-- Don't show the id
               <td>[<wt:widget id="id"/>]</td>
  +            -->
               <td><wt:widget id="firstname"/></td>
               <td><wt:widget id="lastname"/></td>
               <td><wt:widget id="phone"/></td>
  
  
  

Reply via email to