Tutorial

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

Tutorial

Dirk Verleysen
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

------------- volgend deel ------------
Een HTML-bijlage is verwijderd...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20070920/752263b4/attachment.htm 

Reply | Threaded
Open this post in threaded view
|

Tutorial

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