You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2006/02/15 23:56:39 UTC

svn commit: r378110 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java

Author: taylor
Date: Wed Feb 15 14:56:37 2006
New Revision: 378110

URL: http://svn.apache.org/viewcvs?rev=378110&view=rev
Log:
trying a different route to the entity

Modified:
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java

Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java?rev=378110&r1=378109&r2=378110&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java (original)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java Wed Feb 15 14:56:37 2006
@@ -319,7 +319,8 @@
      */
     public PortletEntity getPortletEntity(ContentFragment f) throws Exception
     {
-        PortletEntity portletEntity = entityAccess.getPortletEntityForFragment(f);
+        PortletEntity portletEntity = windowAccess.getPortletWindow(f).getPortletEntity();
+        // This API hits the DB: PortletEntity portletEntity = entityAccess.getPortletEntityForFragment(f);
         if (portletEntity == null)
         {
             try



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org