Hi Robert,<br><br>I know this problem very well.<br>One way could be, to pass a reference of WAComponentA to WAComponentB.<br><br>You could probably create an instance variable called <br>rootComponent<br><br>After you initialized WAComponentB, you give it the reference from within WAComponentA, e.g.:<br>
WAComponentA<br> <b>renderContentOn:html </b><br> |component|<br> component := (WAComponentB new) rootComponent: self.<br> html render: component.<br><br>And within WAComponentB:<br> <b>answer </b>>> self rootComponent answer: 'blah'<br>
<br>I hope this helps.<br><br>Regards,<br>Peter<br><br><div class="gmail_quote">2009/10/15 Robert Sirois <span dir="ltr"><<a href="mailto:watchlala@hotmail.com">watchlala@hotmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
I'm trying something a little strange here, and my logic is really quite flawed:<br><br>someWATask<br> go >> self call: WAComponentA<br><br>WAComponentA<br> renderContentOn: >> html render: WAComponentB<br>
children >> ^Array with: WAComponentB<br><br>WAComponentB<br> answer >> self answer: 'blah'<br><br>I would like for WAComponentB to answer someWATask in place of WAComponentA, is there a way to do this?<br>
<br>Thanks,<br><font color="#888888">RS<br>                                            </font><div class="hm"><br><hr>Hotmail: Trusted email with powerful SPAM protection. <a href="http://clk.atdmt.com/GBL/go/177141665/direct/01/" target="_blank">Sign up now.</a></div>
</div>
<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></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.peter-osburg.de">www.peter-osburg.de</a><br><a href="http://www.experiencedwebprogramming.com">www.experiencedwebprogramming.com</a><br><a href="http://www.mix-rss.com">www.mix-rss.com</a><br>