[Zope] List editing
Florent Guillaume
fg@nuxeo.com
Sat, 30 Mar 2002 16:59:56 +0000 (UTC)
Here's one way to get an empty list if you don't have any other values:
<input type="hidden" name="foo:tokens:default" value="">
HTH,
Florent
Richard Wesley <hawkfish@electricfish.com> wrote:
> 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.
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10 http://nuxeo.com mailto:fg@nuxeo.com