[Seaside] tutorial issue
jfitzell at gmail.com
Thu Jan 15 07:45:14 UTC 2009
Did you perhaps write and save that method before creating the
StMenuComponent class? If so, the method will have been compiled
without a reference to the class (because it didn't exist).
Try typing something in the method and then deleting it so it thinks
it has changed and then saving it again.
On Thu, Jan 15, 2009 at 1:55 AM, Steve Bleeke <sbleeke at msn.com> wrote:
> I'm still trying to get this tutorial todo app to work.
> I created the components and the initializeMenuComponent is throwing an
> This is the syntax of what is being executed: I copy/pasted from the
> tutorial text.
> self menuComponent: (StMenuComponent new
> addEntry: 'All' withAction: [self showAllTasks];
> addEntry: 'Completed' withAction: [self showCompletedTasks];
> addEntry: 'Pending' withAction: [self showPendingTasks];
> addEntry: 'Missed' withAction: [self showMissedTasks];
> This is the error I get:
> Seaside Walkback
> MessageNotUnderstood: UndefinedObject>>new
> Debug Proceed Full Stack
> Possible Causes
> the receiver of the message is nil
> a class extension hasn't been loaded correctly
> you sent the wrong message
> Stack Trace
> thisContext UndefinedObject(Object)>>doesNotUnderstand: #new self nil
> aMessage new
> thisContext StRootComponent>>initializeMenuComponent self a StRootComponent
> thisContext StRootComponent>>initialize self a StRootComponent
> thisContext StRootComponent class(WAPresenter class)>>new self
> thisContext WARenderLoopMain>>createRoot self a WARenderLoopMain
> Can anyone give me a hint. Sorry, I'm just getting started with Smalltalk
> et al.
> I'm using Squeak 10 and Seaside 2.8
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside