portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r481206 - in /portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly: aggregation.xml pipelines.xml
Date Fri, 01 Dec 2006 09:49:41 GMT
Author: smilek
Date: Fri Dec  1 01:49:40 2006
New Revision: 481206

URL: http://svn.apache.org/viewvc?view=rev&rev=481206
Log:
added specialized PortletRenderer bean for adding the portlet title to portlet pipeline response
in an http response header (JS_PORTLET_TITLE)

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

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/aggregation.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/aggregation.xml?view=diff&rev=481206&r1=481205&r2=481206
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/aggregation.xml (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/aggregation.xml Fri Dec  1 01:49:40
2006
@@ -23,7 +23,13 @@
             <ref bean="org.apache.jetspeed.aggregator.PortletRenderer" />
         </constructor-arg>        
     </bean>
-    
+
+    <bean id="org.apache.jetspeed.aggregator.PortletAggregatorTitleInHeader" class="org.apache.jetspeed.aggregator.impl.PortletAggregatorImpl">
+        <constructor-arg>
+            <ref bean="org.apache.jetspeed.aggregator.PortletRendererWithTitleHeader"
/>
+        </constructor-arg>
+    </bean>
+
     <!-- Portlet Renderer -->
     <bean id="org.apache.jetspeed.aggregator.PortletRenderer" class="org.apache.jetspeed.aggregator.impl.PortletRendererImpl"
init-method="start"
         destroy-method="stop">
@@ -39,6 +45,26 @@
         <constructor-arg>
             <ref bean="PortalStatistics" />
         </constructor-arg>                        
+    </bean>
+
+    <!-- Portlet Renderer w/title in http response header -->
+    <bean id="org.apache.jetspeed.aggregator.PortletRendererWithTitleHeader" class="org.apache.jetspeed.aggregator.impl.PortletRendererImpl"
init-method="start"
+        destroy-method="stop">
+        <constructor-arg>
+            <ref bean="org.apache.pluto.PortletContainer" />
+        </constructor-arg>
+        <constructor-arg>
+            <ref bean="org.apache.jetspeed.container.window.PortletWindowAccessor" />
+        </constructor-arg>
+        <constructor-arg>
+            <ref bean="org.apache.jetspeed.aggregator.WorkerMonitor" />
+        </constructor-arg>        
+        <constructor-arg>
+            <ref bean="PortalStatistics" />
+        </constructor-arg>
+        <constructor-arg>
+            <ref bean="org.apache.pluto.services.title.DynamicTitleService" />
+        </constructor-arg>
     </bean>
 
     <!-- Aggregation: Page Leave in place until new development completed -->

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pipelines.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pipelines.xml?view=diff&rev=481206&r1=481205&r2=481206
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pipelines.xml (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/pipelines.xml Fri Dec  1 01:49:40
2006
@@ -160,6 +160,15 @@
    </constructor-arg>
   </bean> 
 
+  <bean id="portletValveTitleInHeader"
+        class="org.apache.jetspeed.aggregator.PortletValve"
+        init-method="initialize"
+  >
+   <constructor-arg>
+       <ref bean="org.apache.jetspeed.aggregator.PortletAggregatorTitleInHeader"/>
+   </constructor-arg>
+  </bean> 
+
   <bean id="fileServerValve"
         class="org.apache.jetspeed.aggregator.FileServerValve"
         init-method="initialize"
@@ -335,7 +344,7 @@
         <ref bean="localizationValve"/>
         <ref bean="profilerValve"/>                        
         <ref bean="containerValve"/>
-        <ref bean="portletValve"/>    
+        <ref bean="portletValveTitleInHeader"/>    
     </list>
     </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