<html><body bgcolor="#FFFFFF"><div>yes that's right. i saw that a couple of minutes after sending my mail. i changed for a method which refresh the contents in an instance variable which is rendered after that. thanks for the link<br><br><div><br></div></div><div><br>Le 23 mars 2010 à 01:30, John McKeon &lt;<a href="mailto:p3anoman@gmail.com">p3anoman@gmail.com</a>&gt; a écrit&nbsp;:<br><br></div><div></div><blockquote type="cite"><div>Hi Michael,<div><br><div>You can't call a rendering method in the callback block, because when that block executes you are not in a rendering loop - the html variable is undefined at that point.&nbsp;</div><div>Your callback could do something that updates the state of your component, like set a variable with the selected value 'B' . <a href="http://book.seaside.st/book/getting-started/pharo-squeak/first-component/behavior">Have a look at the book</a></div>
<div>&nbsp;In the simplest scenario, modify your renderContentOn: method to call the list rendering method with the selected value, if there is one assigned.<br><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate;"><br>
</span></span></font></div><div>HTH</div><div>John<br>-- <br><a href="http://jmck.seasidehosting.st"><a href="http://jmck.seasidehosting.st">http://jmck.seasidehosting.st</a></a><br>
</div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>seaside mailing list</span><br><span><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a></span><br><span><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a></span><br></div></blockquote></body></html>