cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dani...@apache.org
Subject svn commit: r473740 - in /cocoon/trunk: blocks/cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/cocoon/spring/ blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/cocoon/spring/ blocks/cocoon-forms/cocoon-forms-sampl...
Date Sat, 11 Nov 2006 15:48:37 GMT
Author: danielf
Date: Sat Nov 11 07:48:36 2006
New Revision: 473740

URL: http://svn.apache.org/viewvc?view=rev&rev=473740
Log:
Use block context source in block fw samples.

Added:
    cocoon/trunk/blocks/cocoon-template/cocoon-template-sample/src/main/resources/META-INFO/
    cocoon/trunk/blocks/cocoon-template/cocoon-template-sample/src/main/resources/META-INFO/spring/
    cocoon/trunk/blocks/cocoon-template/cocoon-template-sample/src/main/resources/META-INFO/spring/cocoon-template-blockServlet.xml
Modified:
    cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/cocoon/spring/cocoon-ajax-sample-blockServlet.xml
    cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/cocoon/spring/cocoon-core-main-sample-blockServlet.xml
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/cocoon/spring/cocoon-forms-sample-blockServlet.xml
    cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet1.xml
    cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet2.xml
    cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet3.xml

Modified: cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/cocoon/spring/cocoon-ajax-sample-blockServlet.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/cocoon/spring/cocoon-ajax-sample-blockServlet.xml?view=diff&rev=473740&r1=473739&r2=473740
==============================================================================
--- cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/cocoon/spring/cocoon-ajax-sample-blockServlet.xml
(original)
+++ cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/cocoon/spring/cocoon-ajax-sample-blockServlet.xml
Sat Nov 11 07:48:36 2006
@@ -23,6 +23,6 @@
 	<bean id="org.apache.cocoon.ajax.block" class="org.apache.cocoon.blocks.BlockServlet">
 		<property name="mountPath" value="/cocoon-ajax-sample"/>
 		<property name="servletClass" value="org.apache.cocoon.sitemap.SitemapServlet"/>
-		<property name="blockContextURL" value="/blocks/cocoon-ajax-sample"/>
+		<property name="blockContextURL" value="blockcontext:/cocoon-ajax-sample/"/>
 	</bean>
 </beans>

Modified: cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/cocoon/spring/cocoon-core-main-sample-blockServlet.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/cocoon/spring/cocoon-core-main-sample-blockServlet.xml?view=diff&rev=473740&r1=473739&r2=473740
==============================================================================
--- cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/cocoon/spring/cocoon-core-main-sample-blockServlet.xml
(original)
+++ cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/cocoon/spring/cocoon-core-main-sample-blockServlet.xml
Sat Nov 11 07:48:36 2006
@@ -23,6 +23,6 @@
 	<bean id="org.apache.cocoon.core.main.block" class="org.apache.cocoon.blocks.BlockServlet">
 		<property name="mountPath" value="/cocoon-core-main-sample"/>
 		<property name="servletClass" value="org.apache.cocoon.sitemap.SitemapServlet"/>
-		<property name="blockContextURL" value="/blocks/cocoon-core-main-sample"/>
+		<property name="blockContextURL" value="blockcontext:/cocoon-core-main-sample/"/>
 	</bean>
 </beans>

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/cocoon/spring/cocoon-forms-sample-blockServlet.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/cocoon/spring/cocoon-forms-sample-blockServlet.xml?view=diff&rev=473740&r1=473739&r2=473740
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/cocoon/spring/cocoon-forms-sample-blockServlet.xml
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/cocoon/spring/cocoon-forms-sample-blockServlet.xml
Sat Nov 11 07:48:36 2006
@@ -23,6 +23,6 @@
 	<bean id="org.apache.cocoon.forms.block" class="org.apache.cocoon.blocks.BlockServlet">
 		<property name="mountPath" value="/cocoon-forms-sample"/>
 		<property name="servletClass" value="org.apache.cocoon.sitemap.SitemapServlet"/>
