portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r472832 - /portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml
Date Thu, 09 Nov 2006 09:42:11 GMT
Author: smilek
Date: Thu Nov  9 01:42:10 2006
New Revision: 472832

URL: http://svn.apache.org/viewvc?view=rev&rev=472832
Log:
added getactions ajaxapi for retrieving the current set of valid actions (portlet modes and
window states) for one or more portlet entities

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

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml?view=diff&rev=472832&r1=472831&r2=472832
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml Thu Nov  9 01:42:10
2006
@@ -317,10 +317,32 @@
         <value>window</value>
     </constructor-arg>
     <constructor-arg index='3'>
-        <ref bean="org.apache.jetspeed.page.PageManager"/>        
+        <ref bean="org.apache.jetspeed.page.PageManager"/>
+    </constructor-arg>    
+    <constructor-arg index='4'>
+        <ref bean="org.apache.jetspeed.container.window.PortletWindowAccessor"/>
+    </constructor-arg>
+    <constructor-arg index='5'>
+        <ref bean="PortletActionSecurityBehavior"/>
+    </constructor-arg>
+</bean>
+
+<bean id="AjaxGetActions"
+    class="org.apache.jetspeed.layout.impl.GetPortletActionsAction">
+    <constructor-arg index="0">
+        <value>org/apache/jetspeed/layout/ajax-xml/getactions.vm</value>
+    </constructor-arg>
+    <constructor-arg index="1">
+        <value>org/apache/jetspeed/layout/ajax-xml/error.vm</value>
+    </constructor-arg>
+    <constructor-arg index="2">
+        <value>getactions</value>
+    </constructor-arg>
+    <constructor-arg index='3'>
+        <ref bean="DecorationValve"/>
     </constructor-arg>    
     <constructor-arg index='4'>
-        <ref bean="org.apache.jetspeed.container.window.PortletWindowAccessor"/>  
     
+        <ref bean="org.apache.jetspeed.page.PageManager"/>
     </constructor-arg>        
     <constructor-arg index='5'>
         <ref bean="PortletActionSecurityBehavior"/>        
@@ -439,10 +461,13 @@
             </entry>			                        
             <entry key="getthemes">
                 <ref bean="AjaxGetThemes"/>
-            </entry>			                        
+            </entry>
+            <entry key="getactions">
+                <ref bean="AjaxGetActions"/>
+            </entry>
             <entry key="window">
                 <ref bean="AjaxChangeWindow"/>
-            </entry>			            
+            </entry>
             <entry key="getmenus">
                 <ref bean="AjaxGetMenus"/>
             </entry>			            



---------------------------------------------------------------------
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