ovidiu 02/03/23 23:43:25
Modified: src/scratchpad/schecoon/webapp sitemap.xmap
Log:
Added entry for the calculator example.
Revision Changes Path
1.10 +14 -3 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.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sitemap.xmap 21 Mar 2002 23:30:30 -0000 1.9
+++ sitemap.xmap 24 Mar 2002 07:43:25 -0000 1.10
@@ -14,8 +14,9 @@
<map:resources>
<map:resource name="flow">
- <map:script src="example.js" language="JavaScript"/>
- <map:script src="example2.js" language="JavaScript"/>
+ <map:script src="example.js"/>
+ <map:script src="example2.js"/>
+ <map:script src="examples/calc/calc.js"/>
</map:resource>
<map:resource name="document2html">
@@ -34,6 +35,16 @@
<map:pipelines>
<map:pipeline>
+ <map:match pattern="calc/kont/*">
+ <map:call function="handleContinuation">
+ <map:parameter name="kontId" value="{1}"/>
+ </map:call>
+ </map:match>
+
+ <map:match pattern="calc/">
+ <map:call function="calculator"/>
+ </map:match>
+
<!-- Simple pipeline which has the pipeline definition inline. -->
<map:match pattern="documentation/*.html">
<map:generate src="docs/{1}.xml" type="file"/>
@@ -60,7 +71,7 @@
/schecoon/document/index.html
-->
<map:match pattern="*/*.html">
- <map:call resource="{1}2html">
+ <map:call resource="{1}">
<map:parameter name="source" value="docs/{2}.xml"/>
</map:call>
</map:match>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]