> -----Original Message-----
> From: Lennart Regebro [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 19, 2005 12:03 PM
> Cc: J Cameron Cooper; zope@zope.org
> Subject: Re: [Zope] How to make a ZPT-based form that calls itself? (Part
> II)
> >What's wrong with this picture?
> This:
>    context.REQUEST.RESPONSE.redirect('personform.htm')
> When you do this, you loose everything in the form. When you then in
> the personform.htm do "context.REQUEST.person_id" you get a key-error.

Assuming the data loss is due to the 'redirect', I tried substituting this
alternative line, suggested by JCC earlier, into the script:


But that just changed the error to KeyError: 'personform_htm'.

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to