[Zope] How to make a ZPT-based form that calls itself? (Part II)

Paul Winkler pw_lists at slinkp.com
Wed May 18 19:42:41 EDT 2005


On Wed, May 18, 2005 at 07:32:29PM -0400, Ken Winter wrote:
> The difference between this and the deletion example is that this form
> (personform.htm) need to be called with an argument, giving the person_id
> that identifies the record it is supposed to display.  I have tried a number
> of ways to sneak this argument in, but my limited experience with
> Zope/Python syntax has left me unable to guess the right trick.

You can append it to the url as a query parameter.
e.g.:

response.redirect('some_page?some_parameter=%s' % some_value)
 
-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list