cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/scratchpad/src/org/apache/cocoon/transformation/pagination Pagesheet.java Paginator.java
Date Fri, 29 Mar 2002 20:12:08 GMT
vgritsenko    02/03/29 12:12:08

  Modified:    src/scratchpad/src/org/apache/cocoon/transformation/pagination
                        Pagesheet.java Paginator.java
  Log:
  minor bug fix
  
  Revision  Changes    Path
  1.5       +3 -1      xml-cocoon2/src/scratchpad/src/org/apache/cocoon/transformation/pagination/Pagesheet.java
  
  Index: Pagesheet.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/transformation/pagination/Pagesheet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Pagesheet.java	22 Feb 2002 16:48:56 -0000	1.4
  +++ Pagesheet.java	29 Mar 2002 20:12:08 -0000	1.5
  @@ -79,7 +79,7 @@
    *             to blast the code and rewrite it better, you'll make me happy :)
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version CVS $Revision: 1.4 $ $Date: 2002/02/22 16:48:56 $
  + * @version CVS $Revision: 1.5 $ $Date: 2002/03/29 20:12:08 $
    */
    
   /* 
  @@ -214,6 +214,7 @@
                       pagesheet = new Pagesheet();
                       return;
                   }
  +                break;
               case 2:
                   if (loc.equals("rules")) {
                       if (this.pageRules == null) this.pageRules = new ResizableContainer(2);
  @@ -233,6 +234,7 @@
                       if (this.itemGroupsPerName == null) this.itemGroupsPerName = new HashMap(2);
                       if (this.itemGroupsPerElement == null) this.itemGroupsPerElement =
new HashMap(2);
                   }
  +                break;
               case 3:
                   if (loc.equals("count")) {
                       if (a.getValue("type").equals("element")) {
  
  
  
  1.7       +3 -3      xml-cocoon2/src/scratchpad/src/org/apache/cocoon/transformation/pagination/Paginator.java
  
  Index: Paginator.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/transformation/pagination/Paginator.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Paginator.java	22 Feb 2002 16:48:56 -0000	1.6
  +++ Paginator.java	29 Mar 2002 20:12:08 -0000	1.7
  @@ -90,7 +90,7 @@
    * A paginating transformer.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version CVS $Revision: 1.6 $ $Date: 2002/02/22 16:48:56 $
  + * @version CVS $Revision: 1.7 $ $Date: 2002/03/29 20:12:08 $
    */
   public class Paginator extends AbstractTransformer
       implements Composable, Disposable, Cacheable {
  @@ -124,8 +124,8 @@
               this.manager = manager;
               getLogger().debug("Looking up " + Parser.ROLE);
               this.parser = (Parser) manager.lookup(Parser.ROLE);
  -            getLogger().debug("Looking up " + Store.ROLE);
  -            this.store = (Store) manager.lookup(Store.ROLE);
  +            getLogger().debug("Looking up " + Store.ROLE + "/TransientCache");
  +            this.store = (Store) manager.lookup(Store.ROLE + "/TransientCache");
           } catch (Exception e) {
               getLogger().error("Could not find component", e);
           }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message