<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Mariano,<br>
<br>
load html: replaces the contents of a DOM node, so you need a
render method that only renders the children of a node or you will
end up with, say a DIV with itself as its frst child after load
html:<br>
<br>
replaceWith: replaces the element itself. So you can use the
normal rendering method to really replace the DOM node with what
you render in the block.<br>
<br>
Note: I keep failing in my use of replaceWith: for whatever
reason.<br>
<br>
Joachim<br>
<br>
<br>
Am 29.05.15 um 04:03 schrieb Mariano Martinez Peck:<br>
</div>
<blockquote
cite="mid:CAA+-=mVCHwykmO=yWyBKG3+4mHxMxnsGj8u4ntnnMn0c=+iAVQ@mail.gmail.com"
type="cite">
<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
moz-do-not-send="true" 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 moz-do-not-send="true" href="http://drgeo.eu"
target="_blank" class="vt-p">http://drgeo.eu</a><br>
> <a moz-do-not-send="true"
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>> <a class="moz-txt-link-abbreviated" href="mailto:seaside@.squeakfoundation">seaside@.squeakfoundation</a><br>
<br>
> <a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:seaside@lists.squeakfoundation.org"
class="vt-p">seaside@lists.squeakfoundation.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://marianopeck.wordpress.com" target="_blank"
class="vt-p">http://marianopeck.wordpress.com</a><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel <a class="moz-txt-link-freetext" href="mailto:jtuchel@objektfabrik.de">mailto:jtuchel@objektfabrik.de</a>
Fliederweg 1 <a class="moz-txt-link-freetext" href="http://www.objektfabrik.de">http://www.objektfabrik.de</a>
D-71640 Ludwigsburg <a class="moz-txt-link-freetext" href="http://joachimtuchel.wordpress.com">http://joachimtuchel.wordpress.com</a>
Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
</pre>
</body>
</html>