[Seaside] Dynamically changed lists and forms
andres at lifia.info.unlp.edu.ar
Mon Oct 6 18:40:14 UTC 2008
Thanks Dave I didn't thought about that one. I think I may go in that
Dave Bauer escribió:
> On Mon, Oct 6, 2008 at 2:26 PM, Andres Fortier
> <andres at lifia.info.unlp.edu.ar> wrote:
>> Thanks for the quick response Lukas. I thought that maybe I could avoid
>> submitting each value.
> Offhand, you can add the list entries to a hidden variable that will
> be submitted when you submit the form.
>> Lukas Renggli escribió:
>>>> the function works ok (at least I can see the elemnts being added to the
>>>> list). However when the #addPath message is called as the result of
>>>> submitting the form the collection of points is empty. Could anybody tell
>>>> what am I doing wrong or what am I missing?
>>> This is how HTTP/HTML works, not a restriction of Seaside: A
>>> select-list is only a list of strings (and associated names) in the
>>> web browser. Upon form submission the name of the selected item is
>>> submitted to the server, not the items within the list itself.
>>> I suggest that you have a look at Scriptaculous (or any other
>>> values to the server and add them to a list on the server.
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
More information about the seaside