[ZPatterns] Deleting a DataSkin propertysheet?
Phillip J. Eby
[email protected]
Thu, 27 Sep 2001 07:24:38 -0500
At 09:13 AM 9/27/01 +0200, Jean Jordaan wrote:
>Hi all
>
>I have code like this in a Python Script::
>
> for user in users:
> if getattr(user.propertysheets, 'CommonProperties', None):
> user.propertysheets.manage_delPropertySheet('CommonProperties')
> user_ids.append(user.id)
>
>It doesn't look as if the 'manage_delPropertySheet' call is doing
>anything. The propertysheet 'CommonProperties' is::
>
> DataSkin Attribute Property Sheet at
>
>/Control_Panel/Products/FekoWeb/FekoUser/propertysheets/common/CommonPropert
>ies
AFAIK, you can't delete a propertysheet which is defined in the ZClass,
only ones which have been added to the instance. AFAIK, this is also a
Zope/ZClass thing, nothing to do with ZPatterns.