[Seaside] newbie question..

Philippe Marschall philippe.marschall at gmail.com
Sun Dec 25 12:00:58 CET 2005

> WAComponent subclass: #HelloWorldComponent
>         instanceVariableNames: ''
>         classVariableNames: ''
>         poolDictionaries: ''
>         category: 'SCSeasideTutorial'
This basically says, create a subclass of WAComponent named
HelloWorldComponent in the category SCSeasideTutorial. Yes you can do
that but evaluating the code in the Workspace but you generally want
to do this in a browser.

>  renderContentOn: html
>         html text: 'Hello world'

That's actually a method you need to create, in your
HelloWorldComponent class. Not code you need to evalualte.

Are you familiar with Smalltalk/Squeak (know how to create classes and
methods) or shall I quickly run you through it?

More information about the Seaside mailing list