portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raph...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/portal/factory PortletConfigFactory.java
Date Mon, 28 May 2001 15:09:00 GMT
raphael     01/05/28 08:09:00

  Modified:    src/java/org/apache/jetspeed/portal/factory
                        PortletConfigFactory.java
  Log:
  add a name property to any config object
  
  Revision  Changes    Path
  1.15      +3 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/portal/factory/PortletConfigFactory.java
  
  Index: PortletConfigFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/factory/PortletConfigFactory.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- PortletConfigFactory.java	2001/05/27 15:34:36	1.14
  +++ PortletConfigFactory.java	2001/05/28 15:08:59	1.15
  @@ -71,7 +71,7 @@
   data sets.
   
   @author <a href="mailto:raphael@apache.org">RaphaŽl Luta</a>
  -@version $Id: PortletConfigFactory.java,v 1.14 2001/05/27 15:34:36 raphael Exp $
  +@version $Id: PortletConfigFactory.java,v 1.15 2001/05/28 15:08:59 raphael Exp $
   */
   public class PortletConfigFactory
   {
  @@ -86,7 +86,7 @@
       {
   
           PortletConfig pc = new BasePortletConfig();
  -
  +        pc.setName( entry.getName() );
           pc.setInitParameters( ParametersFactory.getParameters( entry ) );
           pc.setMetainfo( MetaDataFactory.getMetaData( entry ) );
           pc.setURL( entry.getURL() );
  @@ -105,6 +105,7 @@
       {
           
           PortletConfig pc = new BasePortletConfig();
  +        pc.setName( portlets.getName() );
           pc.setInitParameters( ParametersFactory.getParameters( portlets ) );
           if (portlets.getSkin()!=null)
           {
  
  
  

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


Mime
View raw message