<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">That idea of using a WATask to be #renderOn: instead of #call: is a contradiction.<div class=""><br class=""></div><div class="">WATasks <i class="">exists</i> to be #call: ‘ed&nbsp;</div><div class=""><br class=""></div><div class="">In any case, when they answer you know they did because you’ll see control on whatever you did to capture its answer (and the actions of the code after that)</div><div class=""><br class=""></div><div class="">But I encourage you to turn your back to WATask, your control flow code perhaps doesn’t get concentrated and beautiful as the one they promise you but truth is there is nothing you can’t do without them in simple ways using just components and state.</div><div class=""><br class=""></div><div class="">How did I reach that conclusion?</div><div class=""><br class=""></div><div class="">In two occasions WATasks were promising, things ended up in rework.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Oct 31, 2014, at 1:52 PM, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com" class="">marianopeck@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi guys,<div class=""><br class=""></div><div class="">There is an scenario that I don't know how to deal. I have a main component that displays tabs. Each tabs render a component. This component could be anything, including a task. The tab has correctly defined the #children. And the way the tab displays its current contents (a component) is via: &nbsp;"self activeTabComponent renderOn: html"<br clear="all" class=""><div class=""><br class=""></div><div class="">The problem is if "activeTabComponent" is a Task. Since I am not doing not replacing anything (calling), I do not use #call: but #renderOn: as displayed above. The task can, at any point in time, or when the user clicks "Finish" do a "self answer: nil". I don't know what happens with this "self answer:" because I didn't do a #call: to that task.&nbsp;</div><div class=""><br class=""></div><div class="">Anyway... I would like to hook from my main component and I would like to know if the task has answered or even if the #go method finished so that I can automatically close the tab and remove this task.&nbsp; Of course, I can pass the main component to the task, and then from the task itself tell the main component that he has finished...but I don't like this very much.</div><div class=""><br class=""></div><div class="">Any idea?</div><div class=""><br class=""></div><div class="">Thanks in advance&nbsp;</div><div class=""><br class=""></div>-- <br class="">Mariano<br class=""><a href="http://marianopeck.wordpress.com/" target="_blank" class="">http://marianopeck.wordpress.com</a><br class="">
</div></div>
_______________________________________________<br class="">seaside mailing list<br class=""><a href="mailto:seaside@lists.squeakfoundation.org" class="">seaside@lists.squeakfoundation.org</a><br class="">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br class=""></div></blockquote></div><br class=""></body></html>