Re: [Zope] convert DTML Document to a folder.
yes, That was my idea. Is there a solution for that convert. Martin Koekenberg -Original Message-From: Jonathan Cyr [EMAIL PROTECTED]To: Martin Koekenberg [EMAIL PROTECTED]Cc: zope@zope.org Date: Fri, 18 Nov 2005 17:21:00 -0500Subject: Re: [Zope] convert DTML Document to a folder.So, you'd like to turn an independent entry into a container to hold more info? -JonMartin Koekenberg wrote: The DTML Documents are userinfo documents. I want to create a photoorder form and generate a dtml document with that users orders. I want to place that in his user folder. Martin Koekenberg -Original Message- From: Andreas Jung [EMAIL PROTECTED] To: Martin Koekenberg [EMAIL PROTECTED], zope@zope.org Date: Wed, 16 Nov 2005 15:42:35 +0100 Subject: Re: [Zope] convert DTML Document to a folder. --On 16. November 2005 15:35:14 +0100 Martin Koekenberg [EMAIL PROTECTED] wrote: Hello, Is it possible to convert a DTML Document to a folder, Both with properties ? I use Zope 2.8.4. Converting a piece of textual content to a folder makes no sense. WHat are you trying to do??? -aj ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Jonathan Cyr http://www.cyr.info http://www.weddingweblog.com [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] convert DTML Document to a folder.
Martin Koekenberg wrote at 2005-11-16 15:35 +0100: Is it possible to convert a DTML Document to a folder, Both with properties ? I use Zope 2.8.4. As you explained in a later message, you seem only be interested in the document's properties. This is possible (but requires a bit of work from you): You use the PropertyManager API (partially documented in Zope's online help system; implemented (and documented via docstrings) in OFS.PropertyManager.PropertyManager) to ask the document for its property info and to recreate the same properties on the folder. You will do this in a script (implemented by yourself; there is rarely a need to convert a document into a folder (and as Andreas explained, it is usually impossible)). -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] convert DTML Document to a folder.
So, you'd like to turn an independent entry into a container to hold more info? -Jon Martin Koekenberg wrote: The DTML Documents are userinfo documents. I want to create a photoorder form and generate a dtml document with that users orders. I want to place that in his user folder. Martin Koekenberg -Original Message- From: Andreas Jung [EMAIL PROTECTED] To: Martin Koekenberg [EMAIL PROTECTED], zope@zope.org Date: Wed, 16 Nov 2005 15:42:35 +0100 Subject: Re: [Zope] convert DTML Document to a folder. --On 16. November 2005 15:35:14 +0100 Martin Koekenberg [EMAIL PROTECTED] wrote: Hello, Is it possible to convert a DTML Document to a folder, Both with properties ? I use Zope 2.8.4. Converting a piece of textual content to a folder makes no sense. WHat are you trying to do??? -aj ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Jonathan Cyr http://www.cyr.info http://www.weddingweblog.com [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] convert DTML Document to a folder.
The DTML Documents are userinfo documents. I want to create a photoorder form and generate a dtml document with that users orders. I want to place that in his user folder. Martin Koekenberg -Original Message- From: Andreas Jung [EMAIL PROTECTED] To: Martin Koekenberg [EMAIL PROTECTED], zope@zope.org Date: Wed, 16 Nov 2005 15:42:35 +0100 Subject: Re: [Zope] convert DTML Document to a folder. --On 16. November 2005 15:35:14 +0100 Martin Koekenberg [EMAIL PROTECTED] wrote: Hello, Is it possible to convert a DTML Document to a folder, Both with properties ? I use Zope 2.8.4. Converting a piece of textual content to a folder makes no sense. WHat are you trying to do??? -aj ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] convert DTML Document to a folder.
Hello, Is it possible to convert a DTML Document to a folder, Both with properties ? I use Zope 2.8.4. Regards, Martin Koekenberg ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] convert DTML Document to a folder.
--On 16. November 2005 15:35:14 +0100 Martin Koekenberg [EMAIL PROTECTED] wrote: Hello, Is it possible to convert a DTML Document to a folder, Both with properties ? I use Zope 2.8.4. Converting a piece of textual content to a folder makes no sense. WHat are you trying to do??? -aj pgpznKHR7a6Sg.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )