Changeset 4214 for TI05-delivery


Ignore:
Timestamp:
22/09/08 11:29:49 (11 years ago)
Author:
cbyrom
Message:

Add cmp method to DeploymentLink? to allow for object equality tests +
add new method to MolesEntity? to ensure that only unique deployment
links are added to the helper arrays + add new constructor input to
Atom to allow the content to be defined at creation.

File:
1 edited

Legend:

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

    r4205 r4214  
    99from xml.parsers.expat import ExpatError 
    1010import logging 
    11 from atom.Atom import Atom 
     11from ndgUtils.models.Atom import Atom 
    1212 
    1313class RetrieveController(BaseController): 
     
    104104                renderTemplate = 'atom' 
    105105                c.xmlh=x 
    106                 c.atom = Atom() 
    107                 c.atom.fromString(str(x)) 
     106                c.atom = Atom(xmlString=str(x), ndgObject = self.uri) 
    108107                c.r = info = self.__mytb('') 
    109108                c.title=x.getText('title') 
Note: See TracChangeset for help on using the changeset viewer.