Author: julien_viet
Date: 2011-09-02 10:38:36 -0400 (Fri, 02 Sep 2011)
New Revision: 7294
Modified:
portal/branches/api/component/api-impl/src/main/java/org/gatein/portal/api/impl/content/ContentRegistryImpl.java
Log:
rename application id -> application name in Portlet.Id
Modified:
portal/branches/api/component/api-impl/src/main/java/org/gatein/portal/api/impl/content/ContentRegistryImpl.java
===================================================================
---
portal/branches/api/component/api-impl/src/main/java/org/gatein/portal/api/impl/content/ContentRegistryImpl.java 2011-09-02
13:28:30 UTC (rev 7293)
+++
portal/branches/api/component/api-impl/src/main/java/org/gatein/portal/api/impl/content/ContentRegistryImpl.java 2011-09-02
14:38:36 UTC (rev 7294)
@@ -198,7 +198,7 @@
try
{
Portlet.Id portletId = (Portlet.Id)(Content.Id)id;
- PortletContext ctx = PortletContext.createPortletContext("local./"
+ portletId.getApplicationId() + "." + portletId.getPortletName());
+ PortletContext ctx = PortletContext.createPortletContext("local./"
+ portletId.getApplicationName() + "." + portletId.getPortletName());
PortletInvoker invoker = gateIn.getPortletInvoker();
org.gatein.pc.api.Portlet p = invoker.getPortlet(ctx);
Portlet portlet = new PortletImpl(p, gateIn);
Show replies by date