version 1.1, 2003/11/25 11:19:47
|
version 1.2, 2003/12/03 19:01:23
|
Line 454 class ECHO_collection(Folder, Persistent
|
Line 454 class ECHO_collection(Folder, Persistent
|
else: |
else: |
return "NO OVERVIEW GRAPHICS" |
return "NO OVERVIEW GRAPHICS" |
|
|
def ECHO_enterCoords(self,coordstr): |
def ECHO_enterCoords(self,coordstr,RESPONSE=None): |
"""Enter coords""" |
"""Enter coords""" |
self.coords.append(coordstr.split(",")) |
coords=self.coords |
pt=PageTemplateFile('Products/ECHO_content/ECHO_draw.zpt').__of__(self) |
coords.append(coordstr.split(",")) |
return pt() |
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') |
security.declarePublic('ECHO_Collection_config') |
Line 504 class ECHO_collection(Folder, Persistent
|
Line 507 class ECHO_collection(Folder, Persistent
|
if 'index.html' in self.__dict__.keys(): |
if 'index.html' in self.__dict__.keys(): |
return getattr(self,'index.html')() |
return getattr(self,'index.html')() |
elif 'overview' in self.__dict__.keys(): |
elif 'overview' in self.__dict__.keys(): |
|
print "HI" |
return self.showOverview() |
return self.showOverview() |
|
|
|
|
Line 530 class ECHO_collection(Folder, Persistent
|
Line 534 class ECHO_collection(Folder, Persistent
|
|
|
except: |
except: |
"""nothing""" |
"""nothing""" |
print "IDS",ids |
#print "IDS",ids |
return ids |
return ids |
|
|
def getSubCols(self,sortfield="weight"): |
def getSubCols(self,sortfield="weight"): |