[Seaside] newbie question..

Rick F. rickf at ca-flower.com
Sun Dec 25 10:26:25 CET 2005


Hi all.. Hate to bug you on Christmas day, but we finished wrapping last minute
presents for the kids and it's about 1:15am and I'm trying to get one of the tutorials
going (Dave Shaffer's) care of the link shown below.. However, if I have a workspace
open and paste in all of the 3 sets of lines at the top of Dave's page, I get
evaluation errors (UndefinedObject(Object)>>doesNotUnderstand: #html) if I try 
to "do" all of the three series of lines at the same time - - the lines are as follows :

WAComponent subclass: #HelloWorldComponent
	instanceVariableNames: ''
	classVariableNames: ''
	poolDictionaries: ''
	category: 'SCSeasideTutorial'

 renderContentOn: html
	html text: 'Hello world'

HelloWorldComponent registerAsApplication: 'hello'

Now, interestingly enough, if I evaluate the first section (the WAComponent subclass)
by itself, it's fine.. Then if I evaluate the middle section, I get the error 
"Nothing more expected ->renderContentOn: html"

The last section evaluates fine and I can bring up the page (in this case,
http://localhost:9090/seaside/hello), but nothing is displayed..

Any ideas on what I'm doing wrong or is there some sort of issue with the code?

Here's the weblink to the tutorial:

http://www.shaffer-consulting.com/david/Seaside/RenderingBasics/index.html

Merry Christmas...

-- Rick



More information about the Seaside mailing list