version 1.59, 2005/10/23 09:46:26
|
version 1.60, 2005/10/26 11:18:19
|
Line 1
|
Line 1
|
# Objekte zur Erzeugung von Navigationselementen |
# Objekte zur Erzeugung von Navigationselement |
|
|
from AccessControl import ClassSecurityInfo |
from AccessControl import ClassSecurityInfo |
from Globals import DTMLFile |
from Globals import DTMLFile |
from OFS.Image import Image,cookId |
from OFS.Image import Image,cookId |
Line 269 class ECHO_sqlElement(SimpleItem):
|
Line 268 class ECHO_sqlElement(SimpleItem):
|
def getNavList(self): |
def getNavList(self): |
"""ausgabe der treffer list für navigation""" |
"""ausgabe der treffer list für navigation""" |
|
|
records=self.searchQuery() |
#naechste schritte sind trial and error, warum geht mal das eine mal das andere 2.3 / 2.4 ?? |
|
try: |
|
records=self.searchQuery(self.aq_parent,query=self.query) #python 2.4 version (??) |
|
except: |
|
records=self.serchQuery()#python 2.3 version(??) |
|
|
|
|
if not records: |
if not records: |