[Zope] Re:updating a form from itself
Tue, 10 Jun 2003 12:43:00 -0700
One way to do it:
Have the form call a python script that reads the database and populates the
form during the form rendering. The action of the form could be another
python script, which will update the database via a ZSQL method. At the end
of the script, call the form again, which will then get updated with the new
From: garry saddington [mailto:email@example.com]
Sent: Tuesday, June 10, 2003 12:16 PM
Subject: [Zope] Re:updating a form from itself
I have a booking form whose contents are generated from a ZSQL method.
The user then uses this form to place another booking. How can I send the
data to another ZSQL method to update the database and then change the same
form to reflect the new booking and present this to the user as
I am OK on using variables in ZSQL it is the mechanics of the submit that i
need to know.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -
The information contained in this email message may be privileged and is
confidential information intended only for the use of the recipient or any
employee or agent responsible for delivering it to the intended recipient.
Any unauthorized use, distribution or copying of this information is
strictly prohibited and may be unlawful. If you have received this
communication in error, please notify the sender immediately and destroy the
original message and all attachments from your electronic files.