cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/webapp/mount/lint sitemap.xmap
Date Mon, 17 Jun 2002 02:20:44 GMT
vgritsenko    2002/06/16 19:20:44

  Modified:    src/webapp/mount/lint sitemap.xmap
  Log:
  fix bug 8658
  
  Revision  Changes    Path
  1.3       +53 -25    xml-cocoon2/src/webapp/mount/lint/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/mount/lint/sitemap.xmap,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sitemap.xmap	17 Jan 2002 03:51:38 -0000	1.2
  +++ sitemap.xmap	17 Jun 2002 02:20:44 -0000	1.3
  @@ -17,6 +17,31 @@
       </map:selectors>
     </map:components>
   
  +  <map:views>
  +    <map:view name="content" from-label="content">
  +      <!--
  +        Views can have same stuff as other pipelines except generator,
  +        reader, mount, redirect.
  +      -->
  +      <map:match pattern="test">
  +        <map:transform src="test"/>
  +      </map:match>
  +      <map:act type="request"/>
  +      <map:serialize type="xml"/>
  +    </map:view>
  +  </map:views>
  +
  +  <map:resources>
  +    <map:resource name="slides">
  +      <map:generate src="test"/>
  +      <map:match pattern="test">
  +        <map:transform src="test"/>
  +      </map:match>
  +      <map:act type="request"/>
  +      <map:serialize/>
  +    </map:resource>
  +  </map:resources>
  +
     <map:pipelines>
       <!-- The only working pipeline here -->
       <map:pipeline>
  @@ -142,6 +167,7 @@
             </map:match>
           </map:when>
           <map:when test="four">
  +          <map:generate src="one"/>
             <map:select>
               <map:when test="one-one">
                 <map:transform src="five"/>
  @@ -150,6 +176,7 @@
                 <map:transform src="six"/>
               </map:otherwise>
             </map:select>
  +          <map:serialize/>
           </map:when>
           <map:when test="five">
             <map:mount uri-prefix="one/" src="one/" check-reload="yes"/>
  @@ -159,34 +186,36 @@
           </map:otherwise>
         </map:select>
   
  -      <!-- 3. actions allow any nested components -->
  -      <map:act type="request">
  -        <map:generate src="one"/>
  -        <map:match pattern="test-one-2-nested">
  -          <map:transform src="two"/>
  -        </map:match>
  +      <map:match pattern="test">
  +        <!-- 3. actions allow any nested components -->
           <map:act type="request">
  -          <map:transform src="three"/>
  +          <map:generate src="one"/>
  +          <map:match pattern="test-one-2-nested">
  +            <map:transform src="two"/>
  +          </map:match>
  +          <map:act type="request">
  +            <map:transform src="three"/>
  +          </map:act>
  +          <map:select>
  +            <map:when test="one">
  +              <map:transform src="four"/>
  +            </map:when>
  +            <map:otherwise>
  +              <map:transform src="five"/>
  +            </map:otherwise>
  +          </map:select>
  +          <map:transform src="six"/>
  +          <map:serialize/>
           </map:act>
  -        <map:select>
  -          <map:when test="one">
  -            <map:transform src="four"/>
  -          </map:when>
  -          <map:otherwise>
  -            <map:transform src="five"/>
  -          </map:otherwise>
  -        </map:select>
  -        <map:transform src="six"/>
  -        <map:serialize/>
  -      </map:act>
   
  -      <map:act type="request">
  -        <map:mount uri-prefix="one/" src="one/" check-reload="yes"/>
  -      </map:act>
  +        <map:act type="request">
  +          <map:mount uri-prefix="one/" src="one/" check-reload="yes"/>
  +        </map:act>
   
  -      <map:act type="request">
  -        <map:read src="one"/>
  -      </map:act>
  +        <map:act type="request">
  +          <map:read src="one"/>
  +        </map:act>
  +      </map:match>
   
         <!-- 4. direct components are also allowed at the top level -->
         <map:generate src="test-four"/>
  @@ -216,7 +245,6 @@
           <map:transform src="five"/>
           <map:serialize/>
         </map:handle-errors>
  -
       </map:pipeline>
   
       <!-- Test substitutions -->
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message