-		<property name="blockContextURL" value="/blocks/cocoon-forms-sample"/>
+		<property name="blockContextURL" value="blockcontext:/cocoon-forms-sample/"/>
 	</bean>
 </beans>

Added: cocoon/trunk/blocks/cocoon-template/cocoon-template-sample/src/main/resources/META-INFO/spring/cocoon-template-blockServlet.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-template/cocoon-template-sample/src/main/resources/META-INFO/spring/cocoon-template-blockServlet.xml?view=auto&rev=473740
==============================================================================
--- cocoon/trunk/blocks/cocoon-template/cocoon-template-sample/src/main/resources/META-INFO/spring/cocoon-template-blockServlet.xml
(added)
+++ cocoon/trunk/blocks/cocoon-template/cocoon-template-sample/src/main/resources/META-INFO/spring/cocoon-template-blockServlet.xml
Sat Nov 11 07:48:36 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<!-- @version $Id$ -->
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
+	<bean id="org.apache.cocoon.template.block" class="org.apache.cocoon.blocks.BlockServlet">
+		<property name="mountPath" value="/cocoon-template-sample"/>
+		<property name="servletClass" value="org.apache.cocoon.sitemap.SitemapServlet"/>
+		<property name="blockContextURL" value="blockcontext:/cocoon-template-sample/"/>
+	</bean>
+</beans>
\ No newline at end of file

Modified: cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet1.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet1.xml?view=diff&rev=473740&r1=473739&r2=473740
==============================================================================
--- cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet1.xml
(original)
+++ cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet1.xml
Sat Nov 11 07:48:36 2006
@@ -23,7 +23,7 @@
 	<bean id="org.apache.cocoon.blocks.sample.block1" class="org.apache.cocoon.blocks.BlockServlet">
 		<property name="mountPath" value="/cocoon-blocks-fw-sample1"/>
 		<property name="servletClass" value="org.apache.cocoon.sitemap.SitemapServlet"/>
-		<property name="blockContextURL" value="/blocks/cocoon-blocks-fw-sample/test1"/>
+		<property name="blockContextURL" value="blockcontext:/cocoon-blocks-fw-sample/test1"/>
 		<property name="properties">
 			<map>
 				<entry key="foo" value="bar"/>

Modified: cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet2.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet2.xml?view=diff&rev=473740&r1=473739&r2=473740
==============================================================================
--- cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet2.xml
(original)
+++ cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet2.xml
Sat Nov 11 07:48:36 2006
@@ -23,6 +23,6 @@
 	<bean id="org.apache.cocoon.blocks.sample.block2" class="org.apache.cocoon.blocks.BlockServlet">
 		<property name="mountPath" value="/cocoon-blocks-fw-sample2"/>
 		<property name="servletClass" value="org.apache.cocoon.sitemap.SitemapServlet"/>
-		<property name="blockContextURL" value="/blocks/cocoon-blocks-fw-sample/test2"/>
+		<property name="blockContextURL" value="blockcontext:/cocoon-blocks-fw-sample/test2"/>
 	</bean>
 </beans>

Modified: cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet3.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet3.xml?view=diff&rev=473740&r1=473739&r2=473740
==============================================================================
--- cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet3.xml
(original)
+++ cocoon/trunk/core/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/resources/META-INF/cocoon/spring/cocoon-blocks-fw-sample-blockServlet3.xml
Sat Nov 11 07:48:36 2006
@@ -23,7 +23,7 @@
 	<bean id="org.apache.cocoon.blocks.sample.block3" class="org.apache.cocoon.blocks.BlockServlet">
 		<property name="mountPath" value="/cocoon-blocks-fw-sample3"/>
 		<property name="servletClass" value="org.apache.cocoon.sitemap.SitemapServlet"/>
-		<property name="blockContextURL" value="/blocks/cocoon-blocks-fw-sample/test3"/>
+		<property name="blockContextURL" value="blockcontext:/cocoon-blocks-fw-sample/test3"/>
 		<property name="properties">
 			<map>
 				<entry key="bar" value="gazonk"/>



Mime
View raw message