Author: tan_pham_dinh
Date: 2009-12-04 04:39:03 -0500 (Fri, 04 Dec 2009)
New Revision: 926
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBody.java
Log:
GNTPORTAL-247: Cannot drag drop when page has maximized portlet
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBody.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBody.java 2009-12-04
09:10:50 UTC (rev 925)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageBody.java 2009-12-04
09:39:03 UTC (rev 926)
@@ -121,7 +121,8 @@
uiPortal.setMaximizedUIComponent(null);
}
maximizedComponent = this.getMaximizedUIComponent();
- if(maximizedComponent !=null && maximizedComponent instanceof
UIPage){
+ if (maximizedComponent != null && maximizedComponent instanceof
UIPage)
+ {
this.setMaximizedUIComponent(null);
}
}
@@ -137,6 +138,11 @@
public void processRender(WebuiRequestContext context) throws Exception
{
+ if (maximizedUIComponent != null &&
Util.getUIPortalApplication().getModeState() % 2 == 0)
+ {
+
maximizedUIComponent.processRender((WebuiRequestContext)WebuiRequestContext.getCurrentInstance());
+ return;
+ }
if (uicomponent_ == null)
{
setPageBody(Util.getUIPortal().getSelectedNode(), Util.getUIPortal());
Show replies by date