portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r425151 - /portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml
Date Mon, 24 Jul 2006 19:14:46 GMT
Author: taylor
Date: Mon Jul 24 12:14:45 2006
New Revision: 425151

URL: http://svn.apache.org/viewvc?rev=425151&view=rev
Log:
JPT factory requires the PortletRenderer during constructor injection

Modified:
    portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml?rev=425151&r1=425150&r2=425151&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-spring.xml Mon Jul 24 12:14:45
2006
@@ -51,11 +51,15 @@
     </bean>
 
     <bean id="Powertools" class="org.apache.jetspeed.velocity.JetspeedPowerToolFactory">
-        <constructor-arg>
+        <constructor-arg index="0">
             <value>org.apache.jetspeed.velocity.JetspeedPowerToolImpl</value>
         </constructor-arg>
-        <constructor-arg>
+        <constructor-arg index="1">
             <ref bean="DynamicTitleService" />
+        </constructor-arg>
+		<!-- Added so we can render portlets in JPT -->
+		<constructor-arg index="2">
+            <ref bean="org.apache.jetspeed.aggregator.PortletRenderer" />
         </constructor-arg>
     </bean>
 



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


Mime
View raw message