[Seaside] What the class WATask is for ?

Avi Bryant avi at beta4.com
Wed Oct 20 11:26:35 CEST 2004


On Oct 20, 2004, at 10:10 AM, Alexandre Bergel wrote:

> When would I want to define the control flow on a component in the go 
> method rather than renderContentOn: ?

Never define control flow in #renderContentOn:, always in callbacks.  
#renderContentOn: needs to be a side-effect free display phase.

The point of WATask and #go is to allow the control flow to start 
before anything has been rendered, ie, to be able to immediately call 
another component without some trigger like the user clicking on a 
link.



More information about the Seaside mailing list