Ignore:
Timestamp:
18/11/08 16:01:34 (13 years ago)
Author:
cbyrom
Message:

Add code to allow the display of the new detailed deployments data
(retrieved by additional atom lookups) asynchronously.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/listatom.py

    r4432 r4442  
    8080                # browser reload 
    8181                if not (atomTypeID and providerID): 
    82                     return self.atomHome() 
     82                    return self.list() 
    8383                     
    8484                atomTypeID = atomTypeID.split('--')[1] 
     
    113113                elif val == utils.DEPLOYMENT_ASSOCIATION: 
    114114                    c.title += ' - to create associations with deployment data' 
    115                     listVals = [g.vtd.TERM_DATA[g.vtd.ACTIVITY_TERM]] 
     115                    listVals = [g.vtd.TERM_DATA[g.vtd.DEPLOYMENT_TERM]] 
    116116                elif val == utils.ENTITY_ASSOCIATION: 
    117117                    c.title += ' - to create associations with activity/data production tool/observation station data' 
     
    139139         
    140140        response.status_code = 400 
    141         return render('error') 
     141        return render("genshi", 'error') 
    142142     
    143143     
     
    155155         
    156156        dr = DocumentRetrieve(self.cf.get('NDG_EXIST','local'), 
    157                               self.cf.get('NDG_EXIST','passwordFile')) 
     157                              pwfile=self.cf.get('NDG_EXIST','passwordFile')) 
    158158     
    159159        results = dr.search(term, 
Note: See TracChangeset for help on using the changeset viewer.