Whoops<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="gmail_quote"><div class="im"><div><br></div></div><div>Then instead of r render: self put self renderTokenWaitersOn: html and tell jQuery to replace the #waiters id added above.</div>
</div></div></blockquote><div><br></div><div>That should be self renderTokenWaitersOn: r  NOT on html. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="gmail_quote">

<div><br></div><div>I could be completely mistaken of course. But that is what I would try.</div><div><br></div><div>John</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
But it generates the following:<br>
<br>
&lt;button class=&quot;submit&quot; type=&quot;submit&quot; onclick=&quot;$.ajax({&amp;quot;dataType&amp;quot;:&amp;quot;script&amp;quot;,&amp;quot;url&amp;quot;:&amp;quot;/&amp;quot;,&amp;quot;data&amp;quot;:&amp;quot;1&amp;quot;})&quot;&gt;Remove&lt;/button&gt;<br>



<br>
I <br>
think I picked up the above fragment from some mal message answer by Lukas - and it was working well, but notice how the url parameter is wrong - its not /element with the k and s paramters???<br>
<br>
Is this because render: is not rendering in the context of a child component? And is there some other way of re-rendering my component by an ajax call? I think Julian had an example in the comet thread - maybe I can get that to work?<br>



<br>
Any help greatly appreciated.<br>
<br>
Tim<br>
<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">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></div><br><br clear="all"><br>-- <br><a href="http://john-mckeon.us/seaside" target="_blank">http://john-mckeon.us/seaside</a><br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://john-mckeon.us/seaside">http://john-mckeon.us/seaside</a><br>