hello, I am trying to export a folder "exportFolder" using a DTML Method "exportMethod". I have the following structure in Zope: Root_Folder | | |-- folder_A | | | |- exportMethod | | |-- folder_B | | |-- exportFolder How can I export the folder "exportFolder" using some DTML Code within the DTML Method "exportMethod". Within "exportMethod" the path of "exportFolder" is already known as: http://localhost:8080/folder_B/exportFolder any ideas ? thanks in advance Nico ---------------------------------------------------------------- nico grubert (education & publishing) nico@beehive.de beehive elektronische medien GmbH http://www.beehive.de phone: +49 30 847-82 0 fax: +49 30 847-82 299
PROBLEM(100) ZODB FS FS21 warn: Database records in the future Is there anything that can be done about this problem? My system time was screwed up one day and some things were created that are future dates.
Frank McGeough writes:
PROBLEM(100) ZODB FS FS21 warn: Database records in the future
Is there anything that can be done about this problem? My system time was screwed up one day and some things were created that are future dates. If you are lucky, the problem will go away by itself (after the dates are no longer in the future).
Alternatively, maybe, "fsrecover" or "tranalyser" can do something for you. "fsrecover" is part of the Zope distribution (in the "ZODB" package) "tranalyser" is a product to be found on zope.org (I may have misspelled the product name!). Dieter
Nico Grubert writes:
I am trying to export a folder "exportFolder" using a DTML Method "exportMethod". I have the following structure in Zope:
Root_Folder | | |-- folder_A | | | |- exportMethod | | |-- folder_B | | |-- exportFolder
How can I export the folder "exportFolder" using some DTML Code within the DTML Method "exportMethod". Within "exportMethod" the path of "exportFolder" is already known as:
http://localhost:8080/folder_B/exportFolder
any ideas ? I am too lazy to look up the signature of "manage_export", leave this for you.
You can use: <dtml-with folder_B> <dtml-call "exportFolder.manage_export(...)"> <!-- it may become necessary to redirect here --> </dtml-with> If your 'exportMethod' does not have a constant path to the folder to export, you can use "restrictedTraverse" or "REQUEST.resolve_url" to resolve a path/url into an object. Dieter
participants (3)
-
Dieter Maurer -
Frank McGeough -
Nico Grubert