<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>Check out what row is in the callback by exploring or using the Transcript.<br><br>You might be losing pointers to the objects somewhere in there.<br><br>RS<br><br><hr>From&#58; abalonpe@ulb.ac.be<br>Date&#58; Fri, 3 Dec 2010 18&#58;30&#58;27 +0100<br>Subject&#58; Re&#58; [Seaside] WATableReport Checkbox<br>To&#58; seaside@lists.squeakfoundation.org<br><br>I have a submitButton also in the form with an empty callback.<div>I just want the button to trigger all the callbacks of the checkboxes.</div><div>However it doesn't seem to work at all.</div><div><br></div><div>Alex<br>

<br><div class="ecxgmail_quote">2010/12/3 Robert Sirois <span dir=ltr>&lt;<a href="mailto&#58;watchlala@hotmail.com">watchlala@hotmail.com</a>&gt;</span><br><blockquote class="ecxgmail_quote" style="border-left&#58;1px #ccc solid;padding-left&#58;1ex">





<div>How are you submitting the data?<br><br>Either they need to be in a form, or if you're serializing via ajax, remember to use #serializeWithHidden I think it's called.<br><br>RS<br><br><hr>From&#58; <a href="mailto&#58;abalonpe@ulb.ac.be">abalonpe@ulb.ac.be</a><br>

Date&#58; Fri, 3 Dec 2010 17&#58;02&#58;02 +0100<br>Subject&#58; Fwd&#58; [Seaside] WATableReport + Checkbox<br>To&#58; <a href="mailto&#58;seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br><br><div>Hi,<div>

<br></div><div>I have a problem with checkboxes. I'm trying to add a checkbox at each line of a table.</div><div>I have tried several things(the last tries are in comments)&#58;&nbsp;</div><div>

<br></div><div><div>addActionColumn</div>
<div><span style="white-space&#58;pre-wrap">        </span></div><div><span style="white-space&#58;pre-wrap">        </span>columns</div><div><span style="white-space&#58;pre-wrap">                </span>add&#58;</div>
<div><span style="white-space&#58;pre-wrap">                        </span>((WAReportColumn new)</div><div><span style="white-space&#58;pre-wrap">                                </span>title&#58; '';</div><div><span style="white-space&#58;pre-wrap">                                </span>valueBlock&#58; [ &#58;row &#58;html |&nbsp;</div>




<div><span style="white-space&#58;pre-wrap">                                                                </span>html span</div><div><span style="white-space&#58;pre-wrap">                                                                        </span>with&#58;[</div></div><blockquote style="border&#58;none;padding&#58;0px">
<blockquote style="border&#58;none;padding&#58;0px"><blockquote style="border&#58;none;padding&#58;0px"><blockquote style="border&#58;none;padding&#58;0px">
<blockquote style="border&#58;none;padding&#58;0px"><blockquote style="border&#58;none;padding&#58;0px"><blockquote style="border&#58;none;padding&#58;0px">
<div><div>&nbsp;&nbsp;&quot;checked ifTrue&#58;[BibliList bibliCollection add&#58; row].&quot;</div></div></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><div><div><span style="white-space&#58;pre-wrap">                                                                        </span>html checkbox</div>




<div><span style="white-space&#58;pre-wrap">                                                                                </span>value&#58; checked;</div><div><span style="white-space&#58;pre-wrap">                                                                                </span>onTrue&#58;[BibliList bibliCollection add&#58; row]</div><div>
<span style="white-space&#58;pre-wrap">                                                                                </span>onFalse&#58;[].</div><div><span style="white-space&#58;pre-wrap">                                                                                </span>&quot;onClick&#58; [checked &#58;= true]&quot;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;callback&#58;[&#58;value | value ifTrue&#58; [BibliList bibliCollection add&#58; row]]&quot;</div>




<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;]]).</div></div><div><br></div><div>Unfortunately, nothing seems to work...when I click on the checkbox, nothing happen and my list bibliCollection (which is an OrderedCollection) is still empty.</div>




<div>Thx for your help</div><div>alex</div>
</div><br>
<br>_______________________________________________
seaside mailing list
<a href="mailto&#58;seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<a href="http&#58;//lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http&#58;//lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>                                               </div>
<br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto&#58;seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http&#58;//lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http&#58;//lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________
seaside mailing list
seaside@lists.squeakfoundation.org
http&#58;//lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside                                               </body>
</html>