[Seaside-dev] Re: [Seaside Commits] Seaside 3.0: Seaside-Tests-Functional-obi.101.mcz

Lukas Renggli renggli at gmail.com
Wed Dec 30 16:49:50 UTC 2009


While I think this is a cool technique, it would be good to also
support the old way, because otherwise we break *a lot* of existing
code.

2009/12/30  <squeak-dev-noreply at lists.squeakfoundation.org>:
> Gerhard Obermann uploaded a new version of Seaside-Tests-Functional to project Seaside 3.0:
> http://www.squeaksource.com/Seaside30/Seaside-Tests-Functional-obi.101.mcz
>
> ==================== Summary ====================
>
> Name: Seaside-Tests-Functional-obi.101
> Author: obi
> Time: 30 December 2009, 5:06:20 pm
> UUID: d44d6c88-776c-5341-8cf6-d955c240d44d
> Ancestors: Seaside-Tests-Functional-obi.100
>
> - get rid of WADispatchCallback
> - use new rendering technique for radio group
>
> =============== Diff against Seaside-Tests-Functional-obi.100 ===============
>
> Item was changed:
>  ----- Method: WAInputElementContainer>>renderRadioButtonsOn: (in category 'rendering-elements') -----
>  renderRadioButtonsOn: html
> +       | radioGroup |
>        self
>                renderLabel: 'Radiogroup'
>                input: [
> +                       html radioGroup
> +                               callback: [:value | radio := value];
> +                               with: [ :group |
> +                                       self elements do: [ :each |
> +                                               html label: [
> +                                                       group radioButton
> +                                                               selected: radio = each;
> +                                                               value: (group valueFor: each).
> +                                                       html text: each ].
> +                                               html break ] ] ]
> -                       html radioGroup: [ :group |
> -                               self elements do: [ :each |
> -                                       html label: [
> -                                               group radioButton
> -                                                       selected: radio = each;
> -                                                       callback: [ radio := each ].
> -                                               html text: each ].
> -                                       html break ] ] ]
>                output: radio printString
>                on: html!
>
>
> _______________________________________________
> commits mailing list
> To unsubscribe, email commits-leave at lists.seaside.st
> http://lists.seaside.st/listinfo/commits
>



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


More information about the seaside-dev mailing list