Login  Register

Problem while following tutorial

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Problem while following tutorial

Damir Horvat
8 posts
Hi!

I'm following the addressbook tutorial and I've produced this error:

        Unhandled exception: Message not understood: #urlResolver

while evaluationg this line:

        (AIDASite named: 'test') urlResolver defaultURL: '/addressbook.html'
        forObject: book

The 'book' variable has one entry. Inspecting it, all looks fine.

Why is this #urlResolver message not understood?

br,
Damir

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Problem while following tutorial

Janko Mivšek
2721 posts
Hi Damir,

Obviously (AIDASite named: 'test') returns nil, that is nothing. If you
inspect SwazooServer singleton and look at instance variable sites, do
you see there an AIDASite which is named 'test' (has in an instance
variable name a string 'test')?

In newer version we won't have 'test' anymore but 'aidademo' as a name
of demo web site.

Best regards
Janko

Damir Horvat wrote:

> Hi!
>
> I'm following the addressbook tutorial and I've produced this error:
>
> Unhandled exception: Message not understood: #urlResolver
>
> while evaluationg this line:
>
> (AIDASite named: 'test') urlResolver defaultURL: '/addressbook.html'
> forObject: book
>
> The 'book' variable has one entry. Inspecting it, all looks fine.
>
> Why is this #urlResolver message not understood?
>
> br,
> Damir
> _______________________________________________
> Aida mailing list
> Aida at aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida
>

--
Janko Miv?ek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si