stephan 2004/03/11 03:23:37
Modified: src/blocks/forms/samples sitemap.xmap Added: src/blocks/forms/conf forms-generator.xmap forms-transformator.xmap Log: Move generator and transformer declarations into patch files, to make them available to other blocks. Revision Changes Path 1.1 cocoon-2.1/src/blocks/forms/conf/forms-generator.xmap Index: forms-generator.xmap =================================================================== <?xml version="1.0"?> <!-- Copyright 1999-2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <xmap xpath="/sitemap/components/generators" unless="[EMAIL PROTECTED]'form']"> <map:generator name="form" logger="forms" src="org.apache.cocoon.forms.generation.FormGenerator"/> </xmap> 1.1 cocoon-2.1/src/blocks/forms/conf/forms-transformator.xmap Index: forms-transformator.xmap =================================================================== <?xml version="1.0"?> <!-- Copyright 1999-2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <xmap xpath="/sitemap/components/transformers" unless="[EMAIL PROTECTED]'form']"> <map:transformer name="form" logger="forms" src="org.apache.cocoon.forms.transformation.FormTemplateTransformer"/> </xmap> 1.3 +0 -10 cocoon-2.1/src/blocks/forms/samples/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/samples/sitemap.xmap,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sitemap.xmap 11 Mar 2004 02:56:33 -0000 1.2 +++ sitemap.xmap 11 Mar 2004 11:23:36 -0000 1.3 @@ -19,13 +19,7 @@ <map:components> - <map:generators default="file"> - <map:generator name="form" src="org.apache.cocoon.forms.generation.FormGenerator" logger="forms"/> - <map:generator name="jx" src="org.apache.cocoon.generation.JXTemplateGenerator" label="content" logger="sitemap.generator.jx"/> - </map:generators> - <map:transformers default="xalan"> - <map:transformer name="form" src="org.apache.cocoon.forms.transformation.FormTemplateTransformer" logger="forms"/> <map:transformer name="i18n" src="org.apache.cocoon.transformation.I18nTransformer"> <catalogues default="forms"> <catalogue id="other" name="OtherMessages" location="messages"/> @@ -44,10 +38,6 @@ <map:action name="init-form" src="org.apache.cocoon.forms.samples.InitForm1Action" logger="forms"/> <map:action name="handle-form-submit" src="org.apache.cocoon.forms.acting.HandleFormSubmitAction" logger="forms"/> </map:actions> - - <map:pipes default="caching"> - </map:pipes> - </map:components> <map:views>