cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject svn commit: rev 57377 - cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms
Date Wed, 10 Nov 2004 21:31:26 GMT
Author: tim
Date: Wed Nov 10 13:31:26 2004
New Revision: 57377

Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template_action.xml
Log:
More Whitespace

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template_action.xml
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template_action.xml
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/form1_template_action.xml
Wed Nov 10 13:31:26 2004
@@ -21,110 +21,110 @@
   <content>
     <ft:form-template action="form1" method="POST">
       <div style="width: 90%; margin: 10px 50px 50px 50px;">
-                      
-            <!-- group with tabs. Each of the children of <items> will constitute
a tab -->
+
+        <!-- group with tabs. Each of the children of <items> will constitute a
tab -->
+        <fi:group>
+          <fi:styling type="tabs"/>
+          <fi:label>Choose a panel: </fi:label>
+          <fi:state>
+            <ft:widget id="tab-state"/>
+          </fi:state>
+
+          <fi:items>
+            <!-- group with automatic two-column layout -->
             <fi:group>
-              <fi:styling type="tabs"/>
-              <fi:label>Choose a panel: </fi:label>
-              <fi:state>
-                <ft:widget id="tab-state"/>
-              </fi:state>
-              
+              <fi:label>String fields</fi:label>
+              <fi:styling layout="columns"/>
               <fi:items>
-                <!-- group with automatic two-column layout -->
-                <fi:group>
-                  <fi:label>String fields</fi:label>
-                  <fi:styling layout="columns"/>
-                  <fi:items>
-                    <ft:widget id="email"/>
-                    <ft:widget id="fourchars">
-                      <!-- particular styling for the enumeration -->
-                      <fi:styling list-type="listbox" listbox-size="4"/>
-                    </ft:widget>
-                  </fi:items>
-                </fi:group>
-                
-                <fi:group>
-                  <fi:label>Number fields</fi:label>
-                  <fi:styling layout="columns"/>
-                  <fi:items>
-                    <ft:widget id="number1">
-                      <fi:styling submit-on-change="true"/>
-                    </ft:widget>
-                    <ft:widget id="number2"/>
-                    <ft:widget id="account"/>
-                    <ft:widget id="cowheight">
-                      <fi:styling list-type="radio"/>
-                    </ft:widget>
-                  </fi:items>
-                </fi:group>
-                
-                <fi:group>
-                  <fi:styling layout="columns"/>
-                  <fi:label>Boolean fields</fi:label>
-                  <fi:items>
-                    <ft:widget id="somebool"/>
-                    <ft:widget id="drinks">
-                      <fi:styling list-type="double-listbox">
-                        <fi:available-label>Available drinks</fi:available-label>
-                        <fi:selected-label>Your selection</fi:selected-label>
-                      </fi:styling>
-                    </ft:widget>
-                  </fi:items>
-                </fi:group>
+                <ft:widget id="email"/>
+                <ft:widget id="fourchars">
+                  <!-- particular styling for the enumeration -->
+                  <fi:styling list-type="listbox" listbox-size="4"/>
+                </ft:widget>
               </fi:items>
             </fi:group>
-            
-            <p>Checkout the <a href="form1.flow">form1 flow page</a> for
another way of formatting panels</p>
-            
-            <!-- Group of type 'fieldset' will have a surrounding frame -->
+
             <fi:group>
-              <fi:styling type="fieldset" layout="columns"/>
-              <fi:label>Misc controls</fi:label>
+              <fi:label>Number fields</fi:label>
+              <fi:styling layout="columns"/>
               <fi:items>
-                <ft:widget id="visa"/>
-                <ft:widget id="ipaddress"/>
-                <ft:widget id="altbirthdate"/>
-                <ft:widget id="altbirthdate2"/>
-                <ft:widget id="birthdate"/>
-                <ft:widget id="dieselprice"/>
+                <ft:widget id="number1">
+                  <fi:styling submit-on-change="true"/>
+                </ft:widget>
+                <ft:widget id="number2"/>
+                <ft:widget id="account"/>
+                <ft:widget id="cowheight">
+                  <fi:styling list-type="radio"/>
+                </ft:widget>
+              </fi:items>
+            </fi:group>
+
+            <fi:group>
+              <fi:styling layout="columns"/>
+              <fi:label>Boolean fields</fi:label>
+              <fi:items>
+                <ft:widget id="somebool"/>
+                <ft:widget id="drinks">
+                  <fi:styling list-type="double-listbox">
+                    <fi:available-label>Available drinks</fi:available-label>
+                    <fi:selected-label>Your selection</fi:selected-label>
+                  </fi:styling>
+                </ft:widget>
               </fi:items>
             </fi:group>
