Project

General

Profile

« Previous | Next » 

Revision 3221

Added by berkley about 17 years ago

paging now works well. sped up the caching by using SAX instead of DOM parsing. it seems fast. need some other people to test for me though. the two params needed are 'pagesize' and 'pagestart'. I haven't updated any of the web interfaces to use this, so if you want to try it, you'll have to type in the url the old fashioned way

View differences:

DBSAXHandler.java
368 368
              
369 369
                if (!isRevisionDoc)
370 370
                {
371
                  //System.out.println("here!!!!!!!!!!!3");
372 371
                  currentDocument = new DocumentImpl(connection, rootNode
373 372
                        .getNodeID(), docname, doctype, docid, revision,
374 373
                        action, user, this.pub, catalogid, this.serverCode, 
375 374
                        createDate, updateDate);
376
                  //System.out.println("here!!!!!!!!!!!4");
377
                }
378
               
379

  
375
                }               
380 376
            } catch (Exception ane) {
381 377
                ane.printStackTrace();
382 378
                throw (new SAXException("Error in DBSaxHandler.startElement "

Also available in: Unified diff