Takahashi, Michael wrote:
Hi Suresh,
I've actually tried that. The problem I run into is that the folder in
my path contains a dash. When I call manage_delObjects on the following:
obj = context.restrictedTraverse('webcasts/courses/2005-2006/temp')
id = obj.getId()
context.webcasts.courses.20
Takahashi, Michael wrote:
I am trying to figure out how to delete an object in Zope given a path.
Any help is greatly appreciated.
You want to call manage_delObjects on the parent folder and give it the
list of ids.
___
Zope-Dev maill
Tres Seaver wrote:
Takahashi, Michael wrote:
I've actually tried that. The problem I run into is that the folder in
my path contains a dash. When I call manage_delObjects on the following:
obj = context.restrictedTraverse('webcasts/courses/2005-2006/temp')
You need to get a reference to th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Takahashi, Michael wrote:
> Hi Suresh,
>
> I've actually tried that. The problem I run into is that the folder in
> my path contains a dash. When I call manage_delObjects on the following:
>
>
> obj = context.restrictedTraverse('webcasts/courses/20
Hi Suresh,
I've actually tried that. The problem I run into is that the folder in
my path contains a dash. When I call manage_delObjects on the following:
obj = context.restrictedTraverse('webcasts/courses/2005-2006/temp')
id = obj.getId()
context.webcasts.courses.2005-2006.manage_delObjects(id