-            
-            <!-- manual layout of fields, without use of a fi:group -->
-            <ft:widget-label id="contacts"/><br/>
-            <ft:repeater-size id="contacts"/>
-            <table border="1">
-              <tr>
-                <th><ft:repeater-widget-label id="contacts" widget-id="firstname"/></th>
-                <th><ft:repeater-widget-label id="contacts" widget-id="lastname"/></th>
-                <th><ft:repeater-widget-label id="contacts" widget-id="phone"/></th>
-                <th><ft:repeater-widget-label id="contacts" widget-id="email"/></th>
-                <th><ft:repeater-widget-label id="contacts" widget-id="birthdate"/></th>
-                <th><ft:repeater-widget-label id="contacts" widget-id="select"/></th>
-              </tr>
-              <!-- The contents of the repeater-widget element is a template that will
-                   be applied to each row in the repeater. -->
-              <ft:repeater-widget id="contacts">
-                <tr>
-                  <td><ft:widget id="firstname"/></td>
-                  <td><ft:widget id="lastname"/></td>
-                  <td><ft:widget id="phone"/></td>
-                  <td><ft:widget id="email"/></td>
-                  <td>
-                    <ft:widget id="birthdate"/>
-                  </td>
-                  <td><ft:widget id="select"/></td>
-                </tr>
-              </ft:repeater-widget>
-              <tr>
-                <td colspan="4" align="right">
-                  <ft:widget id="addcontact"/>
-                  <ft:widget id="removecontacts"/>
-                </td>
-              </tr>
-            </table>
-            <input type="submit"/>
+          </fi:items>
+        </fi:group>
+
+        <p>Checkout the <a href="form1.flow">form1 flow page</a> for another
way of formatting panels</p>
+
+        <!-- Group of type 'fieldset' will have a surrounding frame -->
+        <fi:group>
+          <fi:styling type="fieldset" layout="columns"/>
+          <fi:label>Misc controls</fi:label>
+          <fi:items>
+            <ft:widget id="visa"/>
+            <ft:widget id="ipaddress"/>
+            <ft:widget id="altbirthdate"/>
+            <ft:widget id="altbirthdate2"/>
+            <ft:widget id="birthdate"/>
+            <ft:widget id="dieselprice"/>
+          </fi:items>
+        </fi:group>
+
+        <!-- manual layout of fields, without use of a fi:group -->
+        <ft:widget-label id="contacts"/><br/>
+        <ft:repeater-size id="contacts"/>
+        <table border="1">
+          <tr>
+            <th><ft:repeater-widget-label id="contacts" widget-id="firstname"/></th>
+            <th><ft:repeater-widget-label id="contacts" widget-id="lastname"/></th>
+            <th><ft:repeater-widget-label id="contacts" widget-id="phone"/></th>
+            <th><ft:repeater-widget-label id="contacts" widget-id="email"/></th>
+            <th><ft:repeater-widget-label id="contacts" widget-id="birthdate"/></th>
+            <th><ft:repeater-widget-label id="contacts" widget-id="select"/></th>
+          </tr>
+          <!-- The contents of the repeater-widget element is a template that will
+               be applied to each row in the repeater. -->
+          <ft:repeater-widget id="contacts">
+            <tr>
+              <td><ft:widget id="firstname"/></td>
+              <td><ft:widget id="lastname"/></td>
+              <td><ft:widget id="phone"/></td>
+              <td><ft:widget id="email"/></td>
+              <td>
+                <ft:widget id="birthdate"/>
+              </td>
+              <td><ft:widget id="select"/></td>
+            </tr>
+          </ft:repeater-widget>
+          <tr>
+            <td colspan="4" align="right">
+              <ft:widget id="addcontact"/>
+              <ft:widget id="removecontacts"/>
+            </td>
+          </tr>
+        </table>
+        <input type="submit"/>
       </div>
     </ft:form-template>
   </content>

Mime
View raw message