--- OSAS/OSA_system/OSAS_show.py 2003/09/25 17:52:02 1.2 +++ OSAS/OSA_system/OSAS_show.py 2003/10/01 08:20:47 1.3 @@ -152,7 +152,7 @@ class OSAS_StoreOnline(SimpleItem): if not self.REQUEST.has_key('fileupload'): #newtext=urllib.unquote(self.REQUEST['indexmeta']) newtext=self.REQUEST['indexmeta'] - print newtext + else: self.file_name=self.REQUEST['fileupload'].filename #newtext=self.REQUEST.form['fileupload'].read() @@ -163,8 +163,10 @@ class OSAS_StoreOnline(SimpleItem): indexmeta.writelines(newtext) return self.REQUEST.response.redirect(self.REQUEST['URL1']+"?path="+self.REQUEST.SESSION['path']) - - + def add_metafile(self): + """nothing""" + pt=PageTemplateFile('products/OSA_system/OSAS_addmetadata.zpt').__of__(self) + return pt() def manage_AddOSAS_StoreOnlineForm(self): """interface for adding the OSAS_root""" @@ -819,7 +821,7 @@ def getText(nodelist): def getBib(nodelist): rc= "" - print "HI" + for node in nodelist: if node.nodeType == node.ELEMENT_NODE: @@ -862,7 +864,7 @@ def getMetafile(path): else: html=html+"

Info

" html=html+getBib(bib.childNodes) - print html + except: """none"""