ovidiu 02/02/12 17:56:22
Modified: src/scratchpad/schecoon/webapp sitemap.xmap
Log:
Added support for including flow scripts and to invoke saved continuations.
Revision Changes Path
1.3 +12 -0 xml-cocoon2/src/scratchpad/schecoon/webapp/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/webapp/sitemap.xmap,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sitemap.xmap 1 Feb 2002 01:44:14 -0000 1.2
+++ sitemap.xmap 13 Feb 2002 01:56:22 -0000 1.3
@@ -4,6 +4,10 @@
<map:resources>
+ <map:resource type="flow">
+ <map:script src="/example.scm" language="scheme"/>
+ </map:resource>
+
<map:resource name="document2html">
<map:generate src="{source}" type="file"/>
<map:transform src="stylesheets/document2html.xsl"/>
@@ -70,7 +74,15 @@
</map:call>
</map:match>
+ <!-- This pipeline executes continuations stored on the server -->
+ <map:match pattern="kont/(.*)">
+ <map:call function="schecoon:handle-continuation">
+ <map:param name="kont-id" value="{1}"/>
+ </map:call>
+ </map:match>
+
</map:pipeline>
+
</map:pipelines>
</map:sitemap>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]