<div>Hi Johan.<br></div><div><br></div><div>I don&#39;t sure if are a bug in ss3, but in the page <a href="http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents.html">http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents.html</a> the snippet code is wrong?<br>
I have to change #repository: to #url: for correctly load.</div><div><br></div><div>from </div><div><br></div><div>Gofer new<br>    repository: &#39;<a href="http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents">http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents</a>&#39;;<br>
    package: &#39;AjaxifiedComponents-Core&#39;;<br>    package: &#39;AjaxifiedComponents-Example&#39;;<br>    load</div><div><br></div><div>to</div><div><br></div><div>Gofer new<br>url: &#39;<a href="http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents">http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents</a>&#39;;<br>
    package: &#39;AjaxifiedComponents-Core&#39;;<br>    package: &#39;AjaxifiedComponents-Example&#39;;<br>    load</div><div><br></div><div><br></div><div><br></div><div class="gmail_quote">2011/9/28 Johan Brichau <span dir="ltr">&lt;<a href="mailto:johan@inceptive.be">johan@inceptive.be</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;m not sure what exactly the problem is you are trying to deal with, but it vaguely seems you are trying to accomplish something I have described here: <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) and Announcements (for server-side component coordination)<br>
<br>
Maybe it helps, maybe not…  I&#39;m glad to answer any questions you might have if this describes what you are looking for.<br>
<br>
Cheers<br>
<font color="#888888">Johan<br>
</font><div><div class="h5"><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 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; pass the renderer &quot;r&quot; to A - but I cannot figure out how to use 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 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 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; 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 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 like<br>
&gt;&gt; &gt; to have the parent A do the hiding of C but I cannot figure out 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 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>
</div></div></blockquote></div><br>