ovidiu 02/04/15 17:38:47
Modified: src/scratchpad/schecoon/webapp/examples/calc sitemap.xmap
Log:
Pass the prefix URI to the calculator function.
Revision Changes Path
1.2 +5 -1
xml-cocoon2/src/scratchpad/schecoon/webapp/examples/calc/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/scratchpad/schecoon/webapp/examples/calc/sitemap.xmap,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sitemap.xmap 15 Apr 2002 05:21:46 -0000 1.1
+++ sitemap.xmap 16 Apr 2002 00:38:47 -0000 1.2
@@ -25,7 +25,11 @@
</map:match>
<map:match pattern="">
- <map:call function="calculator"/>
+ <map:call function="calculator">
+ <!-- Don't forget to modify the value of the parameter if
+ mounted at a different URI -->
+ <map:parameter name="prefix" value="/examples/calc/"/>
+ </map:call>
</map:match>
<map:match pattern="*.html">
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]