cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/webapp/samples components-samples.xml samples.xml sitemap.xmap
Date Sun, 07 Sep 2003 06:16:41 GMT
vgritsenko    2003/09/06 23:16:41

  Modified:    src/webapp/samples samples.xml sitemap.xmap
  Added:       src/webapp/samples components-samples.xml
  Log:
  Unclutter welcome page a bit: move individual components samples to the
  brand new, separate page
  
  Revision  Changes    Path
  1.26      +23 -28    cocoon-2.1/src/webapp/samples/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/samples.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- samples.xml	16 Aug 2003 13:43:36 -0000	1.25
  +++ samples.xml	7 Sep 2003 06:16:41 -0000	1.26
  @@ -1,6 +1,10 @@
   <?xml version="1.0" encoding="iso-8859-1"?>
   
  -<!-- CVS $Id$ -->
  +<!--+
  +    | Main samples page
  +    |
  +    | CVS $Id$
  +    +-->
   
   <samples name="Cocoon Samples" xmlns:xlink="http://www.w3.org/1999/xlink">
   
  @@ -47,6 +51,13 @@
       </sample>
     </group>  
   
  +  <group name="Cocoon Forms Processing">
  +    <sample href="simpleform/" name="Simple Forms">
  +      These examples show a simple way to work with HTML forms. More powerful
  +      form solutions can be found in the blocks section. 
  +    </sample>
  +  </group>  
  +
     <group name="More Core Samples">
       <sample href="modules/" name="The Power of Sitemap: Input Modules">
         This example shows the usage of Input Modules in sitemap attribute expressions.
  @@ -54,30 +65,22 @@
       <sample href="sources/" name="The Power of Sitemap: Sources">
         This example shows the usage of sources in the sitemap.
       </sample>    
  +    <sample href="errorhandling/" name="Error Handling">
  +      An example page producing exceptions and handling them. Demonstrates the 
  +      handler hierarchy and the exception selectors.
  +    </sample>
       <sample href="xsp/" name="Extensible Server Pages">
  -      Extensible Server Pages.
  +      Extensible Server Pages, or XSP.
       </sample>   
  -    <sample href="simpleform/" name="Simple Forms">
  -      These examples show a simple way to work with HTML forms. More powerful
  -      form solutions can be found in the blocks section. 
  -    </sample>
  -    <sample href="imagereader/" name="Image Reader">
  -      Examples of ImageReader component usage
  -    </sample> 
  -    <sample href="paginator/" name="Paginator">
  -      Examples of Paginator transformer usage
  +    <sample href="components" name="Components">
  +      Samples of different components included with the core
       </sample> 
       <sample href="soap/" name="SOAP">
         Cocoon ships with facilities for immediate connection to SOAP resources.
         These examples show you how to connect to any web service with a few
  -      lines of XML markup.
  +      lines of XML markup using SOAP XSP Logicsheet. See also axis block that
  +      integrates Axis into Cocoon. 
       </sample> 
  -    <note>
  -      There is also an Axis block available that integrates Axis into Cocoon.
  -    </note>   
  -    <sample href="stream/order" name="B2B: Order Page" xlink:role="dynamic">
  -      An example of B2B processing.
  -    </sample>   
     </group>
     
     <group name="Block Samples">
  @@ -94,18 +97,11 @@
         information on the cache and the object stores.
       </sample>
       <sample name="Clear Cache" href="clearcache.html">
  -      Empties the Cocoon cache.
  +      Empties the Cocoon in-memory cache.
       </sample>
  -    <sample name="Clear Persistent Store" href="clearpersistentstore.html">
  +    <sample name="Clear Store" href="clearpersistentstore.html">
         Empties the Cocoon persistent store.
       </sample>
  -    <sample name="Request Page" href="request.html">
  -      This example shows the usage of the RequestGenerator.
  -    </sample>
  -    <sample name="Error handling" href="errorhandling/">
  -      An example page producing exceptions and handling them. Demonstrates the 
  -      handler hierarchy and the exception selectors.
  -    </sample>
       <sample name="Link Status" href="linkstatus">
         Verify that there are no broken hyperlinks in the local Cocoon
         documentation. This sample will start at the home page of the local
  @@ -115,5 +111,4 @@
         you built the web application
       </sample>
     </group>
  -
   </samples>
  
  
  
  1.15      +9 -2      cocoon-2.1/src/webapp/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/sitemap.xmap,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- sitemap.xmap	29 Jul 2003 03:15:47 -0000	1.14
  +++ sitemap.xmap	7 Sep 2003 06:16:41 -0000	1.15
  @@ -92,6 +92,14 @@
       <map:serialize/>
      </map:match>
   
  +   <map:match pattern="components">
  +    <map:generate src="components-samples.xml"/>
  +    <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
  +       <map:parameter name="contextPath" value="{request:contextPath}"/>
  +    </map:transform>
  +    <map:serialize/>
  +   </map:match>
  +
      <!-- ========================= Utilities ================================ -->
   
      <map:match pattern="view-source">
  @@ -156,5 +164,4 @@
   
     </map:pipeline>
    </map:pipelines>
  -
   </map:sitemap>
  
  
  
  1.1                  cocoon-2.1/src/webapp/samples/components-samples.xml
  
  Index: components-samples.xml
  ===================================================================
  <?xml version="1.0" encoding="iso-8859-1"?>
  
  <!-- CVS $Id: components-samples.xml,v 1.1 2003/09/07 06:16:41 vgritsenko Exp $ -->
  
  <samples xmlns:xlink="http://www.w3.org/1999/xlink" name="Components Samples">
    
    <group name="Back">
     <sample name="Back" href="./">
      Back to the samples home page.
     </sample>
    </group>
  
    <group name="Generators">
      <sample href="stream/order" name="B2B: Order Page" xlink:role="dynamic">
        An example of B2B processing using StreamGenerator.
      </sample>   
      <sample href="request.html" name="Request Page">
        This example shows the usage of the RequestGenerator.
      </sample>
    </group>
  
    <group name="Transformers">
      <sample href="paginator/" name="Paginator">
        Examples of Paginator transformer usage
      </sample> 
    </group>
  
    <group name="Readers">
      <sample href="imagereader/" name="Image Reader">
        Examples of ImageReader component usage
      </sample> 
    </group>
  </samples>
  
  
  

Mime
View raw message