On 4/11/06, Takahashi, Michael <[EMAIL PROTECTED]> wrote:
> I'm trying to write a function that checks to see if the current object is
> a 'Folder'.
several ways:
isinstance(object, Folder) # does not work in python scripts
or
object.meta_type == "Folder" # does work in python scripts
folder."
Mike
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Paul Winkler
Sent: Monday, April 10, 2006 4:43 PM
To: zope-dev@zope.org
Subject: Re: [Zope-dev] Is there a function to get the object type?
On Mon, Apr 10, 2006 at 03:46:41PM -0700,
On Mon, Apr 10, 2006 at 03:46:41PM -0700, Takahashi, Michael wrote:
> Hi guys,
>
> I'm trying to write a function that checks to see if the current object
> is a 'Folder'.
>
> I am using this tutorial as a reference:
>
> http://plone.org/documentation/how-to/pre-populated-folder
>
> To crea
would like to know that the current
object is a ‘Folder’
Thanks,
Mike
From: Aruna Kathiria
[mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 3:58
PM
To: Takahashi, Michael;
zope-dev@zope.org
Subject: RE: [Zope-dev] Is there a
function to get the object type?
Hello
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Takahashi,
MichaelSent: Monday, April 10, 2006 3:47 PMTo:
zope-dev@zope.orgSubject: [Zope-dev] Is there a function to get the
object type?
Hi
guys,
I’m trying to write a function that checks to see if the current object is a ‘Folder’.
Hi guys,
I’m trying to write a function that checks to see if the current object is a ‘Folder’.
I am using this tutorial as a reference:
http://plone.org/documentation/how-to/pre-populated-folder
To create a new content object, the following command is used:
parent.i