Ignore:
Timestamp:
19/05/09 11:23:47 (10 years ago)
Author:
cbyrom
Message:

Improve structure of DiscoveryState? module by adding a new object,
PagerState? to hold the data connected to the results table paging.
Also tidy up code layout and simplify logic. Create new template
method, pagerControl, to represent the results table paging control

  • to allow reuse across the results and short_results templates.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/lib/Utilities.py

    r5302 r5305  
    11import urllib, logging 
    2 from milk_server.lib.base import * 
    32from ndg.common.src.clients.xmldb.eXist.atomclient import AtomClient 
    43 
     
    98    logging.info("Setting up eXist client to provider, '%s'" %providerID) 
    109    # firstly check if there is a current connection available 
     10    from milk_server.lib.base import g, request 
    1111    eXistClient = g.eXistDBCons.get(providerID) 
    1212    if eXistClient: 
Note: See TracChangeset for help on using the changeset viewer.