Fwd: HTML data entry forms and ZPTs
Phillip Hutchings <[email protected]>
| Newsgroups | gmane.comp.web.zope.page-templates |
|---|---|
| Message-ID | <[email protected]> |
> Here is the entire body of the Python script "delete_person_py(id)" that the > ZPT <form> tag is trying to call and that in turn invokes the ZSQL > "delete_person" method: > > container.delete_person(person_id=id) shouldn't that be something like container.delete_person(person_id=REQUEST.form['person_id']) ? > and here's the ZSQL method "delete_person" that it calls: > > delete from person where person_id = <dtml-sqlvar person_id type=int> -- Phillip Hutchings http://www.sitharus.com/ [email protected] / [email protected]