<div dir="ltr">Thank you both for the explanation. Today I learned something myself too. </div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 29, 2015 at 2:42 AM, <a href="mailto:jtuchel@objektfabrik.de">jtuchel@objektfabrik.de</a> <span dir="ltr">&lt;<a href="mailto:jtuchel@objektfabrik.de" target="_blank">jtuchel@objektfabrik.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So I&#39;m glad I answered - learned why I was having troubles.<br>
<br>
Thanks, Paul<br>
<br>
Am 29.05.15 um 07:11 schrieb Paul DeBruicker:<div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Mariano,<br>
<br>
In addition to what Joachim said:<br>
<br>
If you use #replaceWith: the html content must be known when the original<br>
script is created, and therefore cannot reflect changes from the<br>
datepicker&#39;s callback.  With  the &#39;load html:&#39; the client sends an ajax<br>
request for new html content (which could have changed because of the<br>
datepicker&#39;s content), so you get up to date info in your DOM.<br>
<br>
<br>
<br>
<br>
Mariano Martinez Peck wrote<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, May 28, 2015 at 10:40 PM, Paul DeBruicker &amp;lt;<br>
pdebruic@<br>
&amp;gt;<br>
wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc 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;)<br>
*load html:* [:h | h render: myTable])).<br>
<br>
<br>
<br>
</blockquote>
Paul: Is there a difference between doing a &quot;load html:&quot; and<br>
&quot;replaceWith:&quot;<br>
? In other words, doing:<br>
<br>
(html jQuery new datepicker onSelect: (html jQuery<br>
ajax serializeThis;onSuccess:((html jQuery id: &#39;myTableContainerId&#39;)<br>
*replaceWith:* [:h | h render: myTable]<br>
<br>
Thanks,<br>
<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
HilaireFernandes wrote<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
The datepicker event below updates the model and it implies an<br>
</blockquote>
important<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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: &#39;1/1/2015&#39;;<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">http://drgeo.eu</a><br>
<a href="http://google.com/+DrgeoEu" target="_blank">http://google.com/+DrgeoEu</a><br>
<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
seaside@.squeakfoundation<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>
<br>
<br>
<br>
<br>
--<br>
View this message in context:<br>
<a href="http://forum.world.st/Update-a-component-after-a-Jquery-tp4829158p4829219.html" target="_blank">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>
_______________________________________________<br>
seaside mailing list<br>
<br>
</blockquote>
seaside@.squeakfoundation<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br>
</blockquote>
<br>
<br>
-- <br>
Mariano<br>
<a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
<br>
_______________________________________________<br>
seaside mailing list<br>
seaside@.squeakfoundation<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>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://forum.world.st/Update-a-component-after-a-Jquery-tp4829158p4829230.html" target="_blank">http://forum.world.st/Update-a-component-after-a-Jquery-tp4829158p4829230.html</a><br>
Sent from the Seaside General mailing list archive at Nabble.com.<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>
<br>
</blockquote>
<br>
<br></div></div><span class="im HOEnZb">
-- <br>
-----------------------------------------------------------------------<br>
Objektfabrik Joachim Tuchel          mailto:<a href="mailto:jtuchel@objektfabrik.de" target="_blank">jtuchel@objektfabrik.de</a><br>
Fliederweg 1                         <a href="http://www.objektfabrik.de" target="_blank">http://www.objektfabrik.de</a><br>
D-71640 Ludwigsburg                  <a href="http://joachimtuchel.wordpress.com" target="_blank">http://joachimtuchel.wordpress.com</a><br>
Telefon: <a href="tel:%2B49%207141%2056%2010%2086%200" value="+4971415610860" target="_blank">+49 7141 56 10 86 0</a>         Fax: <a href="tel:%2B49%207141%2056%2010%2086%201" value="+4971415610861" target="_blank">+49 7141 56 10 86 1</a><br>
<br></span><div class="HOEnZb"><div class="h5">
_______________________________________________<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>
</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">http://marianopeck.wordpress.com</a><br></div>
</div>