portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r392166 - /portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml
Date Fri, 07 Apr 2006 02:49:33 GMT
Author: taylor
Date: Thu Apr  6 19:49:32 2006
New Revision: 392166

URL: http://svn.apache.org/viewcvs?rev=392166&view=rev
Log:
a couple of commits here:

1. fix bug in remove portlet where it wasnt updated the fragment columns
2. add portlets was not checking for valid portlet names
3. add portlets was not checking for portlets that are allowed viewable for current user
4. the default security behavior was not the correct one
5. Portlet Mode and Window State changes support started
   still need to integrate this into the Portal URL
6. validate modes and states on setting

Steve, please try testing with Desktop, as it will at least persist 

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/viewcvs/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/ajax-layout.xml?rev=392166&r1=392165&r2=392166&view=diff
==============================================================================
--- 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 Apr  6 19:49:32
2006
@@ -12,7 +12,7 @@
     index 4 = Registry (getPortlets)
     -->
 <bean id="PortletActionSecurityBehavior"
-	  class="org.apache.jetspeed.layout.impl.PortletActionSecurityPathBehavior">
+	  class="org.apache.jetspeed.layout.impl.PortletActionSecurityConstraintsBehavior">
     <constructor-arg index='0'>
         <ref bean="org.apache.jetspeed.page.PageManager"/>        
     </constructor-arg>    	
@@ -146,6 +146,9 @@
     <constructor-arg index='3'>
         <ref bean="PortletActionSecurityBehavior"/>        
     </constructor-arg>    		  
+    <constructor-arg index='4'>
+        <ref bean="AjaxGetPortlets"/>        
+    </constructor-arg>     	    
 </bean>
 
 <bean id="AjaxRemovePortlet"
@@ -220,7 +223,29 @@
         <ref bean="PortletActionSecurityBehavior"/>        
     </constructor-arg>    		        
 </bean>
-    	
+
+<bean id="AjaxChangeWindow"
+    class="org.apache.jetspeed.layout.impl.ChangePortletAction">
+    <constructor-arg index="0">
+        <value>org/apache/jetspeed/layout/ajax-xml/window.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>window</value>
+    </constructor-arg>
+    <constructor-arg index='3'>
+        <ref bean="org.apache.jetspeed.page.PageManager"/>        
+    </constructor-arg>    
+    <constructor-arg index='4'>
+        <ref bean="PortletActionSecurityBehavior"/>        
+    </constructor-arg>    	
+    <constructor-arg index='5'>
+        <ref bean="PortalContextProvider"/>        
+    </constructor-arg>    	        
+</bean>
+        	
 <bean id="AjaxRequestService" class="org.apache.jetspeed.ajax.AjaxRequestServiceImpl">
     <constructor-arg index="0">
         <map>
@@ -257,13 +282,16 @@
             <entry key="getpages">
                 <ref bean="AjaxGetPages"/>
             </entry>			
+            <entry key="window">
+                <ref bean="AjaxChangeWindow"/>
+            </entry>			            
         </map>
     </constructor-arg>
     <constructor-arg index="1">
         <ref bean="AjaxVelocityEngine"/>
     </constructor-arg>
 </bean>
-
+        
 <bean id="AjaxVelocityEngine" class="org.springframework.ui.velocity.VelocityEngineFactoryBean">
     <property name="velocityProperties">
         <props>



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