Author: ate
Date: Wed Mar 24 21:35:46 2010
New Revision: 927186

URL: http://svn.apache.org/viewvc?rev=927186&view=rev
Log:
Fix for JS2-1046: maximized portlet window is not rendered maximized when 
(other) render state parameters are set.
See: http://issues.apache.org/jira/browse/JS2-1046

Modified:
    
portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/state/impl/PortletWindowSessionNavigationalStates.java

Modified: 
portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/state/impl/PortletWindowSessionNavigationalStates.java
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/state/impl/PortletWindowSessionNavigationalStates.java?rev=927186&r1=927185&r2=927186&view=diff
==============================================================================
--- 
portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/state/impl/PortletWindowSessionNavigationalStates.java
 (original)
+++ 
portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/state/impl/PortletWindowSessionNavigationalStates.java
 Wed Mar 24 21:35:46 2010
@@ -154,7 +154,11 @@ public class PortletWindowSessionNavigat
                     {
                         pageState.maximizedWindowId = null;
                         // syncState will reset the sessionState.WindowState
-                    }                         
+                    }
+                    else
+                    {
+                        
requestStates.setMaximizedWindow(context.getPortletWindow(requestState.getWindowId()));
+                    }
                 }
                 else
                 {



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to