<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 28, 2015 at 10:40 PM, Paul DeBruicker <span dir="ltr">&lt;<a href="mailto:pdebruic@gmail.com" target="_blank" class="vt-p">pdebruic@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">mail client coding but something like this should work:<br>
<br>
<br>
(html jQuery new datepicker onSelect: (html jQuery<br>
ajax serializeThis;onSuccess:((html jQuery id: &#39;myTableContainerId&#39;) <b>load<br>
html:</b> [:h | h render: myTable])).<br>
<br>
<br></blockquote><div><br></div><div>Paul: Is there a difference between doing a &quot;load html:&quot; and &quot;replaceWith:&quot; ? In other words, doing:<br></div><div><br></div><div>(html jQuery new datepicker onSelect: (html jQuery<br>ajax serializeThis;onSuccess:((html jQuery id: &#39;myTableContainerId&#39;) <b>replaceWith:</b> [:h | h render: myTable]<br></div><div><br></div><div>Thanks,</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
<br>
HilaireFernandes wrote<br>
<span class="">&gt; Hi,<br>
&gt;<br>
&gt; The datepicker event below updates the model and it implies an important<br>
&gt; change in the component content (TableReport, etc). I think I kind of<br>
&gt; need to refresh the page on the client.<br>
&gt; Is it possible to do so from a callback fired from a jquery?<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; Hilaire<br>
&gt;<br>
&gt;         html textInput<br>
&gt;             value: &#39;1/1/2015&#39;;<br>
&gt;             callback: [ :value | self addMonth: value asDate asMonth];<br>
&gt;             script: (html jQuery new datepicker onSelect: html jQuery<br>
&gt; ajax serializeThis).<br>
&gt;<br>
&gt; --<br>
&gt; Dr. Geo<br>
&gt; <a href="http://drgeo.eu" target="_blank" class="vt-p">http://drgeo.eu</a><br>
&gt; <a href="http://google.com/+DrgeoEu" target="_blank" class="vt-p">http://google.com/+DrgeoEu</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
<br>
</span>&gt; seaside@.squeakfoundation<br>
<br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" class="vt-p">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://forum.world.st/Update-a-component-after-a-Jquery-tp4829158p4829219.html" target="_blank" class="vt-p">http://forum.world.st/Update-a-component-after-a-Jquery-tp4829158p4829219.html</a><br>
Sent from the Seaside General mailing list archive at Nabble.com.<br>
<div class=""><div class="h5">_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" class="vt-p">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" class="vt-p">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank" class="vt-p">http://marianopeck.wordpress.com</a><br></div>
</div></div>