jfitzell at gmail.com
Tue Apr 19 16:33:36 UTC 2011
On Tue, Apr 19, 2011 at 4:34 PM, Otto Behrens <otto at finworks.biz> wrote:
>> Are you returning the task in the parent component's #children method?
> Yes, I did that
Hm... are you lazily initializing it during the rendering method, perhaps?
If not, what *should* be happening is that at the end of the callbacks
your task should be returned from #children and will then get started.
That should result in the task getting started, which should cause
some component to be called. The "no delegation" error is indicating
that the task has *not* called a component. This could happen if your
task doesn't actually call anything, or if the task doesn't exist when
the callbacks are finished, or if there's a bug somewhere in Seaside.
Note that the behaviour of embedded tasks can be a little surprising
to some people: if you embed several tasks on a page, they will *all*
execute to the point of their first #call: before the page is
rendered. They need to do so in order to know what to display during
the render phase, since the task itself does not specify any way of
More information about the seaside