[Seaside] tutorial issue

Steve Bleeke sbleeke at msn.com
Thu Jan 15 00:55:45 UTC 2009


I'm still trying to get this tutorial todo app to work.

I created the components and the initializeMenuComponent is throwing an error.

This is the syntax of what is being executed:  I copy/pasted from the tutorial text.

initializeMenuComponent

 self menuComponent: (StMenuComponent new
  addEntry: 'All' withAction: [self showAllTasks];
  addEntry: 'Completed' withAction: [self showCompletedTasks];
  addEntry: 'Pending' withAction: [self showPendingTasks];
  addEntry: 'Missed' withAction: [self showMissedTasks];
  yourself).

This is the error I get:

Seaside Walkback
MessageNotUnderstood: UndefinedObject>>new
Debug Proceed Full Stack

Possible Causes
  a.. the receiver of the message is nil
  b.. a class extension hasn't been loaded correctly
  c.. you sent the wrong message
Stack Trace
  1.. 
    thisContext
    UndefinedObject(Object)>>doesNotUnderstand: #new
    self
    nil
    aMessage
    new
  2.. 
    thisContext
    StRootComponent>>initializeMenuComponent
    self
    a StRootComponent
  3.. 
    thisContext
    StRootComponent>>initialize
    self
    a StRootComponent
  4.. 
    thisContext
    StRootComponent class(WAPresenter class)>>new
    self
    StRootComponent
  5.. 
    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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090114/dc649496/attachment.htm


More information about the seaside mailing list