portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator PortletAggregator.java PortletValve.java
Date Tue, 16 Mar 2004 05:49:01 GMT
taylor      2004/03/15 21:49:01

  Modified:    portal/src/java/org/apache/jetspeed
                        PortalReservedParameters.java
               portal/src/java/org/apache/jetspeed/aggregator
                        PortletAggregator.java PortletValve.java
  Log:
  The PortletAggregator now accepts an entity parameter
  
  Revision  Changes    Path
  1.3       +2 -1      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/PortalReservedParameters.java
  
  Index: PortalReservedParameters.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/PortalReservedParameters.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PortalReservedParameters.java	8 Mar 2004 00:35:43 -0000	1.2
  +++ PortalReservedParameters.java	16 Mar 2004 05:49:01 -0000	1.3
  @@ -25,6 +25,7 @@
   public final class PortalReservedParameters
   {
       public final static String PORTLET = "portlet";
  +    public final static String PORTLET_ENTITY = "entity";        
       public final static String PAGE = "page";
       public final static String PIPELINE = "pipeline";
   }
  
  
  
  1.3       +2 -1      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/PortletAggregator.java
  
  Index: PortletAggregator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/PortletAggregator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PortletAggregator.java	8 Mar 2004 00:22:31 -0000	1.2
  +++ PortletAggregator.java	16 Mar 2004 05:49:01 -0000	1.3
  @@ -59,6 +59,7 @@
           Fragment fragment = new FragmentImpl(); // TODO: fragment factory
           fragment.setType(Fragment.PORTLET);
           fragment.setName(context.getRequestParameter(PortalReservedParameters.PORTLET));
  +        fragment.setId(context.getRequestParameter(PortalReservedParameters.PORTLET_ENTITY));
           
           renderer.renderNow(fragment, context);
       }
   }
  
  
  
  1.3       +2 -2      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/PortletValve.java
  
  Index: PortletValve.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/PortletValve.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PortletValve.java	8 Mar 2004 00:22:31 -0000	1.2
  +++ PortletValve.java	16 Mar 2004 05:49:01 -0000	1.3
  @@ -52,6 +52,6 @@
   
       public String toString()
       {
  -        return "AggregatorValve";
  +        return "PortletValve";
       }
   }
  
  
  

---------------------------------------------------------------------
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