You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/01/26 18:31:44 UTC

svn commit: r372574 - in /lenya/trunk/src/webapp: WEB-INF/ lenya/config/cocoon-xconf/input-modules/ lenya/config/cocoon-xconf/source-factories/

Author: andreas
Date: Thu Jan 26 09:31:26 2006
New Revision: 372574

URL: http://svn.apache.org/viewcvs?rev=372574&view=rev
Log:
Use Xpatch for source factories and input modules

Added:
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/access-control.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/custom-metadata.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/date-i18n.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/date-iso8601-rfc822.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/defaults.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/doc-info.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/document-url.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/dublincore.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/fallback.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/forrest.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/page-envelope.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/proxy-url.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/realpath.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/resource-exists.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/resource-type.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/usecase-fallback.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/workflow.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/xopus.xconf.draft
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/content.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/fallback.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/lenya.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/template-fallback.xconf
    lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/zip.xconf
Modified:
    lenya/trunk/src/webapp/WEB-INF/cocoon-xconf.xsl

Modified: lenya/trunk/src/webapp/WEB-INF/cocoon-xconf.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/WEB-INF/cocoon-xconf.xsl?rev=372574&r1=372573&r2=372574&view=diff
==============================================================================
--- lenya/trunk/src/webapp/WEB-INF/cocoon-xconf.xsl (original)
+++ lenya/trunk/src/webapp/WEB-INF/cocoon-xconf.xsl Thu Jan 26 09:31:26 2006
@@ -41,100 +41,21 @@
 </xsl:template>
 
 
-<xsl:template match="source-factories">
-  <xsl:copy>
-    <xsl:copy-of select="@*"/>
-    <xsl:apply-templates/>
-    <component-instance class="org.apache.lenya.cms.cocoon.source.ZipSourceFactory" logger="lenya.source.zip" name="zip"/>
-    <component-instance class="org.apache.lenya.cms.cocoon.source.FallbackSourceFactory" logger="lenya.source.fallback" name="fallback"/>
-    <component-instance class="org.apache.lenya.cms.cocoon.source.TemplateFallbackSourceFactory" logger="lenya.source.templatefallback" name="template-fallback"/>
-    <component-instance class="org.apache.lenya.cms.cocoon.source.LenyaSourceFactory" logger="lenya.source.lenya" name="lenya" scheme="context:"/>
-    <component-instance class="org.apache.lenya.cms.cocoon.source.ContentSourceFactory" logger="lenya.source.content" name="content"/>
-  </xsl:copy>
-</xsl:template>
-
-
 <xsl:template match="input-modules">
      
   <xsl:copy>
     <xsl:copy-of select="@*"/>
     <xsl:apply-templates/>
-    
-    <component-instance name="defaults" class="org.apache.cocoon.components.modules.input.DefaultsModule">
-      <values>
-        <skin>lenya-site</skin>
-      </values>
-    </component-instance>
 
     <component-instance name="xopus" class="org.apache.cocoon.components.modules.input.DefaultsModule">
       <values>
         <context><xsl:value-of select="$xopus-context"/></context>
       </values>
     </component-instance>
