[Zope] manage_delProperties woes

Casey Duncan cduncan@kaivo.com
Thu, 12 Jul 2001 13:41:02 -0600


Tommy Johnson wrote:
> 
> >  >                                    <dtml-call
> >  > expr="manage_delProperties(currentProperty)">
> > The method is called "manage_delProperties", i.e. it uses a plural.
> >
> > It wants a sequence of ids not a single id.
> >
> >
> > Dieter
> 
> Then, wouldn't this be in contrast of what the Zope Book says? I see under
> manage_delProperties([ids, REQUEST]) the following text explanation:
> "Delete one or more properties specified by ids."
> 
> Therefore, wouldn't providing ONE id be in agreement with this statement?
> How is one to only delete a single property?
> 
> Tommy

Pass it a one items list as in:

manage_delObjects([someid])

-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>