[Seaside] Weird behavior with select

Lukas Renggli renggli at gmail.com
Sun Jan 17 12:00:25 UTC 2010


There is an explanation in the following bug report:

    http://code.google.com/p/seaside/issues/detail?id=279

I don't think we are going to fix this in Seaside 2.8 though, as a
workaround define an empty callbacks; or better yet use Seaside 3.0.

Lukas

2010/1/17 Damien Cassou <damien.cassou at gmail.com>:
> Try the following code:
>
> renderContentOn: html
>   html form: [
>        html select
>                        list: (1 to: 14);
>                        selected: list1  asString";
>                        callback: [:val | nil]".
>
>        html submitButton: 'Ok']
>
>
> when the #callback: is commented as it is here, selecting some values
> in the list produces weird results. For example:
>
> - selecting '3' and pressing OK opens the configure dialog
> - '4' toggles the halos
> - '5' produces a walkback
> - '6' displays the memory footprint
>
> What's the reason behind this?
>
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> "Lambdas are relegated to relative obscurity until Java makes them
> popular by not having them." James Iry
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list