Author: mwringe
Date: 2009-08-28 01:18:06 -0400 (Fri, 28 Aug 2009)
New Revision: 110
Modified:
components/pc/trunk/pc/src/main/java/org/gatein/pc/container/ContainerPortletInvoker.java
Log:
Change the portlet context id to match what is being used in the portal.
Modified:
components/pc/trunk/pc/src/main/java/org/gatein/pc/container/ContainerPortletInvoker.java
===================================================================
---
components/pc/trunk/pc/src/main/java/org/gatein/pc/container/ContainerPortletInvoker.java 2009-08-28
03:33:57 UTC (rev 109)
+++
components/pc/trunk/pc/src/main/java/org/gatein/pc/container/ContainerPortletInvoker.java 2009-08-28
05:18:06 UTC (rev 110)
@@ -205,8 +205,8 @@
public PortletImpl(PortletContainer container)
{
this.container = container;
- this.context =
PortletContext.createPortletContext(container.getPortletApplication().getId() +
"." + container.getId());
- //this.context =
PortletContext.createPortletContext(container.getPortletApplication().getId().substring(1)
+ "/" + container.getId());
+ //this.context =
PortletContext.createPortletContext(container.getPortletApplication().getId() +
"." + container.getId());
+ this.context =
PortletContext.createPortletContext(container.getPortletApplication().getId().substring(1)
+ "/" + container.getId());
}
public PortletContext getContext()