You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by da...@apache.org on 2006/10/07 17:39:46 UTC

svn commit: r453937 - in /cocoon/trunk/blocks: cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/ cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/spring/ cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/ cocoon...

Author: danielf
Date: Sat Oct  7 08:39:45 2006
New Revision: 453937

URL: http://svn.apache.org/viewvc?view=rev&rev=453937
Log:
Make Core, Ajax and Forms samples available throw the blocks fw as well.

Added:
    cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/
    cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/spring/
    cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/spring/cocoon-ajax-sample-blockServlet.xml
    cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/
    cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/spring/
    cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/spring/cocoon-core-main-sample-blockServlet.xml
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/spring/
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/spring/cocoon-forms-sample-blockServlet.xml

Added: cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/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/spring/cocoon-ajax-sample-blockServlet.xml?view=auto&rev=453937
==============================================================================
--- cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/spring/cocoon-ajax-sample-blockServlet.xml (added)
+++ cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-sample/src/main/resources/META-INF/spring/cocoon-ajax-sample-blockServlet.xml Sat Oct  7 08:39:45 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.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"/>
+	</bean>
+</beans>
\ No newline at end of file

Added: cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/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/spring/cocoon-core-main-sample-blockServlet.xml?view=auto&rev=453937
==============================================================================
--- cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/spring/cocoon-core-main-sample-blockServlet.xml (added)
+++ cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/META-INF/spring/cocoon-core-main-sample-blockServlet.xml Sat Oct  7 08:39:45 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.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"/>
+	</bean>
+</beans>
\ No newline at end of file

Added: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/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/spring/cocoon-forms-sample-blockServlet.xml?view=auto&rev=453937
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/spring/cocoon-forms-sample-blockServlet.xml (added)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/spring/cocoon-forms-sample-blockServlet.xml Sat Oct  7 08:39:45 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.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"/>
+	</bean>
+</beans>
\ No newline at end of file