[Seaside] Using the select tag

Lukas Renggli renggli at gmail.com
Thu Sep 29 19:15:35 UTC 2011


> I used this approach in all my previous web applications with many
> programming languages (C, Rebol, Perl, PHP, ...). Why not with Pharo and
> Seaside ? .
>
> In fact in the callback, I think that the server code must not work with the
> label value but with the value of the tag. It's not the same thing.

Seaside is different by design.

In fact you give Seaside the list of objects you want to display in
the select-box and Seaside tells you which one of these objects was
selected. That's it.

Everything else, like POST URLs, <select> name, <option> values, ...
are automatically generated by Seaside for you. If you let Seaside do
that, things are really easy; if you want to do that yourself, Seaside
might not be the right choice (although you can tell it not to do it
for you).

Lukas

-- 
Lukas Renggli
www.lukas-renggli.ch


More information about the seaside mailing list