Problem while following tutorial

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

Problem while following tutorial

Damir Horvat
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
|

Problem while following tutorial

Janko Mivšek
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