Ignore:
Timestamp:
02/02/07 16:28:09 (13 years ago)
Author:
lawrence
Message:

Sundry modifications associated with the deployment on glue, and better
options for viewing and downloading the underlying xml records (not yet
complete)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/PythonCode/wsgi/DiscoveryGUI.py

    r1958 r2097  
    66from DiscoveryState import DiscoveryState 
    77from Utilities import myConfig 
     8from ndgObject import ndgObject 
    89 
    910class DiscoveryGUI: 
     
    132133            difs=[] 
    133134            for result in results:  
    134                 url='%s?%s=%s'%(self.config.get('DISCOVERY','default'), 
    135                 self.config.get('DISCOVERY','instance'),result[0]) 
    136                 difs.append(DIF(result[1],url=url)) 
     135                obj=ndgObject(result[0]) 
     136                obj.setConfig(self.config) 
     137                difs.append(DIF(result[1],ndgObject=obj)) 
    137138            if results==[]: 
    138139               self.html+='<p>No results for "%s"!</p>'%searchString 
Note: See TracChangeset for help on using the changeset viewer.