Re: [Zope-dev] Deleting objects by the users

2001-03-22 Thread R. David Murray
On Thu, 22 Mar 2001, Rik Hoekstra wrote: > one small correction: > > the line: > > should read: > > > 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]

Re: [Zope-dev] Deleting objects by the users

2001-03-22 Thread Casey Duncan
Rik Hoekstra wrote: > > one small correction: > > the line: > > should read: > > > as the manage_delObjects takes a list as argument > > hth > > Rik Actually manage_delObjects will take a string argument if it is a single id. However a list with one item is also acceptabl

Re: [Zope-dev] Deleting objects by the users

2001-03-22 Thread Rik Hoekstra
one small correction: the line: should read: as the manage_delObjects takes a list as argument hth Rik ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encod

Re: [Zope-dev] Deleting objects by the users

2001-03-21 Thread Casey Duncan
Menno Brandsen wrote: > > Hello all, I have a question conserning deleting objects(images) by the user > > The situation is this : > > I have a page that lists the contents of the folder below, containing images > of a site. > In that list a want to let the user/client delete the image that he

[Zope-dev] Deleting objects by the users

2001-03-21 Thread Menno Brandsen
Hello all, I have a question conserning deleting objects(images) by the user The situation is this : I have a page that lists the contents of the folder below, containing images of a site. In that list a want to let the user/client delete the image that he wants. I've tried using this syntax :