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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]