On 5/19/05, Ken Winter [EMAIL PROTECTED] 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
-Original Message-
From: Lennart Regebro [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 19, 2005 4:36 AM
To: [EMAIL PROTECTED]
Cc: J Cameron Cooper; zope@zope.org
Subject: Re: [Zope] How to make a ZPT-based form that calls itself? (Part
II)
On 5/19/05, Ken Winter [EMAIL PROTECTED]
On 5/19/05, Ken Winter [EMAIL PROTECTED] wrote:
* I assume you include data retrieved from (and updated in) an underlying
relational database.
* Does data also include parameters (or arguments, or query string
variables, or whatever you call them) passed from one HTML page to the next?
-Original Message-
From: Lennart Regebro [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 19, 2005 11:07 AM
To: [EMAIL PROTECTED]
Cc: J Cameron Cooper; zope@zope.org
Subject: Re: [Zope] How to make a ZPT-based form that calls itself? (Part
II)
On 5/19/05, Ken Winter [EMAIL
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.
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content
-Original Message-
From: Lennart Regebro [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 19, 2005 12:03 PM
To: [EMAIL PROTECTED]
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?
On 5/19/05, Ken Winter [EMAIL PROTECTED] wrote:
But that just changed the error to KeyError: 'personform_htm'.
Well, it's 'personform.htm', not undescore, right?
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
Am Donnerstag, den 19.05.2005, 11:56 -0400 schrieb Ken Winter:
-Original Message-
From: Lennart Regebro [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 19, 2005 11:07 AM
To: [EMAIL PROTECTED]
Cc: J Cameron Cooper; zope@zope.org
Subject: Re: [Zope] How to make a ZPT-based form
In Part I, J Cameron Cooper showed me how to write a ZPT-based form that
displayed a list of database records and gave the user a chance to delete
one of them, after which the form redisplayed itself with a refreshed list
that reflected the deletion just performed. The core of this was this
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
10 matches
Mail list logo