[Seaside] Dynamically changed lists and forms

Andres Fortier andres at lifia.info.unlp.edu.ar
Mon Oct 6 18:26:32 UTC 2008

Thanks for the quick response Lukas. I thought that maybe I could 
avoid submitting each value.


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 me
>> 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
> Javascript framework). They provide built in functionality to push
> values to the server and add them to a list on the server.
> Cheers,
> Lukas

More information about the seaside mailing list