portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r378110 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolImpl.java
Date Wed, 15 Feb 2006 22:56:39 GMT
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


Mime
View raw message