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 :

<a href="#" onClick="<dtml-call
"image_folder.manage_delObjects(ids=_['id'])">"> DELETE </a>

What happens now is that as soon as the page loads it inmediatly deletes the
images.
Can anybody tell me a sollution for this problem ?
I would be very gratefull ! =)

Greetings,
Menno Brandsen




0---------------------------------o
| M. Brandsen                     |
| Parkstraat 20                   |
| 2517 JK                         |
| Den Haag                        |
| +31(0)70-3108950         0---------------------------------o
| [EMAIL PROTECTED]       |                                 |
|                          |     Your mouse has moved.       |
0--------------------------|   Windows has to reboot for     |
                           |     changes to take effect.     |
                           |                                 |
                           |             [ OK ]              |
                           |                                 |
                           0---------------------------------0



_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to