--- ECHO_content/ECHO_collection.py 2003/11/25 11:19:47 1.1 +++ ECHO_content/ECHO_collection.py 2003/12/03 19:01:23 1.2 @@ -454,11 +454,14 @@ class ECHO_collection(Folder, Persistent else: return "NO OVERVIEW GRAPHICS" - def ECHO_enterCoords(self,coordstr): + def ECHO_enterCoords(self,coordstr,RESPONSE=None): """Enter coords""" - self.coords.append(coordstr.split(",")) - pt=PageTemplateFile('Products/ECHO_content/ECHO_draw.zpt').__of__(self) - return pt() + coords=self.coords + coords.append(coordstr.split(",")) + self.coords=coords[0:] + #pt=PageTemplateFile('Products/ECHO_content/ECHO_draw.zpt').__of__(self) + if RESPONSE is not None: + RESPONSE.redirect('ECHO_graphicEntry') security.declarePublic('ECHO_Collection_config') @@ -504,6 +507,7 @@ class ECHO_collection(Folder, Persistent if 'index.html' in self.__dict__.keys(): return getattr(self,'index.html')() elif 'overview' in self.__dict__.keys(): + print "HI" return self.showOverview() @@ -530,7 +534,7 @@ class ECHO_collection(Folder, Persistent except: """nothing""" - print "IDS",ids + #print "IDS",ids return ids def getSubCols(self,sortfield="weight"):