You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@apache.org on 2004/03/14 12:13:09 UTC
cvs commit: cocoon-2.1/src/blocks/ojb/samples sitemap.xmap
stephan 2004/03/14 03:13:09
Modified: src/blocks/ojb/samples sitemap.xmap
Log:
Sync the ojb example with the latest change of the forms block.
Revision Changes Path
1.8 +10 -10 cocoon-2.1/src/blocks/ojb/samples/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/ojb/samples/sitemap.xmap,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sitemap.xmap 11 Mar 2004 16:59:50 -0000 1.7
+++ sitemap.xmap 14 Mar 2004 11:13:09 -0000 1.8
@@ -19,15 +19,15 @@
<map:components>
- <map:transformers default="xalan">
- <map:transformer name="i18n" src="org.apache.cocoon.transformation.I18nTransformer">
- <catalogues default="forms">
- <catalogue id="other" name="OtherMessages" location="messages"/>
- <catalogue id="forms" name="FormMessages" location="messages"/>
- </catalogues>
- <cache-at-startup>true</cache-at-startup>
- </map:transformer>
- </map:transformers>
+ <map:transformers default="xalan">
+ <map:transformer name="i18n" src="org.apache.cocoon.transformation.I18nTransformer">
+ <catalogues default="form">
+ <catalogue id="other" name="OtherMessages" location="context://samples/forms/messages"/>
+ <catalogue id="form" name="FormMessages" location="context://samples/forms/messages"/>
+ </catalogues>
+ <cache-at-startup>true</cache-at-startup>
+ </map:transformer>
+ </map:transformers>
</map:components>
@@ -79,7 +79,7 @@
-->
<map:match pattern="jdo/forms/employee">
- <map:call function="forms">
+ <map:call function="handleForm">
<map:parameter name="function" value="employeeform_jdo"/>
<map:parameter name="form-definition" value="forms/employee.xml"/>
<map:parameter name="bindingURI" value="forms/employee_bind.xml"/>