You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2003/08/07 10:44:53 UTC

cvs commit: cocoon-2.1/src/blocks/xmlform/samples sitemap.xmap

reinhard    2003/08/07 01:44:53

  Modified:    src/blocks/xmlform/samples sitemap.xmap
  Log:
  - comment out non-FOM flow interpreter
  
  Revision  Changes    Path
  1.4       +12 -11    cocoon-2.1/src/blocks/xmlform/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/xmlform/samples/sitemap.xmap,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- sitemap.xmap	13 May 2003 12:06:12 -0000	1.3
  +++ sitemap.xmap	7 Aug 2003 08:44:53 -0000	1.4
  @@ -17,8 +17,9 @@
                     src="org.apache.cocoon.samples.xmlform.CalculatorAction"/>
       </map:actions>
   
  +    <!--
       <map:flow-interpreters default="JavaScript"/>
  -
  +    -->
       <map:serializers default="html"/>
   
       <map:matchers default="wildcard"/>
  @@ -50,10 +51,11 @@
     </map:resources>
   
     <!-- =========================== Pipelines ================================= -->
  +  <!--
     <map:flow language="JavaScript">
       <map:script src="flow/feedbackWizard.js"/>
     </map:flow>
  -
  +  -->
     <map:pipelines> 
     
       <map:pipeline>
  @@ -140,11 +142,9 @@
         </map:match>  
       </map:pipeline>
       
  -  
  +    <!--  
       <map:pipeline>
  -
  -      <!-- The same application, using the Cocoon Flow Layer -->
  -
  +      - The same application, using the Cocoon Flow Layer
         <map:match pattern="flow">
           <map:call function="xmlForm">
             <map:parameter name="xmlform-function" value="feedbackWizard"/>
  @@ -156,25 +156,26 @@
         </map:match>
   
         <map:match pattern="flow/*.xml">
  -	      <!-- original XMLForm document -->
  +	      - original XMLForm document 
   	      <map:generate src="flow/{1}.xml"/>
   	      
  -	      <!-- populating the document with model instance data -->
  +	      - populating the document with model instance data
   	      <map:transform type="xmlform"  label="xml"/>
   	
  -	      <!-- personalizing the look and feel of the form controls  -->
  +	      - personalizing the look and feel of the form controls
   	      <map:transform type="xalan" src="stylesheets/wizard2page.xsl"/>
           <map:transform src="context://samples/common/style/xsl/html/complex-page2html.xsl">
             <map:parameter name="contextPath" value="{request:contextPath}"/>
           </map:transform>
   	
  -	      <!-- Transforming the XMLForm controls to HTML controls -->
  +	      - Transforming the XMLForm controls to HTML controls
   	      <map:transform src="context://stylesheets/system/xmlform2html.xslt"/>
   	      
  -	      <!-- sending the HTML back to the browser -->
  +	      - sending the HTML back to the browser
   	      <map:serialize type="html" label="debug"/>
         </map:match>	      
       </map:pipeline>
  +    -->
   
   
       <map:pipeline>