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 PageAggregator.java
Date Thu, 08 Jan 2004 04:02:08 GMT
taylor      2004/01/07 20:02:08

  Modified:    portal/src/java/org/apache/jetspeed/aggregator
                        PageAggregator.java
  Log:
  need to setPage in PageAggregator
  
  Revision  Changes    Path
  1.4       +5 -3      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/PageAggregator.java
  
  Index: PageAggregator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/PageAggregator.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PageAggregator.java	7 Jan 2004 22:01:05 -0000	1.3
  +++ PageAggregator.java	8 Jan 2004 04:02:08 -0000	1.4
  @@ -151,6 +151,7 @@
   */
           //DEBUG CODE: use this to test a specific page
           Page page = org.apache.jetspeed.services.page.PageManager.getPage("p001");
  +        context.setPage(page);
   
           //Set default acl
           String acl = page.getAcl();
  @@ -224,11 +225,11 @@
   
   
               // Now synchronously trigger the rendering of the whole page
  -//            renderer.renderNow(page.getRootFragment(),context);
  +            renderer.renderNow(page.getRootFragment(), context);
   
               // DEBUG Testing: Use ContentDispatcher to display all children
               // of root fragment
  -
  +/*
               for(Iterator i = page.getRootFragment().getFragments().iterator(); i.hasNext();)
               {
                   Fragment fragment = (Fragment)i.next();
  @@ -238,6 +239,7 @@
                       dispatcher.include(fragment, context.getRequest(), context.getResponse());
                   }
               }
  +*/            
           }
           else
           {
  
  
  

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