Hey I inserted a picture using : --> <dtml-call "zmovie_images.manage_addImage(id= REQUEST['zmovie_title'], file= REQUEST['zmovie_path'])"> And am now trying to delete it with: --> <dtml-call "zmovie_images.manage_delObjects(ids=[REQUEST['zmovie_title']])"> but it won't work... Any Ids? Thanx Maarten Demont
Hi Demont, Can you give us a little more to go on? Maybe a traceback? Error message? Are you sure 'zmovie_title' is being set correctly in the REQUEST? Also.. is there some other conflicting use of zmovie_title that prevents you from saying simply : <dtml-call "zmovie_images.manage_delObjects(ids=zmovie_title)"> ? without all the [REQUEST['..']] stuff? good luck! -steve On Wednesday, November 28, 2001, at 02:13 PM, Demont Maarten wrote:
Hey
I inserted a picture using :
--> <dtml-call "zmovie_images.manage_addImage(id= REQUEST['zmovie_title'], file= REQUEST['zmovie_path'])">
And am now trying to delete it with:
--> <dtml-call "zmovie_images.manage_delObjects(ids=[REQUEST['zmovie_title']])">
but it won't work...
Any Ids?
Thanx
Maarten Demont
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Demont Maarten -
Steve Spicklemire