With my latest commits the OLD API is now working as before.<br><br>New API is still using with: (I don&#39;t like it too) , what should be used instead.<br>I would also like to know if anyone suggest a better selector than callbackValue:<br>
(value: should not be used as Julian already suggested)<br><br>Example:<br>    self<br>        renderLabel: &#39;Radiogroup&#39;<br>        input: [<br>            html radioGroup<br>                callback: [:value | radio := value];<br>
                with: [ :group |<br>                    self elements do: [ :each |<br>                        html label: [ <br>                            group radioButton<br>                                selected: radio = each;<br>
                                callbackValue: each.<br>                            html text: each ].<br>                        html break ] ] ]<br>        output: radio printString<br>        on: html<br><br>Cheers<br>
Gerhard<br><br><br><div class="gmail_quote">On Thu, Dec 31, 2009 at 12:31 PM, Philippe Marschall <span dir="ltr">&lt;<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2009/12/30 Lukas Renggli &lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;:<br>
<div class="im">&gt; I think this is a good improvement, but we have to be careful.<br>
&gt; Behavior seems to be a bit distributed at the moment, for example the<br>
&gt; callback is on the group but the selection is still on the individual<br>
&gt; options?<br>
&gt;<br>
&gt; I would prefer if you&#39;d continued in a separate branch before merging<br>
&gt; everything. Also I&#39;d like to hear the comments of Julian and Philippe,<br>
&gt; they didn&#39;t reply yet and might have other ideas. Also there is a<br>
&gt; certain risk with so deep changes that potentially break a lot of code<br>
&gt; so close to beta ...<br>
<br>
</div>We have been close to beta for about a year ;-)<br>
<br>
Sorry to be kinda party pooper here:<br>
- I really don&#39;t like a #with: that gives you something else than an html canvas<br>
- I would prefer it if you could keep the old API for compatibility,<br>
even if deprecated.<br>
- I certainly prefer if there is a convenience API that makes simple<br>
things simple as long as complex things are still possible. I.e. are<br>
we sure we never need a callback on a radio button?<br>
<br>
The for the rest I agree with Lukas and Julian.<br>
<br>
Cheers<br>
<font color="#888888">Philippe<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
seaside-dev mailing list<br>
<a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
</div></div></blockquote></div><br>