[Zope] a warning message before performing an action

Andreas Jung lists at zopyx.com
Thu Jun 14 11:22:43 EDT 2007



--On 14. Juni 2007 16:18:11 +0100 Alan <alanwilter at gmail.com> wrote:

> Dears,
>
> I have a web page with some buttons (<form action=...) to perform some
> action (by calling a python script). However, some actions (like
> 'delete' a picture for example) I would like to warn user before
> performing it. I recall from php how to pop up a window (or a drop
> down in Mac OSX) with a warning message prompting a 'Yes' or 'No'
> confirmation and I was wondering how would I do it with Zope, with an
> example if possible.

This has basically nothing to do with Zope. Either you use client-side
Javascript to ask for confirmation or you submit to dedicated from asking 
the user for yes/no..that's trivial HTML.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070614/aca9e98e/attachment-0001.bin


More information about the Zope mailing list