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

Lennart Regebro regebro at gmail.com
Thu May 19 11:06:40 EDT 2005


On 5/19/05, Ken Winter <ken at sunward.org> 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?

Sure.

> This parameter-passing is what I seem to be having trouble with.  How does
> that script get the info it needs from the previous page?  In my example,
> when my "personform.htm" updates a record and then re-calls itself, how does
> it get the person_id identifying the record it's supposed to display the
> second time around?

You put it in a hidden input-field.

> I have a feeling that there's some point I'm just not getting here, but that
> I'm too new to this to figure out what it is.

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope mailing list