You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2004/03/09 16:09:41 UTC
cvs commit: cocoon-2.1/src/blocks/petstore/samples sitemap.xmap
reinhard 2004/03/09 07:09:41
Modified: src/blocks/petstore/samples sitemap.xmap
Log:
Woody-->CocoonForms
Revision Changes Path
1.10 +12 -23 cocoon-2.1/src/blocks/petstore/samples/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/petstore/samples/sitemap.xmap,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sitemap.xmap 6 Mar 2004 02:26:17 -0000 1.9
+++ sitemap.xmap 9 Mar 2004 15:09:41 -0000 1.10
@@ -14,26 +14,23 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-
-<!-- ======================== Components =========================== -->
+ <!-- ======================== Components =========================== -->
<map:components>
<map:transformers default="xslt">
<map:transformer name="jx" src="org.apache.cocoon.transformation.JXTemplateTransformer" logger="jx.sitemap.transformer"/>
- <map:transformer name="woody" src="org.apache.cocoon.woody.transformation.WoodyTemplateTransformer" logger="woody"/>
+ <map:transformer name="forms" src="org.apache.cocoon.forms.transformation.FormsTemplateTransformer" logger="forms"/>
</map:transformers>
<map:generators default="file">
<map:generator logger="sitemap.generator.velocity" name="velocity" src="org.apache.cocoon.generation.VelocityGenerator"/>
<map:generator logger="sitemap.generator.jx" name="jx" src="org.apache.cocoon.generation.JXTemplateGenerator"/>
- <map:generator name="woody" src="org.apache.cocoon.woody.generation.WoodyGenerator" logger="woody"/>
+ <map:generator name="forms" src="org.apache.cocoon.forms.generation.FormsGenerator" logger="forms"/>
</map:generators>
<map:serializers default="html"/>
<map:matchers default="wildcard"/>
</map:components>
-
-<!-- ======================== Views ================================ -->
-<!--
+ <!-- ======================== Views ================================ -->
+ <!--
The debug view can be used to output an intermediate
snapshot of the pipeline.
Pass cocoon-view=debug as a URL parameter to see
@@ -50,24 +47,20 @@
<map:serialize type="xml"/>
</map:view>
</map:views>
-
-<!-- ======================== Resources ============================ -->
+ <!-- ======================== Resources ============================ -->
<map:resources>
<map:resource name="html">
<map:transform src="stylesheets/site2html.xsl"/>
<map:serialize type="html"/>
</map:resource>
</map:resources>
-
-<!-- ======================== Flow ================================= -->
+ <!-- ======================== Flow ================================= -->
<map:flow language="javascript">
<map:script src="flow/PetStoreImpl.js"/>
<map:script src="flow/petstore.js"/>
</map:flow>
-
-<!-- ======================== Pipelines ============================ -->
+ <!-- ======================== Pipelines ============================ -->
<map:pipelines>
-
<map:pipeline>
<map:match pattern="*.kont">
<!-- This handles sendPage*() continuations.-->
@@ -78,24 +71,22 @@
<map:parameter name="page" value="{1}"/>
</map:call>
</map:match>
-
<map:match pattern="">
<map:call function="index"/>
</map:match>
</map:pipeline>
-
<map:pipeline>
<map:match pattern="view/*.xsp">
<map:generate src="view/xsp/{1}.xsp" type="serverpages" label="debug"/>
<map:call resource="html"/>
</map:match>
<map:match pattern="view/*.jxpath">
- <map:generate src="view/jxpath/{1}.xml" type="file" />
- <map:transform type="jx" label="debug"/>
+ <map:generate src="view/jxpath/{1}.xml" type="file"/>
+ <map:transform type="jx" label="debug"/>
<map:call resource="html"/>
</map:match>
<map:match pattern="view/*.jexl">
- <map:generate src="view/jexl/{1}.xml" type="jx" label="debug"/>
+ <map:generate src="view/jexl/{1}.xml" type="jx" label="debug"/>
<map:call resource="html"/>
</map:match>
<map:match pattern="view/*.vm">
@@ -104,11 +95,10 @@
</map:match>
<map:match pattern="view/*.cforms">
<map:generate src="view/forms/{1}_t.xml" label="debug"/>
- <map:transform type="woody" label="debug1"/>
+ <map:transform type="forms" label="debug1"/>
<map:call resource="html"/>
</map:match>
</map:pipeline>
-
<map:pipeline>
<map:match pattern="images/*.gif">
<map:read mime-type="images/gif" src="images/{1}.gif"/>
@@ -117,7 +107,6 @@
<map:read mime-type="images/jpeg" src="images/{1}.jpg"/>
</map:match>
</map:pipeline>
-
</map:pipelines>
</map:sitemap>
<!-- end of file -->