[aida] Tutorial

Janko Mivšek janko.mivsek at eranova.si
Thu Sep 20 11:14:53 CEST 2007


Hi Dirk,

Good that you notice that! A demo website is not 'test' anymore but 
'aidademo' in a new Aida 5.4. This is a site which starts when you 
evaluate SwazooServer demoStart.

Let me immediately correct the tutorial...done!

Thanks!
Janko


Dirk Verleysen wrote:
> Janko,
> 
>  
> 
> I started the tutorial but wanted to use my own classes. I do the 
> SwazooServer demoStart.
> 
>  
> 
> I have created a ClubBook, ClubBookApp and ClubApp classes as described 
> in the tutorial.
> 
>  
> 
> I evaluate:
> 
>                 | aBook |
> 
>                 aBook := (ClubBook new) domainCollection: (Club 
> readAll); yourself.
> 
> (AIDASite named: 'test') urlResolver defaultURL: '/clubbook.html' 
> forObject: aBook
> 
>  
> 
> But this gives an error since ‘test’ returns nil.  Added AIDASite 
> newNamed: ‘test’ between the two instructions and it evaluates. I try to 
> browse to http://localhost:8888/clubbook.html but get a 404 Not Found.
> 
>  
> 
> Any idea what I’m doing wrong ?
> 
>  
> 
> Dirk
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Aida mailing list
> Aida na aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida

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


More information about the Aida mailing list