[Seaside] Dynamically changed lists and forms
renggli at gmail.com
Mon Oct 6 19:21:03 UTC 2008
> 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
values to the server and add them to a list on the server.
More information about the seaside