-
-    <component-instance logger="core.modules.input" name="forrest"
-      class="org.apache.cocoon.components.modules.input.ChainMetaModule">
-      <input-module name="request-param"/>
-      <input-module name="request-attr"/>
-      <input-module name="session-attr"/>
-      <input-module name="defaults"/>
-      <input-module name="page-envelope"/>
-      <input-module name="access-control"/>
-    </component-instance>
-      
-    <component-instance
-      class="org.apache.cocoon.components.modules.input.RealPathModule"
-      logger="core.modules.input" name="realpath"/>
-      
-    <component-instance logger="sitemap.modules.input.page-envelope" name="page-envelope"
-        class="org.apache.lenya.cms.cocoon.components.modules.input.PageEnvelopeModule"/>
-
-    <component-instance logger="sitemap.modules.input.dublincore" name="dublincore"
-        class="org.apache.lenya.cms.cocoon.components.modules.input.DublinCoreModule"/>
-
-    <component-instance logger="sitemap.modules.input.custom-metadata" name="custom-metadata"
-        class="org.apache.lenya.cms.cocoon.components.modules.input.CustomMetaDataModule"/>
-
-    <component-instance logger="sitemap.modules.input.doc-info" name="doc-info"
-        class="org.apache.lenya.cms.cocoon.components.modules.input.DocumentInfoModule"/>
-
-    <component-instance logger="core.modules.input.access-control" name="access-control"
-        class="org.apache.lenya.cms.cocoon.components.modules.input.AccessControlModule"/>
-    
-    <component-instance logger="core.modules.input.workflow" name="workflow"
-        class="org.apache.lenya.cms.cocoon.components.modules.input.WorkflowModule"/>
-        
-    <component-instance logger="core.modules.input.fallback" name="fallback"
-        class="org.apache.lenya.cms.cocoon.components.modules.input.PublicationTemplateFallbackModule">
-      <directory src="context:///lenya"/>
-    </component-instance>
-
-    <component-instance logger="core.modules.input.usecase-fallback" name="usecase-fallback"
-        class="org.apache.lenya.cms.cocoon.components.modules.input.UsecaseFallbackModule"/>
-
-	<component-instance logger="core.modules.input.document-url" name="document-url"
-        class="org.apache.lenya.cms.cocoon.components.modules.input.DocumentURLModule"/>
-                       
-    <component-instance logger="core.modules.input.resourceexists" name="resource-exists"
-        class="org.apache.lenya.cms.cocoon.components.modules.input.ResourceExistsModule"/>
-                
-    <component-instance name="date-i18n" logger="core.modules.input" class="org.apache.cocoon.components.modules.input.DateInputModule">
-      <format>yyyy-MM-dd HH:mm:ss Z</format>
-    </component-instance>
-    
-    <component-instance name="date-iso8601-rfc822" logger="core.modules.input" class="org.apache.lenya.cms.cocoon.components.modules.input.DateConverterModule">
-      <src-pattern>yyyy-MM-dd HH:mm:ss Z</src-pattern>
-      <pattern>EEE, dd MMM yyyy HH:mm:ss Z</pattern>
-    </component-instance>
-    
-  <component-instance name="proxy-url" logger="sitemap.modules.input.proxy-url"
-      class="org.apache.lenya.cms.cocoon.components.modules.input.ProxyUrlModule"/>
-
-    <component-instance name="resource-type" logger="sitemap.modules.input.resource-type"
-      class="org.apache.lenya.cms.cocoon.components.modules.input.ResourceTypeModule"/>
     
   </xsl:copy>
 </xsl:template>
+
 
 <xsl:template match="cocoon">
   <xsl:copy>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/access-control.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/access-control.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/access-control.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/access-control.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'access-control']">
