Well you can check out SmallReddit application made by Ramon Leon at <a href="http://www.onsmalltalk.com">www.onsmalltalk.com</a><br><br>There is a login cum register page, only after successful login or registration, you are re-directed to next component in its&nbsp; 
<span style="font-weight: bold;">go</span> method<br><br><div><span class="gmail_quote">On 7/30/07, <b class="gmail_sendername">Richard K Eng</b> &lt;<a href="mailto:richard.eng@rogers.com">richard.eng@rogers.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I was trying to understand why this works. When I coded the block within the<br>Login component, it did not work. I NOW SEE THE LIGHT!
<br><br>It comes down to &#39;self&#39;--which self are you calling method #call: from? It<br>has to be the main component! Because the callback block has to capture the<br>main component&#39;s context.<br><br>What I was doing was wrong because it was capturing the Login component&#39;s
<br>context--that&#39;s the reason GSServiceCentre was replacing the Login<br>component! I learned something very important today. What an eye-opener.<br><br>Thank you very much.<br><br>Regards,<br>Richard<br><br><br>Andrius Paulavicius wrote:
<br>---------------------------<br>Add an instance variable called onSave and its accesor methods to Login<br>component. When you create you&#39;re login component pass it a block:<br>&nbsp;&nbsp;&nbsp;&nbsp;login onSave: [self call: GSServiceCentre new].
<br>and in Login components save method evaluate that block:<br>&nbsp;&nbsp;&nbsp;&nbsp;onSave value.<br><br><br>&gt; &quot;Pass a callback block [self call: GSServiceCentre new] from you main to<br>&gt; login component, and evaluate it with its method &quot;value&quot; when you want it
<br>&gt; executed.&quot;<br>&gt;<br>&gt; How do you do that? I&#39;m not entirely familiar with Smalltalk syntax.<br>&gt;<br>&gt; Thanks,<br>&gt; Richard<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">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Rajeev Lochan<br><br>Co-founder, AR-CAD.com<br><br><a href="http://www.ar-cad.com">http://www.ar-cad.com</a><br>+91 9243468076 (Bangalore)<br>080 65355873