cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Portier <...@outerthought.org>
Subject Re: cvs commit: cocoon-2.1/src/blocks/woody/samples/forms/binding done.jx
Date Wed, 31 Dec 2003 07:37:35 GMT
thx for cleaning up David...
don't know how I got those...
odd that the other files were ok?

aha spotted the issue: forgot to set the keyword substitutions, wrongly 
checked in as binary!

trying to fix...

-marc=

crossley@apache.org wrote:
> 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>
>   
>   
>   

-- 
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at                http://blogs.cocoondev.org/mpo/
mpo@outerthought.org                              mpo@apache.org


Mime
View raw message