You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2005/12/06 09:52:51 UTC

svn commit: r354367 - in /portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly: jetspeed-services.xml theme-engine.xml

Author: taylor
Date: Tue Dec  6 00:52:49 2005
New Revision: 354367

URL: http://svn.apache.org/viewcvs?rev=354367&view=rev
Log:
adding theme-engine (decorator factory) assembly and service

Added:
    portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/theme-engine.xml
Modified:
    portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-services.xml

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-services.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-services.xml?rev=354367&r1=354366&r2=354367&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-services.xml (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-services.xml Tue Dec  6 00:52:49 2005
@@ -77,6 +77,9 @@
 		  <entry key="DecorationLocator">
             <ref bean="DecorationLocator"/>
           </entry>		  
+		  <entry key="DecorationFactory">
+            <ref bean="DecorationFactory"/>
+          </entry>		  				 				 
 		  <entry key="PermissionManager">
             <ref bean="org.apache.jetspeed.security.PermissionManager"/>
           </entry>		            

Added: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/theme-engine.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/theme-engine.xml?rev=354367&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/theme-engine.xml (added)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/theme-engine.xml Tue Dec  6 00:52:49 2005
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<!--
+Copyright 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.
+-->
+
+<beans>
+  <bean id="ResourceValidator" class="org.apache.jetspeed.decoration.validators.WebApplicationResourceValidator"/>
+  
+  <bean id="DecorationFactory"
+      class="org.apache.jetspeed.decoration.DecorationFactoryImpl">
+    <constructor-arg index="0">    
+ 	 	<ref bean="org.apache.jetspeed.components.portletregistry.PortletRegistry" />
+	</constructor-arg>	  	  
+    <constructor-arg index="1">
+      <value>/decorations</value>
+    </constructor-arg>
+	<constructor-arg index="2">
+		<ref bean="ResourceValidator" />
+	</constructor-arg>
+	<constructor-arg index="3">
+		<value>tigris</value>
+	</constructor-arg>
+	<constructor-arg index="4">
+		<value>tigris</value>
+	</constructor-arg>
+  </bean>  
+	
+</beans>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org