[Zope] manage_exportObject

Daniel G. Rusch drusch@globalcrossing.com
Tue, 07 Mar 2000 14:44:36 -0600


Now I am desperate, this is the fourth posting and still only one reply.
Any thoughts no
matter how far fetched would be overwhelmingly appreciated.

Does anyone know how to export an object (Folder or such) from outside
of the Folder that contains the item to be exported without hard coding
the path. In other words I would like to be able to have a user
interface which would allow a person, with an export role, to be able to
enter a
list of fully qualified Items to be exported.

Consider:

FolderA
        FolderB
                ItemToExport

I can export ItemToExport from FolderA by calling:

<dtml-with "FolderA.FolderB">
        <dtml-call "manage_exportObject(id='ItemToExport')">
</dtml-with>




but I don't want the FolderA.FolderB to be hard coded. I would like it
to be a var that I pass into the method. Something like:

<dtml-with FullPath>

what should the syntax be. 

Thanks,