[Seaside] Embedded WATask
jfitzell at gmail.com
Wed Oct 20 20:40:05 UTC 2010
Did you include the Task in the #children of the root component?
On Wed, Oct 20, 2010 at 7:42 PM, Peter Schorsch <tralalas at freenet.de> wrote:
> a seaside newbe question about WATask.
> As I understood the documentation WATask is for workflows. With regard to
> the seaside tutorial I wrote a Login/Logout task (subclass of WATask).
> If my subclass of WATask is the root component it works. But as soon I try
> to embed the task it fails with the message »This task has no delegation«
> WATask subclass: TTLogInOutControl
> TTLogInOutControl >> go
> self call: TTLogin new.
> TTLogInOutControl class >> canBeRoot
> WAComponent subclass: TTLogin
> TTLogin >> renderContentOn: html
> html heading: 'It works'.
> What did I miss to call my subclass of WATask (TTLogInOutControl) embedded
> in an other component? Or did I completely missunderstand the documentation
> of WATask? If so, is there any tutorial/howto for embedded tasks in seaside?
> Thank you for your help
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside