Author: thomas.heute(a)jboss.com
Date: 2007-09-03 07:08:23 -0400 (Mon, 03 Sep 2007)
New Revision: 8135
Modified:
branches/JBoss_Portal_Branch_2_6/core/src/main/org/jboss/portal/core/aspects/controller/PageCustomizerInterceptor.java
Log:
Link to default page, wasn't displayed on "Configure Dashboard"
Modified:
branches/JBoss_Portal_Branch_2_6/core/src/main/org/jboss/portal/core/aspects/controller/PageCustomizerInterceptor.java
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core/src/main/org/jboss/portal/core/aspects/controller/PageCustomizerInterceptor.java 2007-09-03
07:55:13 UTC (rev 8134)
+++
branches/JBoss_Portal_Branch_2_6/core/src/main/org/jboss/portal/core/aspects/controller/PageCustomizerInterceptor.java 2007-09-03
11:08:23 UTC (rev 8135)
@@ -39,6 +39,7 @@
import org.jboss.portal.core.controller.command.SignOutCommand;
import org.jboss.portal.core.model.CustomizationManager;
import
org.jboss.portal.core.model.instance.command.action.InvokePortletInstanceRenderCommand;
+import org.jboss.portal.core.model.instance.command.render.RenderPortletInstanceCommand;
import org.jboss.portal.core.model.portal.Page;
import org.jboss.portal.core.model.portal.Portal;
import org.jboss.portal.core.model.portal.PortalObject;
@@ -291,7 +292,7 @@
}
//
- if (admin || isDashboard)
+ if (admin || isDashboard || cc instanceof RenderPortletInstanceCommand)
{
// Link to default page of default portal
// Cannot use defaultPortalId in 2.6.x because the default context
doesn't have the view right.
Show replies by date