cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/woody/samples/forms/binding done.jx
Date Tue, 30 Dec 2003 22:14:15 GMT
crossley    2003/12/30 14:14:15

  Modified:    src/blocks/woody/samples/forms/binding done.jx
  Log:
  Fix dos2unix line-endings.
  
  Revision  Changes    Path
  1.2       +47 -47    cocoon-2.1/src/blocks/woody/samples/forms/binding/done.jx
  
  Index: done.jx
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/binding/done.jx,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- done.jx	30 Dec 2003 17:27:30 -0000	1.1
  +++ done.jx	30 Dec 2003 22:14:15 -0000	1.2
  @@ -1,48 +1,48 @@
  -<?xml version="1.0"?>
  -<page xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
  -
  -  <jx:macro name="dumpBean">
  -    <jx:parameter name="bean"/>
  -    <table cellspacing="2" cellpadding="1" bgcolor="#222222">
  -      <jx:forEach select="#{$bean/*}">
  -          <tr>
  -            <td bgcolor="#eeeeee">#{local-name(.)}</td>
  -            <td bgcolor="#ffffff">
  -              <jx:choose>
  -                <jx:when test="#{starts-with(.,'[object ')}">
  -                  <dumpBean bean="#{.}" />
  -                </jx:when>
  -                <jx:otherwise>
  -                  #{.}
  -                </jx:otherwise>
  -              </jx:choose>
  -            </td>
  -          </tr>
  -      </jx:forEach>
  -    </table>
  -  </jx:macro>
  -
  -
  -  <title>BindingSample :: Result</title>
  -  <content>
  -    <i>Contents of the #{./backendType} BEAN after using the binding for save():</i>
  -    <br/>
  -    
  -    <blockquote>
  -      <dumpBean bean="#{./bean}" />
  -	  <!-- BEAN = #{./bean} -->
  -	  <!-- BEAN-simple = #{./bean/simple} -->
  -    </blockquote>
  -    
  -    <i>Same sample using different backend-models: 
  -      <a href="./binding-#{./sampleCode}-JS.flow">JS</a> - 
  -      <a href="./binding-#{./sampleCode}-Java.flow">Java</a> - 
  -      <a href="./binding-#{./sampleCode}-XML.flow">XML</a>
  -    </i>
  -    
  -    <br/>
  -    
  -    <i>Other <a href="./">binding samples</a></i>
  -    
  -  </content>
  +<?xml version="1.0"?>
  +<page xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
  +
  +  <jx:macro name="dumpBean">
  +    <jx:parameter name="bean"/>
  +    <table cellspacing="2" cellpadding="1" bgcolor="#222222">
  +      <jx:forEach select="#{$bean/*}">
  +          <tr>
  +            <td bgcolor="#eeeeee">#{local-name(.)}</td>
  +            <td bgcolor="#ffffff">
  +              <jx:choose>
  +                <jx:when test="#{starts-with(.,'[object ')}">
  +                  <dumpBean bean="#{.}" />
  +                </jx:when>
  +                <jx:otherwise>
  +                  #{.}
  +                </jx:otherwise>
  +              </jx:choose>
  +            </td>
  +          </tr>
  +      </jx:forEach>
  +    </table>
  +  </jx:macro>
  +
  +
  +  <title>BindingSample :: Result</title>
  +  <content>
  +    <i>Contents of the #{./backendType} BEAN after using the binding for save():</i>
  +    <br/>
  +    
  +    <blockquote>
  +      <dumpBean bean="#{./bean}" />
  +	  <!-- BEAN = #{./bean} -->
  +	  <!-- BEAN-simple = #{./bean/simple} -->
  +    </blockquote>
  +    
  +    <i>Same sample using different backend-models: 
  +      <a href="./binding-#{./sampleCode}-JS.flow">JS</a> - 
  +      <a href="./binding-#{./sampleCode}-Java.flow">Java</a> - 
  +      <a href="./binding-#{./sampleCode}-XML.flow">XML</a>
  +    </i>
  +    
  +    <br/>
  +    
  +    <i>Other <a href="./">binding samples</a></i>
  +    
  +  </content>
   </page>
  
  
  

Mime
View raw message