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 ra...@apache.org on 2001/07/29 15:21:42 UTC

cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controllers RowColumnControllerAction.java

raphael     01/07/29 06:21:42

  Modified:    src/java/org/apache/jetspeed/modules/actions/controllers
                        RowColumnControllerAction.java
  Log:
  [fix] newly added portlet or panes now correctly appear in customizer
  
  Revision  Changes    Path
  1.5       +2 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controllers/RowColumnControllerAction.java
  
  Index: RowColumnControllerAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controllers/RowColumnControllerAction.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RowColumnControllerAction.java	2001/07/23 21:48:07	1.4
  +++ RowColumnControllerAction.java	2001/07/29 13:21:42	1.5
  @@ -61,7 +61,7 @@
   import org.apache.jetspeed.services.rundata.JetspeedRunData;
   import org.apache.jetspeed.services.Registry;
   import org.apache.jetspeed.om.profile.Profile;
  -import org.apache.jetspeed.om.newregistry.RegistryEntry;
  +import org.apache.jetspeed.om.registry.RegistryEntry;
   import org.apache.jetspeed.xml.api.portletmarkup.Portlets;
   import org.apache.jetspeed.xml.api.portletmarkup.Entry;
   import org.apache.jetspeed.xml.api.portletmarkup.Metainfo;
  @@ -146,7 +146,7 @@
   
           List plist = new ArrayList();
           List work = new ArrayList();
  -        List filler = Collections.nCopies(set.size(),null);
  +        List filler = Collections.nCopies(portlets.getPortletsCount()+portlets.getEntryCount(),null);
           plist.addAll(filler);
           
           for (int i=0; i < portlets.getPortletsCount(); i++)
  
  
  

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