<div>Dale, you&#39;re welcome.<br></div><div><br></div><div><br></div><div class="gmail_quote">2011/9/28 Dale Henrichs <span dir="ltr">&lt;<a href="mailto:dhenrich@vmware.com">dhenrich@vmware.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Gastón,<br>
<br>
That is a known bug in SS3[1].<br>
<br>
Thanks for the report.<br>
<br>
Dale<br>
<br>
[1] <a href="http://code.google.com/p/squeaksource3/issues/detail?id=20" target="_blank">http://code.google.com/p/squeaksource3/issues/detail?id=20</a><br>
<div><div class="h5"><br>
----- Original Message -----<br>
| From: &quot;Gastón Dall&#39; Oglio&quot; &lt;<a href="mailto:gaston.dalloglio@gmail.com">gaston.dalloglio@gmail.com</a>&gt;<br>
| To: &quot;Seaside - general discussion&quot; &lt;<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>&gt;<br>
| Sent: Wednesday, September 28, 2011 11:29:33 AM<br>
| Subject: Re: [Seaside] inter component communication using AJAX<br>
|<br>
|<br>
|<br>
| Hi Johan.<br>
|<br>
|<br>
|<br>
| I don&#39;t sure if are a bug in ss3, but in the page<br>
| <a href="http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents.html" target="_blank">http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents.html</a> the<br>
| snippet code is wrong?<br>
| I have to change #repository: to #url: for correctly load.<br>
|<br>
|<br>
| from<br>
|<br>
|<br>
| Gofer new<br>
| repository: &#39; <a href="http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents" target="_blank">http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents</a><br>
| &#39;;<br>
| package: &#39;AjaxifiedComponents-Core&#39;;<br>
| package: &#39;AjaxifiedComponents-Example&#39;;<br>
| load<br>
|<br>
|<br>
| to<br>
|<br>
|<br>
| Gofer new<br>
| url: &#39; <a href="http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents" target="_blank">http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents</a> &#39;;<br>
| package: &#39;AjaxifiedComponents-Core&#39;;<br>
| package: &#39;AjaxifiedComponents-Example&#39;;<br>
| load<br>
|<br>
|<br>
|<br>
|<br>
|<br>
|<br>
| 2011/9/28 Johan Brichau &lt; <a href="mailto:johan@inceptive.be">johan@inceptive.be</a> &gt;<br>
|<br>
|<br>
| I&#39;m not sure what exactly the problem is you are trying to deal with,<br>
| but it vaguely seems you are trying to accomplish something I have<br>
| described here:<br>
| <a href="http://johanbrichau.blogspot.com/2011/09/ajaxified-seaside-components.html" target="_blank">http://johanbrichau.blogspot.com/2011/09/ajaxified-seaside-components.html</a><br>
|<br>
| In addition, take a look at jQuery (for client-side DOM navigation)<br>
| and Announcements (for server-side component coordination)<br>
|<br>
| Maybe it helps, maybe not… I&#39;m glad to answer any questions you might<br>
| have if this describes what you are looking for.<br>
|<br>
| Cheers<br>
| Johan<br>
|<br>
|<br>
|<br>
|<br>
| On 28 Sep 2011, at 03:55, squeakman wrote:<br>
|<br>
| &gt; On 27/09/2011 7:04 PM, Robert Sirois wrote:<br>
| &gt;&gt; Have B tell A something then and let A deal with it how it wants<br>
| &gt;&gt; and<br>
| &gt;&gt; return the ajax call with some javascript update to the DOM.<br>
| &gt;&gt;<br>
| &gt; This is what I am trying to do but cannot figure it out. I have &quot;B&quot;<br>
| &gt; pass the renderer &quot;r&quot; to A - but I cannot figure out how to use<br>
| &gt; that rendered to do a search for element &quot;C&quot;.<br>
| &gt;<br>
| &gt; I see methods in PTElement for up, down, next but nothing that<br>
| &gt; would allow me to search for some arbitrary element in the DOM.<br>
| &gt;<br>
| &gt; My knowledge of Javascript is not great so I am struggling.<br>
| &gt;<br>
| &gt;<br>
| &gt;<br>
| &gt;&gt; The children scheme doesn&#39;t matter as much with ajax calls unless<br>
| &gt;&gt; you&#39;re<br>
| &gt;&gt; keeping state in case the user reloads the page or something.<br>
| &gt;&gt;<br>
| &gt;&gt; RS<br>
| &gt;&gt;<br>
| &gt;&gt; &gt; To: <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
| &gt;&gt; &gt; From: <a href="mailto:squeakman@gmail.com">squeakman@gmail.com</a><br>
| &gt;&gt; &gt; Date: Tue, 27 Sep 2011 18:50:19 -0400<br>
| &gt;&gt; &gt; Subject: [Seaside] inter component communication using AJAX<br>
| &gt;&gt; &gt;<br>
| &gt;&gt; &gt; Hello All,<br>
| &gt;&gt; &gt;<br>
| &gt;&gt; &gt; I have a component &quot;A&quot; that contains two children components &quot;B&quot;<br>
| &gt;&gt; &gt; and &quot;C&quot;.<br>
| &gt;&gt; &gt;<br>
| &gt;&gt; &gt; The code in B that looks like:<br>
| &gt;&gt; &gt; html select .....<br>
| &gt;&gt; &gt; onClick: (html scriptaculous updater id: &#39;C&#39;;<br>
| &gt;&gt; &gt; callback: [:r | (r element id: &#39;C&#39;) hide])<br>
| &gt;&gt; &gt;<br>
| &gt;&gt; &gt; clicking on an item in the select list in B causes C to be<br>
| &gt;&gt; &gt; hidden. This<br>
| &gt;&gt; &gt; works but it ties B to C.<br>
| &gt;&gt; &gt;<br>
| &gt;&gt; &gt; Is there a way to do this without having B know about C? I would<br>
| &gt;&gt; &gt; like<br>
| &gt;&gt; &gt; to have the parent A do the hiding of C but I cannot figure out<br>
| &gt;&gt; &gt; how to<br>
| &gt;&gt; &gt; do this.<br>
| &gt;&gt; &gt;<br>
| &gt;&gt; &gt; Sorry if this is too cryptic, including all the code was just<br>
| &gt;&gt; &gt; too messy.<br>
| &gt;&gt; &gt;<br>
| &gt;&gt; &gt; Thanks,<br>
| &gt;&gt; &gt;<br>
| &gt;&gt; &gt; Frank<br>
| &gt;&gt; &gt;<br>
| &gt;&gt; &gt; _______________________________________________<br>
| &gt;&gt; &gt; seaside mailing list<br>
| &gt;&gt; &gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
| &gt;&gt; &gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
| &gt;&gt;<br>
| &gt;&gt;<br>
| &gt;&gt; _______________________________________________<br>
| &gt;&gt; seaside mailing list<br>
| &gt;&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
| &gt;&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
| &gt;<br>
| &gt;<br>
| &gt; _______________________________________________<br>
| &gt; seaside mailing list<br>
| &gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
| &gt; <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>
| _______________________________________________<br>
| seaside mailing list<br>
| <a href="mailto:seaside@lists.squeakfoundation.org">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>
|<br>
| _______________________________________________<br>
| seaside mailing list<br>
| <a href="mailto:seaside@lists.squeakfoundation.org">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>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">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>