[Zope-dev] Deleting objects by the users

R. David Murray bitz@bitdance.com
Thu, 22 Mar 2001 10:22:21 -0500 (EST)


On Thu, 22 Mar 2001, Rik Hoekstra wrote:
> one small correction: 
> 
> the line:
>          <dtml-call expr="manage_delObjects(getId())">
> should read:
>          <dtml-call expr="manage_delObjects([getId(),])">
> 
> as the manage_delObjects takes a list as argument

Well, but the other would work, since the first line of manage_delObjects is:

	if type(ids) is type(''): ids=[ids]

I can't decide whether I think that's a good thing or not <wry grin>.

--RDM