+    <component-instance logger="core.modules.input.access-control" name="access-control"
+      class="org.apache.lenya.cms.cocoon.components.modules.input.AccessControlModule"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/custom-metadata.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/custom-metadata.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/custom-metadata.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/custom-metadata.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'custom-metadata']">
+    <component-instance logger="sitemap.modules.input.custom-metadata" name="custom-metadata"
+      class="org.apache.lenya.cms.cocoon.components.modules.input.CustomMetaDataModule"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/date-i18n.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/date-i18n.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/date-i18n.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/date-i18n.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'date-i18n']">
+    <component-instance name="date-i18n" logger="core.modules.input" class="org.apache.cocoon.components.modules.input.DateInputModule">
+      <format>yyyy-MM-dd HH:mm:ss Z</format>
+    </component-instance>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/date-iso8601-rfc822.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/date-iso8601-rfc822.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/date-iso8601-rfc822.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/date-iso8601-rfc822.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'date-iso8601-rfc822']">
+    <component-instance name="date-iso8601-rfc822" logger="core.modules.input" class="org.apache.lenya.cms.cocoon.components.modules.input.DateConverterModule">
+      <src-pattern>yyyy-MM-dd HH:mm:ss Z</src-pattern>
+      <pattern>EEE, dd MMM yyyy HH:mm:ss Z</pattern>
+    </component-instance>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/defaults.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/defaults.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/defaults.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/defaults.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'defaults']">
+    <component-instance name="defaults" class="org.apache.cocoon.components.modules.input.DefaultsModule">
+      <values>
+        <skin>lenya-site</skin>
+      </values>
+    </component-instance>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/doc-info.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/doc-info.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/doc-info.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/doc-info.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'doc-info']">
+    <component-instance logger="sitemap.modules.input.doc-info" name="doc-info"
+      class="org.apache.lenya.cms.cocoon.components.modules.input.DocumentInfoModule"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/document-url.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/document-url.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/document-url.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/document-url.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'document-url']">
+    <component-instance logger="core.modules.input.document-url" name="document-url"
+      class="org.apache.lenya.cms.cocoon.components.modules.input.DocumentURLModule"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/dublincore.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/dublincore.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/dublincore.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/dublincore.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'dublincore']">
+    <component-instance logger="sitemap.modules.input.dublincore" name="dublincore"
+      class="org.apache.lenya.cms.cocoon.components.modules.input.DublinCoreModule"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/fallback.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/fallback.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/fallback.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/fallback.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'fallback']">
+    <component-instance logger="core.modules.input.fallback" name="fallback"
+      class="org.apache.lenya.cms.cocoon.components.modules.input.PublicationTemplateFallbackModule">
+      <directory src="context:///lenya"/>
+    </component-instance>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/forrest.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/forrest.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/forrest.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/forrest.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'forrest']">
+    <component-instance logger="core.modules.input" name="forrest"
+      class="org.apache.cocoon.components.modules.input.ChainMetaModule">
+      <input-module name="request-param"/>
+      <input-module name="request-attr"/>
+      <input-module name="session-attr"/>
+      <input-module name="defaults"/>
+      <input-module name="page-envelope"/>
+      <input-module name="access-control"/>
+    </component-instance>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/page-envelope.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/page-envelope.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/page-envelope.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/page-envelope.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'page-envelope']">
+    <component-instance logger="sitemap.modules.input.page-envelope" name="page-envelope"
+      class="org.apache.lenya.cms.cocoon.components.modules.input.PageEnvelopeModule"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/proxy-url.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/proxy-url.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/proxy-url.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/proxy-url.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'proxy-url']">
+    <component-instance name="proxy-url" logger="sitemap.modules.input.proxy-url"
+      class="org.apache.lenya.cms.cocoon.components.modules.input.ProxyUrlModule"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/realpath.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/realpath.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/realpath.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/realpath.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'realpath']">
+    <component-instance
+      class="org.apache.cocoon.components.modules.input.RealPathModule"
+      logger="core.modules.input" name="realpath"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/resource-exists.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/resource-exists.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/resource-exists.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/resource-exists.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'document-url']">
+    <component-instance logger="core.modules.input.resourceexists" name="resource-exists"
+      class="org.apache.lenya.cms.cocoon.components.modules.input.ResourceExistsModule"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/resource-type.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/resource-type.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/resource-type.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/resource-type.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'resource-type']">
+    <component-instance name="resource-type" logger="sitemap.modules.input.resource-type"
+      class="org.apache.lenya.cms.cocoon.components.modules.input.ResourceTypeModule"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/usecase-fallback.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/usecase-fallback.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/usecase-fallback.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/usecase-fallback.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'usecase-fallback']">
+    <component-instance logger="core.modules.input.usecase-fallback" name="usecase-fallback"
+      class="org.apache.lenya.cms.cocoon.components.modules.input.UsecaseFallbackModule"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/workflow.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/workflow.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/workflow.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/workflow.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'workflow']">
+    <component-instance logger="core.modules.input.workflow" name="workflow"
+      class="org.apache.lenya.cms.cocoon.components.modules.input.WorkflowModule"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/xopus.xconf.draft
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/xopus.xconf.draft?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/xopus.xconf.draft (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/input-modules/xopus.xconf.draft Thu Jan 26 09:31:26 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/input-modules" unless="/cocoon/input-modules/component-instance[@name = 'xopus']">
+    <component-instance name="xopus" class="org.apache.cocoon.components.modules.input.DefaultsModule">
+      <values>
+        <context><xsl:value-of select="$xopus-context"/></context>
+      </values>
+    </component-instance>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/content.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/content.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/content.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/content.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/source-factories" unless="/cocoon/source-factories/component-instance[@name = 'lenya']">
+    <component-instance class="org.apache.lenya.cms.cocoon.source.ContentSourceFactory" logger="lenya.source.content" name="content"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/fallback.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/fallback.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/fallback.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/fallback.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/source-factories" unless="/cocoon/source-factories/component-instance[@name = 'fallback']">
+    <component-instance class="org.apache.lenya.cms.cocoon.source.FallbackSourceFactory" logger="lenya.source.fallback" name="fallback"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/lenya.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/lenya.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/lenya.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/lenya.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/source-factories" unless="/cocoon/source-factories/component-instance[@name = 'lenya']">
+    <component-instance class="org.apache.lenya.cms.cocoon.source.LenyaSourceFactory" logger="lenya.source.lenya" name="lenya" scheme="context:"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/template-fallback.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/template-fallback.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/template-fallback.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/template-fallback.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/source-factories" unless="/cocoon/source-factories/component-instance[@name = 'template-fallback']">
+    <component-instance class="org.apache.lenya.cms.cocoon.source.TemplateFallbackSourceFactory" logger="lenya.source.templatefallback" name="template-fallback"/>
+  </xconf>

Added: lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/zip.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/zip.xconf?rev=372574&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/zip.xconf (added)
+++ lenya/trunk/src/webapp/lenya/config/cocoon-xconf/source-factories/zip.xconf Thu Jan 26 09:31:26 2006
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<!-- $Id: usecases-workflow-deactivate.xconf 348547 2005-11-23 20:13:01Z chestnut $ -->
+<!--
+    This file defines the publication specific use-cases
+-->
+
+  <xconf xpath="/cocoon/source-factories" unless="/cocoon/source-factories/component-instance[@name = 'zip']">
+    <component-instance class="org.apache.lenya.cms.cocoon.source.ZipSourceFactory" logger="lenya.source.zip" name="zip"/>
+  </xconf>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org