cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r452102 - in /cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF: components-samples.xml components/ components/source-writing-transformer.xml sitemap.xmap
Date Mon, 02 Oct 2006 16:08:50 GMT
Author: vgritsenko
Date: Mon Oct  2 09:08:49 2006
New Revision: 452102

URL: http://svn.apache.org/viewvc?view=rev&rev=452102
Log:
add swt sample

Added:
    cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/components/
      - copied from r452077, cocoon/branches/BRANCH_2_1_X/src/webapp/samples/components/
    cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/components/source-writing-transformer.xml
      - copied unchanged from r452077, cocoon/branches/BRANCH_2_1_X/src/webapp/samples/components/source-writing-transformer.xml
Modified:
    cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/components-samples.xml
    cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/sitemap.xmap

Modified: cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/components-samples.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/components-samples.xml?view=diff&rev=452102&r1=452101&r2=452102
==============================================================================
--- cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/components-samples.xml
(original)
+++ cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/components-samples.xml
Mon Oct  2 09:08:49 2006
@@ -50,6 +50,9 @@
   </group>
 
   <group name="Transformers">
+    <sample href="source-write.xml" name="SourceWritingTransformer">
+      Examples of source writing transformer usage
+    </sample> 
     <sample href="paginator/" name="Paginator">
       Examples of Paginator transformer usage
     </sample> 

Modified: cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/sitemap.xmap?view=diff&rev=452102&r1=452101&r2=452102
==============================================================================
--- cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-additional-sample/src/main/resources/COB-INF/sitemap.xmap
Mon Oct  2 09:08:49 2006
@@ -96,14 +96,6 @@
 
       <!-- ======================= Other Samples =========================== -->
 
-      <map:match pattern="scratchpad">
-        <map:generate src="scratchpad-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>
-
       <map:match pattern="components">
         <map:generate src="components-samples.xml"/>
         <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
@@ -120,6 +112,42 @@
         <map:serialize/>
       </map:match>
 
+      <map:match pattern="request.html">
+        <map:generate type="request"/>
+        <map:transform src="context://stylesheets/system/xml2html.xslt"/>
+        <map:serialize/>
+      </map:match>
+
+      <map:match pattern="source-write.xml">
+        <map:generate src="components/source-writing-transformer.xml"/>
+        <map:transform type="write-source"/>
+        <map:serialize type="xml"/>
+      </map:match>
+
+      <map:match pattern="cal">
+        <map:generate type="calendar" label="content">
+          <!-- Uncomment and set a value for the desired month and year
+          <map:parameter name="month" value="6"/>
+          <map:parameter name="year" value="1998"/>
+          -->
+          <!-- Uncomment the line below to set a fixed date format -->
+          <!--
+          <map:parameter name="dateFormat" value="EEEE, MMMM d yyyy"/>
+          -->
+          <map:parameter name="lang" value="{request-param:lang}"/>
+          <map:parameter name="country" value="{request-param:country}"/>
+        </map:generate>
+        <map:transform src="stylesheets/calendar2html.xslt"/>
+        <!-- to localize the column headers, remove the comments below -->
+        <!--
+        <map:transform type="i18n">
+           <map:parameter name="default-catalogue-id" value="messages"/>
+           <map:parameter name="locale" value="{request-param:lang}"/>
+        </map:transform> 
+        -->
+        <map:serialize/>
+      </map:match>
+
       <!-- ======================== Utilities ============================== -->
 
       <map:match pattern="**sitemap.xmap">
@@ -147,7 +175,7 @@
 
       <map:match pattern="status-with-continuations.xml">
         <map:generate type="status">
-					<map:parameter name="show-cont" value="true"/>
+          <map:parameter name="show-cont" value="true"/>
         </map:generate>
         <map:serialize type="xml"/>
       </map:match>     
@@ -181,36 +209,6 @@
         <map:generate src="no-persistent-store.xml"/>
         <map:transform src="context://stylesheets/system/xml2html.xslt"/>
         <map:serialize type="html"/>
-      </map:match>
-
-      <map:match pattern="request.html">
-        <map:generate type="request"/>
-        <map:transform src="context://stylesheets/system/xml2html.xslt"/>
-        <map:serialize/>
-      </map:match>
-
-      <map:match pattern="cal">
-        <map:generate type="calendar" label="content">
-          <!-- Uncomment and set a value for the desired month and year
-          <map:parameter name="month" value="6"/>
-          <map:parameter name="year" value="1998"/>
-          -->
-          <!-- Uncomment the line below to set a fixed date format -->
-          <!--
-          <map:parameter name="dateFormat" value="EEEE, MMMM d yyyy"/>
-          -->
-          <map:parameter name="lang" value="{request-param:lang}"/>
-          <map:parameter name="country" value="{request-param:country}"/>
-        </map:generate>
-        <map:transform src="stylesheets/calendar2html.xslt"/>
-        <!-- to localize the column headers, remove the comments below -->
-        <!--
-        <map:transform type="i18n">
-           <map:parameter name="default-catalogue-id" value="messages"/>
-           <map:parameter name="locale" value="{request-param:lang}"/>
-        </map:transform> 
-        -->
-        <map:serialize/>
       </map:match>
 
       <!-- ========================= Automount ============================= -->



Mime
View raw message