ovidiu      02/04/14 22:26:55

  Modified:    src/scratchpad/schecoon/webapp sitemap.xmap
  Log:
  Automount all the directories in the examples/ directory.
  
  Revision  Changes    Path
  1.19      +8 -28     xml-cocoon2/src/scratchpad/schecoon/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/webapp/sitemap.xmap,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- sitemap.xmap      10 Apr 2002 00:45:36 -0000      1.18
  +++ sitemap.xmap      15 Apr 2002 05:26:55 -0000      1.19
  @@ -11,38 +11,18 @@
       <map:flow-interpreters default="JavaScript"/>
     </map:components>
   
  -  <map:resources>
  -
  -    <map:resource name="flow">
  -      <map:script src="examples/calc/calc.js"/>
  -    </map:resource>
  -
  -  </map:resources>
  -
     <map:pipelines>
   
  -     <!-- Examples -->
  -
  +     <!-- All examples are located under the examples/ directory, and
  +     are standalone samples, with their own sitemap. The following
  +     generic mount operation loads them on demand. -->
       <map:pipeline>
  -      <map:match pattern="calc">
  -        <map:redirect-to uri="calc/"/>
  -      </map:match>
  -
  -      <map:match pattern="calc/kont/*">
  -        <map:continue with="{1}"/>
  -      </map:match>
  -
  -      <map:match pattern="calc/">
  -        <map:call function="calculator"/>
  -      </map:match>
  -   </map:pipeline>
  -
  -   <map:pipeline internal-only="false">
  -      <map:match pattern="calc/*.html">
  -        <map:generate src="examples/calc/{1}.xsp" type="serverpages"/>
  -        <map:serialize/>
  +      <map:match pattern="*/**">
  +        <map:mount uri-prefix="{1}"
  +                   src="examples/{1}/sitemap.xmap"
  +                   check-reload="yes"/>
         </map:match>
  -   </map:pipeline>
  +    </map:pipeline>
   
       <!-- Schecoon documentation pipeline -->
   
  
  
  

----------------------------------------------------------------------
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