Ignore:
Timestamp:
05/12/07 11:53:43 (12 years ago)
Author:
lawrence
Message:

Slight bug fix in browse, improvements in DIF rendering for BGS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/DIF.py

    r3093 r3102  
    8282        #and so we don't populate this here ... 
    8383        self.constraints=AccessControl(None) 
    84          
     84        self.AccessConstraints=helper.getText(self.tree,'Access_Constraints') 
     85        self.UseConstraints=helper.getText(self.tree,'Use_Constraints') 
     86        self.distribution=[] 
     87        for e in helper.findall(self.tree,'Distribution'): 
     88            self.distribution.append(dict([(k,helper.getText(e,k)) for k in  
     89                ('Fees','Distribution_Media','Distribution_Size','Distribution_Format')])) 
    8590        #need entity.parameters, entity.bbox, entity.timeCoverage, entity.curator, entity.creators 
    8691        # nb, two ways of parameters being stored 
Note: See TracChangeset for help on using the changeset viewer.