<div>Thx for your answer</div>yes I do have a #form around it. <br><br><div class="gmail_quote">2010/12/3 Lukas Renggli <span dir="ltr"><<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Do you have a #form: around your table?<br>
<br>
Lukas<br>
<div><div></div><div class="h5"><br>
On 3 December 2010 13:02, alexandre bp <<a href="mailto:abalonpe@ulb.ac.be">abalonpe@ulb.ac.be</a>> wrote:<br>
> Hi,<br>
> I have a problem with checkboxes. I'm trying to add a checkbox at each line<br>
> of a table.<br>
> I have tried several things(the last tries are in comments):<br>
> addActionColumn<br>
> columns<br>
> add:<br>
> ((WAReportColumn new)<br>
> title: '';<br>
> valueBlock: [ :row :html |<br>
> html span<br>
> with:[<br>
><br>
> "checked ifTrue:[BibliList bibliCollection add: row]."<br>
><br>
> html checkbox<br>
> value: checked;<br>
> onTrue:[BibliList bibliCollection add: row]<br>
> onFalse:[].<br>
> "onClick: [checked := true]"<br>
><br>
> "callback:[:value | value ifTrue: [BibliList bibliCollection add: row]]"<br>
><br>
> ]]).<br>
> Unfortunately, nothing seems to work...when I click on the checkbox, nothing<br>
> happen and my list bibliCollection (which is an OrderedCollection) is still<br>
> empty.<br>
> Thx for your help<br>
> alex<br>
><br>
</div></div>> _______________________________________________<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>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">www.lukas-renggli.ch</a><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>
</font></blockquote></div><br>