Exemplo n.º 1
0
 def asDom(self,parent):
     element = Dommable.asDom(self,parent)
     consolidatedDict = Dict()
     for key in self._fields.keys():
         consolidatedDict.update({key:self[key]})
     self.appendChildObject(element,consolidatedDict,'data')
     return element
Exemplo n.º 2
0
 def asDom(self,parent):
     element = Dommable.asDom(self,parent)
     self.castToDommable(self.data).asDom(element)
     return element