[Seaside] going through the tutorial..

Julian Fitzell jfitzell at gmail.com
Sat Feb 7 08:29:09 UTC 2009


On Sat, Feb 7, 2009 at 7:51 AM, sergio_101 <sergiolist at village-buzz.com>wrote:

> i am working through the ToDo list tutorial, and running into a slight
> problem..
>
> i am up to the point where i have defined my tasks, users, and
> list/menu components..
>
> my menu and list components look like:
>
> WAComponent subclass: #StMenuComponent
>        instanceVariableNames: ''
>        classVariableNames: ''
>        poolDictionaries: ''
>        category: 'STTutTodoApp'
>
> and
>
> WAComponent subclass: #StListComponent
>        instanceVariableNames: ''
>        classVariableNames: ''
>        poolDictionaries: ''
>        category: 'STTutTodoApp'
>
> when i run the demo so far, initializing StRootComponent, i am getting:
>
> initialize
>        super initialize.
>        self
>        menuComponent: StMenuComponent new;
>        listComponent: StListComponent new.
>
> with an error:
>
> StRootComponent(Object)>>doesNotUnderstand: #menuComponent:
>
> any ideas?


StRootComponent does not have a method called #menuComponent:

Perhaps you missed a step where you were supposed to add that? Or perhaps
you added it to the wrong class or as a class method rather than an instance
method?

Julian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090207/89ae7442/attachment.htm


More information about the seaside mailing list