--- ECHO_content/ECHO_collection.py 2004/04/18 17:36:02 1.47 +++ ECHO_content/ECHO_collection.py 2004/04/18 19:40:13 1.48 @@ -266,6 +266,13 @@ class ECHO_resource(Folder): viewClassificationList=viewClassificationListMaster getSubCols = ECHO_helpers.getSubCols + def getTitle(self): + """title""" + return self.title.encode('utf-8') + + def getLabel(self): + """title""" + return self.label.encode('utf-8') def content_html(self): """template fuer content""" @@ -436,6 +443,14 @@ class ECHO_externalLink(Folder): security=ClassSecurityInfo() meta_type='ECHO_externalLink' + def getTitle(self): + """title""" + return self.title.encode('utf-8') + + def getLabel(self): + """title""" + return self.label.encode('utf-8') + def content_html(self): """template fuer content""" return content_html(self,'externalLink') @@ -525,6 +540,14 @@ class ECHO_collection(Folder, Persistent security=ClassSecurityInfo() meta_type='ECHO_collection' + def getTitle(self): + """title""" + return self.title.encode('utf-8') + + def getLabel(self): + """title""" + return self.label.encode('utf-8') + def createRessourcesFromXMLForm(self): """form""" pt=PageTemplateFile('Products/ECHO_content/zpt/createRessourcesFromXMLForm.zpt').__of__(self)