version 1.33, 2004/11/18 12:35:48
|
version 1.35, 2004/11/18 14:30:21
|
Line 376 class VLP_collection(ECHO_collection):
|
Line 376 class VLP_collection(ECHO_collection):
|
genObj.createIndexFile() |
genObj.createIndexFile() |
|
|
|
|
|
|
if RESPONSE is not None: |
if RESPONSE is not None: |
RESPONSE.redirect('manage_main') |
RESPONSE.redirect('manage_main') |
|
|
Line 439 class VLP_resource(ECHO_resource,Cacheab
|
Line 440 class VLP_resource(ECHO_resource,Cacheab
|
|
|
referencetypes=[] |
referencetypes=[] |
|
|
manage_options=ECHO_resource.manage_options+( |
manage_options=ECHO_resource.manage_options+Cacheable.manage_options+( |
{'label':'Update Index','action':'createIndexFile'}, |
{'label':'Update Index','action':'createIndexFile'}, |
{'label':'Reset MetaLink','action':'resetMetaLink'}, |
{'label':'Reset MetaLink','action':'resetMetaLink'}, |
{'label':'Generate Title','action':'generate_title'}, |
{'label':'Generate Title','action':'generate_title'}, |
Line 650 class VLP_resource(ECHO_resource,Cacheab
|
Line 651 class VLP_resource(ECHO_resource,Cacheab
|
result = self.ZCacheable_get(view_name=url) |
result = self.ZCacheable_get(view_name=url) |
if result is not None: |
if result is not None: |
# Got a cached value. |
# Got a cached value. |
print "CACHEXX" |
|
return result |
return result |
|
|
pagelist=[] |
pagelist=[] |