[Zope] List editing

Richard Wesley hawkfish@electricfish.com
Fri, 29 Mar 2002 14:54:14 -0800


I am trying to make a web page that edits a list:

Name	Age
----    ---
Sean	32	<delete>
Richard	40	<delete>

Name: ___
Age:  ___

<Add>

The question is, how do I pass the list at the top around between 
invocations of the page, especially in the case where there is no 
list at all!  I can see that I could build a list of records in the 
form and pass that to the action script (to send back to me again), 
but I am at a loss as to how to generate an argument consisting of an 
empty list.  And I am also concerned that this is not the best way to 
do this.

(I am using Page Templates BTW).

TIA,
- rmgw

http://www.electricfish.com/hawkfish/

----------------------------------------------------------------------------
Richard Wesley           Electric Fish, Inc.       hawkfish@electricfish.com

"They have forgotten the simplest of pleasures - that of the child and
   the unopened box." - Dukat in "Babylon 5: Atonement"