<div>Dale, you're welcome.<br></div><div><br></div><div><br></div><div class="gmail_quote">2011/9/28 Dale Henrichs <span dir="ltr"><<a href="mailto:dhenrich@vmware.com">dhenrich@vmware.com</a>></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: "Gastón Dall' Oglio" <<a href="mailto:gaston.dalloglio@gmail.com">gaston.dalloglio@gmail.com</a>><br>
| To: "Seaside - general discussion" <<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>><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'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: ' <a href="http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents" target="_blank">http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents</a><br>
| ';<br>
| package: 'AjaxifiedComponents-Core';<br>
| package: 'AjaxifiedComponents-Example';<br>
| load<br>
|<br>
|<br>
| to<br>
|<br>
|<br>
| Gofer new<br>
| url: ' <a href="http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents" target="_blank">http://ss3.gemstone.com/ss/SeasideAjaxifiedComponents</a> ';<br>
| package: 'AjaxifiedComponents-Core';<br>
| package: 'AjaxifiedComponents-Example';<br>
| load<br>
|<br>
|<br>
|<br>
|<br>
|<br>
|<br>
| 2011/9/28 Johan Brichau < <a href="mailto:johan@inceptive.be">johan@inceptive.be</a> ><br>
|<br>
|<br>
| I'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'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>
| > On 27/09/2011 7:04 PM, Robert Sirois wrote:<br>
| >> Have B tell A something then and let A deal with it how it wants<br>
| >> and<br>
| >> return the ajax call with some javascript update to the DOM.<br>
| >><br>
| > This is what I am trying to do but cannot figure it out. I have "B"<br>
| > pass the renderer "r" to A - but I cannot figure out how to use<br>
| > that rendered to do a search for element "C".<br>
| ><br>
| > I see methods in PTElement for up, down, next but nothing that<br>
| > would allow me to search for some arbitrary element in the DOM.<br>
| ><br>
| > My knowledge of Javascript is not great so I am struggling.<br>
| ><br>
| ><br>
| ><br>
| >> The children scheme doesn't matter as much with ajax calls unless<br>
| >> you're<br>
| >> keeping state in case the user reloads the page or something.<br>
| >><br>
| >> RS<br>
| >><br>
| >> > To: <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
| >> > From: <a href="mailto:squeakman@gmail.com">squeakman@gmail.com</a><br>
| >> > Date: Tue, 27 Sep 2011 18:50:19 -0400<br>
| >> > Subject: [Seaside] inter component communication using AJAX<br>
| >> ><br>
| >> > Hello All,<br>
| >> ><br>
| >> > I have a component "A" that contains two children components "B"<br>
| >> > and "C".<br>
| >> ><br>
| >> > The code in B that looks like:<br>
| >> > html select .....<br>
| >> > onClick: (html scriptaculous updater id: 'C';<br>
| >> > callback: [:r | (r element id: 'C') hide])<br>
| >> ><br>
| >> > clicking on an item in the select list in B causes C to be<br>
| >> > hidden. This<br>
| >> > works but it ties B to C.<br>
| >> ><br>
| >> > Is there a way to do this without having B know about C? I would<br>
| >> > like<br>
| >> > to have the parent A do the hiding of C but I cannot figure out<br>
| >> > how to<br>
| >> > do this.<br>
| >> ><br>
| >> > Sorry if this is too cryptic, including all the code was just<br>
| >> > too messy.<br>
| >> ><br>
| >> > Thanks,<br>
| >> ><br>
| >> > Frank<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>
| > _______________________________________________<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>
|<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>