version 1.47.2.31, 2005/10/14 16:32:09
|
version 1.47.2.32, 2005/10/14 16:41:27
|
Line 296 class MPIWGRoot(ZSQLExtendFolder):
|
Line 296 class MPIWGRoot(ZSQLExtendFolder):
|
ids=[int(x.id[1:]) for x in founds] |
ids=[int(x.id[1:]) for x in founds] |
maximum=max(ids) |
maximum=max(ids) |
|
|
id_raw=self.ZSQLQuery("select nextval('id_raw_test')",debug=debug) |
id_raw=self.ZSQLQuery("select nextval('id_raw')",debug=debug) |
|
|
if id_raw: |
if id_raw: |
self.ZSQLQuery("drop sequence id_raw_test",debug=debug) |
self.ZSQLQuery("drop sequence id_raw",debug=debug) |
|
|
self.ZSQLQuery("create sequence id_raw_test start %i"%(maximum+1),debug=debug) |
self.ZSQLQuery("create sequence id_raw start %i"%(maximum+1),debug=debug) |
|
|
|
|
def queryLink(self,link): |
def queryLink(self,link): |
Line 761 class MPIWGRoot(ZSQLExtendFolder):
|
Line 761 class MPIWGRoot(ZSQLExtendFolder):
|
|
|
def updateHomepages(self,RESPONSE=None): |
def updateHomepages(self,RESPONSE=None): |
""" update""" |
""" update""" |
|
#FIXME: seite wird hinter apache mehrfach ausgefŸhrt |
RESPONSE.setHeader('Content-type', 'text/html') |
RESPONSE.setHeader('Content-type', 'text/html') |
RESPONSE.write("<html><body>\n") |
RESPONSE.write("<html><body>\n") |
url="http://itgroup.mpiwg-berlin.mpg.de:8050/FMPro?-db=personal-www&-format=-dso_xml&-lay=sql_export&-max=10000&-findall" |
url="http://itgroup.mpiwg-berlin.mpg.de:8050/FMPro?-db=personal-www&-format=-dso_xml&-lay=sql_export&-max=10000&-findall" |