You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ti...@apache.org on 2004/11/10 22:27:26 UTC

svn commit: rev 57376 - cocoon/trunk/src/blocks/forms/samples/forms

Author: tim
Date: Wed Nov 10 13:27:26 2004
New Revision: 57376

Modified:
   cocoon/trunk/src/blocks/forms/samples/forms/form1_template.xml
Log:
Whitespace

Modified: cocoon/trunk/src/blocks/forms/samples/forms/form1_template.xml
==============================================================================
--- cocoon/trunk/src/blocks/forms/samples/forms/form1_template.xml	(original)
+++ cocoon/trunk/src/blocks/forms/samples/forms/form1_template.xml	Wed Nov 10 13:27:26 2004
@@ -104,34 +104,34 @@
             <th><ft:repeater-widget-label id="contacts" widget-id="birthdate"/></th>
             <th><ft:repeater-widget-label id="contacts" widget-id="select"/></th>
           </tr>
-              <jx:choose>
-                <jx:when test="${widget.getChild('contacts').getSize() == 0}">
-                  <tr><td colspan="6" align="center"><em>There are no contacts to display</em></td></tr>
-                </jx:when>
-                <jx:otherwise>
-                  <!-- 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>
-                </jx:otherwise>
-              </jx:choose>
+          <jx:choose>
+            <jx:when test="${widget.getChild('contacts').getSize() == 0}">
+              <tr><td colspan="6" align="center"><em>There are no contacts to display</em></td></tr>
+            </jx:when>
+            <jx:otherwise>
+              <!-- 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>
+            </jx:otherwise>
+          </jx:choose>
           <tr>
             <td colspan="6">
               <ft:widget id="addcontact"/>
-                  <jx:if test="${widget.getChild('contacts').getSize() > 0}">
-                    <ft:widget id="removecontacts"/>
-                    <br/>
-                    <small>Hint: remove all contacts to see how dynamic form templates can change
-                      their layout depending on widget values</small>
-                  </jx:if>
+              <jx:if test="${widget.getChild('contacts').getSize() > 0}">
+                <ft:widget id="removecontacts"/>
+                <br/>
+                <small>Hint: remove all contacts to see how dynamic form templates can change
+                  their layout depending on widget values</small>
+              </jx:if>
             </td>
           </tr>
         </table>