[gatein-commits] gatein SVN: r7294 - portal/branches/api/component/api-impl/src/main/java/org/gatein/portal/api/impl/content.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Sep 2 10:38:36 EDT 2011


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);



More information about the gatein-commits mailing list