<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"><<a href="mailto:pdebruic@gmail.com" target="_blank" class="vt-p">pdebruic@gmail.com</a>></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: 'myTableContainerId') <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 "load html:" and "replaceWith:" ? In other words, doing:<br></div><div><br></div><div>(html jQuery new datepicker onSelect: (html jQuery<br>ajax serializeThis;onSuccess:((html jQuery id: 'myTableContainerId') <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="">> Hi,<br>
><br>
> The datepicker event below updates the model and it implies an important<br>
> change in the component content (TableReport, etc). I think I kind of<br>
> need to refresh the page on the client.<br>
> Is it possible to do so from a callback fired from a jquery?<br>
><br>
> Thanks<br>
><br>
> Hilaire<br>
><br>
> html textInput<br>
> value: '1/1/2015';<br>
> callback: [ :value | self addMonth: value asDate asMonth];<br>
> script: (html jQuery new datepicker onSelect: html jQuery<br>
> ajax serializeThis).<br>
><br>
> --<br>
> Dr. Geo<br>
> <a href="http://drgeo.eu" target="_blank" class="vt-p">http://drgeo.eu</a><br>
> <a href="http://google.com/+DrgeoEu" target="_blank" class="vt-p">http://google.com/+DrgeoEu</a><br>
><br>
><br>
> _______________________________________________<br>
> seaside mailing list<br>
<br>
</span>> seaside@.squeakfoundation<br>
<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>
<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>