[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Advanced
Zope Scripting
webmaster at zope.org
webmaster at zope.org
Mon Dec 22 19:51:06 EST 2003
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/ScriptingZope.stx#2-99
---------------
This form will call either the *fireEmployees* or the
*promoteEmployees* script in the *employeeHandlers* folder,
depending on which of the two submit buttons is used. Notice
also how it builds a list of employees with the *list*
converter. Form converters can be very useful when designing
Zope applications.
% Anonymous User - Dec. 22, 2003 7:51 pm:
note - you can't use this directly to make buttons "link" to different result pages.
The form submits to the named script, and the script is responsible for deciding what happens next, maybe
with a RESPONSE.redirect().
More information about the ZDP
mailing list