[Seaside] Dynamically changed lists and forms

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


Lukas Renggli

More information about the seaside mailing list