You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by fe...@apache.org on 2007/05/18 10:14:10 UTC
svn commit: r539304 -
/cocoon/trunk/blocks/cocoon-javaflow/cocoon-javaflow-sample/src/main/resources/COB-INF/sitemap.xmap
Author: felixk
Date: Fri May 18 01:14:04 2007
New Revision: 539304
URL: http://svn.apache.org/viewvc?view=rev&rev=539304
Log:
reformatting ...
Modified:
cocoon/trunk/blocks/cocoon-javaflow/cocoon-javaflow-sample/src/main/resources/COB-INF/sitemap.xmap
Modified: cocoon/trunk/blocks/cocoon-javaflow/cocoon-javaflow-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-javaflow/cocoon-javaflow-sample/src/main/resources/COB-INF/sitemap.xmap?view=diff&rev=539304&r1=539303&r2=539304
==============================================================================
--- cocoon/trunk/blocks/cocoon-javaflow/cocoon-javaflow-sample/src/main/resources/COB-INF/sitemap.xmap (original)
+++ cocoon/trunk/blocks/cocoon-javaflow/cocoon-javaflow-sample/src/main/resources/COB-INF/sitemap.xmap Fri May 18 01:14:04 2007
@@ -18,124 +18,124 @@
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
- <map:components>
-
- <map:generators default="file">
- <map:generator name="mygenerator" src="org.apache.cocoon.samples.reloading.MyGenerator"/>
- </map:generators>
-
- <map:transformers default="xslt">
- <map:transformer name="i18n" src="org.apache.cocoon.transformation.I18nTransformer">
- <catalogues default="other">
- <catalogue id="other" name="OtherMessages" location="context://samples/blocks/forms/messages"/>
- <catalogue id="forms" name="FormsMessages" location="context://samples/blocks/forms/messages"/>
- </catalogues>
- <cache-at-startup>true</cache-at-startup>
- </map:transformer>
- </map:transformers>
-
- <map:classloader factory-role="org.apache.cocoon.classloader.ClassLoaderFactory/reloading">
- <class-dir src="../../../../../../blocks/cocoon-javaflow/cocoon-javaflow-sample/target/classes">
- <store class="org.apache.cocoon.components.flow.java.JavaflowResourceStore"/>
- </class-dir>
- <class-dir src="../../../../../../blocks/cocoon-javaflow/cocoon-javaflow-impl/target/classes">
- <store class="org.apache.cocoon.components.flow.java.JavaflowResourceStore"/>
- </class-dir>
- <include-classes pattern="org.apache.cocoon.forms.flow.java.FormInstance"/>
- <include-classes pattern="org.apache.cocoon.samples.flow.java.**"/>
- <include-classes pattern="org.apache.cocoon.components.flow.java.AbstractContinuable"/>
- </map:classloader>
-
- <!--map:classloader factory-role="org.apache.cocoon.classloader.ClassLoaderFactory/reloading">
- <class-dir src="/home/mau/workspace/cocoon2.2/blocks/cocoon-javaflow/cocoon-javaflow-sample/target/classes">
- <store class="org.apache.commons.jci.stores.MemoryResourceStore"/>
- </class-dir>
- <include-classes pattern="org.apache.cocoon.samples.reloading.java.**"/>
- </map:classloader-->
-
-
- </map:components>
-
- <!-- indicates what flow classes to attach to this sitemap -->
- <map:flow language="java">
- <map:script src="org.apache.cocoon.samples.flow.java.CalculatorFlow"/>
-<!--
- <map:script src="org.apache.cocoon.samples.flow.java.FormFlow"/>
- <map:script src="org.apache.cocoon.samples.flow.java.PersistenceFlow"/>
--->
- </map:flow>
-
- <map:pipelines>
- <map:pipeline>
- <!--+
- | produces the screens called by the flowscript
- +-->
- <map:match pattern="page/*">
- <map:generate type="jx" src="screens/{1}.xml"/>
- <map:transform src="context://samples/common/style/xsl/html/complex-page2html.xsl">
- <map:parameter name="contextPath" value="{request:contextPath}"/>
- </map:transform>
- <map:serialize/>
- </map:match>
-
-<!--
- <map:match pattern="form/*">
- <map:generate src="forms/{1}-template.xml"/>
- <map:transform type="forms"/>
- <map:transform type="i18n">
- <map:parameter name="locale" value="en-US"/>
- </map:transform>
- <map:transform src="context://samples/common/style/xsl/html/complex-page2html.xsl">
- <map:parameter name="contextPath" value="{request:contextPath}"/>
- </map:transform>
- <map:transform src="context://samples/blocks/forms/resources/forms-samples-styling.xsl"/>
- <map:serialize/>
- </map:match>
--->
-
- </map:pipeline>
-
- <map:pipeline>
- <map:match pattern="reloading">
- <map:generate type="mygenerator"/>
- <map:serialize type="html"/>
- </map:match>
-
-
- <map:match pattern="">
- <map:generate src="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>
-
- <!--+
- | matches the page with the continuation ID and calls the flowscript
- | associated to this sitemap with the given continuation ID. The flow
- | engine will then look into the continuation store, retrieve
- | the correct continuation and resume execution of the flowscript
- | with that continuation. This guarantees transparent state
- | resumption between requests without the need for anything else
- | (cookies or URL-encoded session IDs)
- +-->
- <map:match pattern="*.cont">
- <map:call continuation="{1}"/>
- </map:match>
-
- <!--+
- | matches the call to the beginning of the flow and calls the flow
- | from its entry point which, in this case is the 'calculator()'
- | javascript function.
- +-->
- <map:match pattern="*.do">
- <map:call function="{1}"/>
- </map:match>
-
- <map:match pattern="resources/**">
- <map:redirect-to uri="/samples/blocks/forms/resources/{1}"/>
- </map:match>
+ <map:components>
- </map:pipeline>
- </map:pipelines>
+ <map:generators default="file">
+ <map:generator name="mygenerator" src="org.apache.cocoon.samples.reloading.MyGenerator" />
+ </map:generators>
+
+ <map:transformers default="xslt">
+ <map:transformer name="i18n" src="org.apache.cocoon.transformation.I18nTransformer">
+ <catalogues default="other">
+ <catalogue id="other" name="OtherMessages" location="context://samples/blocks/forms/messages" />
+ <catalogue id="forms" name="FormsMessages" location="context://samples/blocks/forms/messages" />
+ </catalogues>
+ <cache-at-startup>true</cache-at-startup>
+ </map:transformer>
+ </map:transformers>
+
+ <map:classloader factory-role="org.apache.cocoon.classloader.ClassLoaderFactory/reloading">
+ <class-dir src="../../../../../../blocks/cocoon-javaflow/cocoon-javaflow-sample/target/classes">
+ <store class="org.apache.cocoon.components.flow.java.JavaflowResourceStore" />
+ </class-dir>
+ <class-dir src="../../../../../../blocks/cocoon-javaflow/cocoon-javaflow-impl/target/classes">
+ <store class="org.apache.cocoon.components.flow.java.JavaflowResourceStore" />
+ </class-dir>
+ <include-classes pattern="org.apache.cocoon.forms.flow.java.FormInstance" />
+ <include-classes pattern="org.apache.cocoon.samples.flow.java.**" />
+ <include-classes pattern="org.apache.cocoon.components.flow.java.AbstractContinuable" />
+ </map:classloader>
+
+ <!--map:classloader factory-role="org.apache.cocoon.classloader.ClassLoaderFactory/reloading">
+ <class-dir src="/home/mau/workspace/cocoon2.2/blocks/cocoon-javaflow/cocoon-javaflow-sample/target/classes">
+ <store class="org.apache.commons.jci.stores.MemoryResourceStore"/>
+ </class-dir>
+ <include-classes pattern="org.apache.cocoon.samples.reloading.java.**"/>
+ </map:classloader-->
+
+
+ </map:components>
+
+ <!-- indicates what flow classes to attach to this sitemap -->
+ <map:flow language="java">
+ <map:script src="org.apache.cocoon.samples.flow.java.CalculatorFlow" />
+ <!--
+ <map:script src="org.apache.cocoon.samples.flow.java.FormFlow"/>
+ <map:script src="org.apache.cocoon.samples.flow.java.PersistenceFlow"/>
+ -->
+ </map:flow>
+
+ <map:pipelines>
+ <map:pipeline>
+ <!--+
+ | produces the screens called by the flowscript
+ +-->
+ <map:match pattern="page/*">
+ <map:generate type="jx" src="screens/{1}.xml" />
+ <map:transform src="context://samples/common/style/xsl/html/complex-page2html.xsl">
+ <map:parameter name="contextPath" value="{request:contextPath}" />
+ </map:transform>
+ <map:serialize />
+ </map:match>
+
+ <!--
+ <map:match pattern="form/*">
+ <map:generate src="forms/{1}-template.xml"/>
+ <map:transform type="forms"/>
+ <map:transform type="i18n">
+ <map:parameter name="locale" value="en-US"/>
+ </map:transform>
+ <map:transform src="context://samples/common/style/xsl/html/complex-page2html.xsl">
+ <map:parameter name="contextPath" value="{request:contextPath}"/>
+ </map:transform>
+ <map:transform src="context://samples/blocks/forms/resources/forms-samples-styling.xsl"/>
+ <map:serialize/>
+ </map:match>
+ -->
+
+ </map:pipeline>
+
+ <map:pipeline>
+ <map:match pattern="reloading">
+ <map:generate type="mygenerator" />
+ <map:serialize type="html" />
+ </map:match>
+
+
+ <map:match pattern="">
+ <map:generate src="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>
+
+ <!--+
+ | matches the page with the continuation ID and calls the flowscript
+ | associated to this sitemap with the given continuation ID. The flow
+ | engine will then look into the continuation store, retrieve
+ | the correct continuation and resume execution of the flowscript
+ | with that continuation. This guarantees transparent state
+ | resumption between requests without the need for anything else
+ | (cookies or URL-encoded session IDs)
+ +-->
+ <map:match pattern="*.cont">
+ <map:call continuation="{1}" />
+ </map:match>
+
+ <!--+
+ | matches the call to the beginning of the flow and calls the flow
+ | from its entry point which, in this case is the 'calculator()'
+ | javascript function.
+ +-->
+ <map:match pattern="*.do">
+ <map:call function="{1}" />
+ </map:match>
+
+ <map:match pattern="resources/**">
+ <map:redirect-to uri="/samples/blocks/forms/resources/{1}" />
+ </map:match>
+
+ </map:pipeline>
+ </map:pipelines>
</map:sitemap>