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 we...@apache.org on 2004/07/09 20:20:50 UTC

cvs commit: jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/window/impl PortletWindowImpl.java

weaver      2004/07/09 11:20:50

  Modified:    components/registry/src/java/org/apache/jetspeed/om/window/impl
                        PortletWindowImpl.java
  Log:
  Setting enitity now adds the window to that enitity's PortletWindowList
  
  Revision  Changes    Path
  1.4       +3 -1      jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/window/impl/PortletWindowImpl.java
  
  Index: PortletWindowImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/window/impl/PortletWindowImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PortletWindowImpl.java	15 Mar 2004 19:34:29 -0000	1.3
  +++ PortletWindowImpl.java	9 Jul 2004 18:20:50 -0000	1.4
  @@ -19,6 +19,7 @@
   
   import org.apache.pluto.om.window.PortletWindow;
   import org.apache.pluto.om.window.PortletWindowCtrl;
  +import org.apache.pluto.om.window.PortletWindowListCtrl;
   import org.apache.pluto.om.entity.PortletEntity;
   import org.apache.pluto.om.common.ObjectID;
   import org.apache.jetspeed.util.JetspeedObjectID;
  @@ -94,6 +95,7 @@
       public void setPortletEntity(PortletEntity portletEntity)
       {
           this.portletEntity = portletEntity;
  +        ((PortletWindowListCtrl)portletEntity.getPortletWindowList()).add(this);
       }
   
   }
  
  
  

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