Thanks for reporting.<br><br>fixed with Seaside-Canvas-obi.86<br><br>Gerhard<br><br><div class="gmail_quote">On Tue, Jan 19, 2010 at 10:03 AM, Johan Brichau <span dir="ltr">&lt;<a href="mailto:johan.brichau@uclouvain.be">johan.brichau@uclouvain.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I just loaded the latest upgrades to Seaside3.0 and noticed a problem with the Select tag. The callbacks of &#39;custom rendered&#39; options using a nested #with:, are never executed. This method of customization is suggested in the comment of WACollectionTag&gt;&gt;labelForOption:<br>

<br>
&quot;Allows to customize the rendering of list items by passing a one argument block that converts each option to a string. If you need to do custom html rendering for the options use #with: or override #renderOn: in your objects.&quot;<br>

<br>
Since we need to generate specific html for our options and since our options are string objects, we preferred using the #with: method rather than create a special object and implement a renderOn: method. We have code that looks like this:<br>

<br>
html select<br>
        onChange: &lt;javascript that uses the #foobar attribute of selected option&gt;;<br>
        with:<br>
                [ aCollectionOfOptions<br>
                                do:     [ :opt |<br>
                                                (html option)<br>
                                                        attributeAt: #foobar put: opt;<br>
                                                        callback: [self chosenOption: opt];<br>
                                                        selected: (self chosenOption = opt);<br>
                                                        with: (self labelForOption: opt) ] ]<br>
<br>
<br>
However, due to the changes in Seaside-Canvas-obi.76 (as far as I can see), the callbacks of the options are never executed.<br>
<br>
Is this a bug or is the way to customize the options no longer a supported way of working?<br>
<br>
thanks for any help<br>
<br>
<br>
----------------------------<br>
Johan Brichau<br>
<a href="mailto:johan.brichau@uclouvain.be">johan.brichau@uclouvain.be</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br>