portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/impl PageAggregatorImpl.java
Date Thu, 06 Jan 2005 20:56:22 GMT
weaver      2005/01/06 12:56:22

  Modified:    portal/src/java/org/apache/jetspeed/aggregator/impl
                        PageAggregatorImpl.java
  Log:
  Maximize was not correctly rendering the maxed fragment.
  
  Revision  Changes    Path
  1.18      +6 -3      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/impl/PageAggregatorImpl.java
  
  Index: PageAggregatorImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/impl/PageAggregatorImpl.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- PageAggregatorImpl.java	4 Jan 2005 16:05:45 -0000	1.17
  +++ PageAggregatorImpl.java	6 Jan 2005 20:56:22 -0000	1.18
  @@ -199,8 +199,11 @@
               }
               try
               {
  -                renderer.renderNow(maxedFragment, context);
  -                renderer.renderNow(layoutFragment, context);
  +                renderer.render(maxedFragment, context);
  +                ContentDispatcher dispatcher = renderer.getDispatcher(context, false);
  +                dispatcher.sync(maxedFragment);
  +                renderer.render(layoutFragment, context);              
  +                dispatcher.sync(layoutFragment);
               }
               catch (Exception e)
               {
  
  
  

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