ivelin      2002/10/27 00:27:44

  Modified:    src/webapp/samples/xmlform sitemap.xmap
  Log:
  Implement automated population with default values of unchecked check-boxes
  
  Revision  Changes    Path
  1.12      +7 -14     xml-cocoon2/src/webapp/samples/xmlform/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/xmlform/sitemap.xmap,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- sitemap.xmap      20 Oct 2002 12:25:46 -0000      1.11
  +++ sitemap.xmap      27 Oct 2002 07:27:44 -0000      1.12
  @@ -3,16 +3,9 @@
   
     <!-- =========================== Components ================================ -->
     <map:components> 
  -    <map:generators default="file"/>
  -    <map:transformers default="xslt">
  -      <map:transformer name="xmlform" 
src="org.apache.cocoon.transformation.XMLFormTransformer" logger="xmlform"/>
  -    </map:transformers>
  -    <map:readers default="resource"/>
  -    <map:serializers default="html"/>
  -    <map:selectors default="browser"/>
       <map:actions>
  -      <map:action name="WizardAction" 
src="org.apache.cocoon.samples.xmlform.WizardAction"  logger="xmlform"/>
  -      <map:action name="UsageFeedbackAction" 
src="org.apache.cocoon.samples.xmlform.UsageFeedbackAction"  logger="xmlform"/>
  +      <map:action name="WizardAction" 
src="org.apache.cocoon.samples.xmlform.WizardAction"  
logger="sitemap.action.xmlform.wizard"/>
  +      <map:action name="UsageFeedbackAction" 
src="org.apache.cocoon.samples.xmlform.UsageFeedbackAction"  
logger="sitemap.action.xmlform.UsageFeedback"/>
       </map:actions>
     </map:components>
   
  @@ -71,21 +64,21 @@
             <map:parameter name="xmlform-scope" value="session"/>
             <map:parameter name="xmlform-model" 
value="org.apache.cocoon.samples.xmlform.UserBean"/>
   
  -      
  +       
              <!-- original XMLForm document -->
              <map:generate src="wizard/{page}.xml"/>
              
              <!-- populating the document with model instance data -->
  -           <map:transform type="xmlform"  label="debug, xml"/>
  +           <map:transform type="xmlform"  label="xml"/>
        
              <!-- personalizing the look and feel of the form controls  -->
  -           <map:transform src="stylesheets/wizard2html.xsl"/>
  +           <map:transform src="stylesheets/wizard2html.xsl" />
        
              <!-- Transforming the XMLForm controls to HTML controls -->
  -           <map:transform 
src="context://samples/stylesheets/xmlform/xmlform2html.xsl"/>
  +           <map:transform 
src="context://samples/stylesheets/xmlform/xmlform2html.xsl" />
              
              <!-- sending the HTML back to the browser -->
  -           <map:serialize type="html"/>
  +           <map:serialize type="html" label="debug"/>
              
           </map:act>
         </map:match>  
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to