<div dir="ltr">Hi John, it seems you were right at the end.... I was not submitting the form. But this is not all.<div><br></div><div>The original method was:</div><div><br></div><div><div>MACheckboxColumn &gt;&gt; renderCellFormContent: anObject on: html</div>
<div><span class="" style="white-space:pre">        </span>html checkbox</div><div><span class="" style="white-space:pre">                </span>value: (self isSelected: anObject);</div><div><span class="" style="white-space:pre">                </span>callback: [ :value | self selectRow: anObject value: value ]</div>
</div><div><br></div><div>The only way I found to make it work is like this (notice the form, the label and the submitOnClick)</div><div><br></div><div><div>renderCellFormContent: anObject on: html</div><div><br></div><div>
<span class="" style="white-space:pre">        </span>html form: [</div><div><span class="" style="white-space:pre">                </span>html label: [</div><div><span class="" style="white-space:pre">                        </span>html checkbox</div><div><span class="" style="white-space:pre">                                </span>submitOnClick;</div>
<div><span class="" style="white-space:pre">                                </span>value: (self isSelected: anObject);</div><div><span class="" style="white-space:pre">                                </span>callback: [ :value | self selectRow: anObject value: value ]]]</div></div>
<div><br></div><div>but #submitOnClick is deprecated. So I don&#39;t know how this is supposed to be fixed without such a deprecation:</div><div><br></div><div><div><div>WAFormInputTag &gt;&gt; submitOnClick</div><div><span class="" style="white-space:pre">        </span>self </div>
<div><span class="" style="white-space:pre">                </span>greaseDeprecatedApi: &#39;WAFormInputTag&gt;&gt;#submitOnClick&#39;</div><div><span class="" style="white-space:pre">                </span>details: &#39;Use a dedicated Javascript library.&#39;.</div>
<div><span class="" style="white-space:pre">        </span>self onClick: &#39;submit()&#39;</div></div></div><div><br></div><div><br></div><div>I have my own subclass of MACheckedColumn so I override this method. But I wanted to fix it and commit for others. </div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 2, 2013 at 2:00 PM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Wed, Oct 2, 2013 at 1:30 PM, John McKeon <span dir="ltr">&lt;<a href="mailto:p3anoman@gmail.com" target="_blank">p3anoman@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mariano<div>Could it be the the form has to be submitted when the check box is clicked for the callback to get invoked?</div>

</blockquote><div><br></div></div><div>Hi John, thanks for your answer. </div><div>But which one should be the form? Because this is a report, so there is no &quot;submit&quot; button. </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div>John<div><div><br><br>On Wednesday, October 2, 2013, Mariano Martinez Peck  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 1, 2013 at 2:22 PM, Mariano Martinez Peck <span dir="ltr">&lt;<a>marianopeck@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi guys, <div><br></div><div>I am using Seaside 3.0 and Magritte 3. </div><div><br></div><div>I have a MAReport in which I add as the first column a MACheckboxColumn. I want to use this table to filter/select/unselect the rows of the report. If I use a MACheckboxColumn as is (#useLinks answering true), it works, but if I do (set #useLinks to false):</div>




<div><br></div><div>report addColumn: (MACheckboxColumn new useLinks: false; yourself).</div><div><br></div><div>it does not work anymore..the callback of the checkbox is not called anymore:</div><div><br></div><div>MASelectionColumn &gt;&gt; renderCellFormContent: anObject on: html</div>




<div><br></div><div><span style="white-space:pre-wrap">                </span>html checkbox</div><div><span style="white-space:pre-wrap">                        </span>value: (self isSelected: anObject);</div><div><span style="white-space:pre-wrap">                        </span>callback: [ :value | self halt. self selectRow: anObject value: value ]</div>




<div> <br clear="all"><div>Of course the difference is that with no links it uses #renderCellFormContent:on: while with useLinks in true it uses #renderCellLinkContent:on:. I thought it was related to the fact that links do not need a form but checkbox do. I tried adding a form around the checkbox, but no luck.</div>




<div><br></div><div>Any ideas?</div><div><br></div><div>Thanks</div><span><font color="#888888"><div><br></div><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>





</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
</div>
</blockquote></div></div></div><span><font color="#888888"><br><br>-- <br><a href="http://jmck.seasidehosting.st" target="_blank">jmck.seasidehosting.st</a><br>
</font></span><br></div></div>_______________________________________________<br>
Magritte, Pier and Related Tools ...<br>
<a href="https://www.iam.unibe.ch/mailman/listinfo/smallwiki" target="_blank">https://www.iam.unibe.ch/mailman/listinfo/smallwiki</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br>
<br clear="all"><div><br></div>-- <br>Mariano<br>
<a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
</div>