Hi Alex,
Alex Schenkman pravi:
> I've been going through the Tutorial to learn AIDA.
> Thanks a lot for it. I like it very much.
Nice to hear that, welcome to the Aida world!
> I have some comments to improve the tutorial.
>
> 1) The instance variable name is used by Object. Change it to firstName.
I just did that, changet to fristName and lastName accoringly. I just
hope that I didn't miss the rename somewhere. Would you recheck please?
> Object subclass: #'ADemoAddress'
> instanceVariableNames: 'parent *name* surname phone email '
>
> classVariableNames: ''
> poolDictionaries: ''
> category: 'Aidaweb-Tutorial'
>
> 2) Make a reference to changeToPreferedURL:, otherwise PreferedUrl does not work.
#preferedUrl works if you implement it before you link to those objects
for a first time. Later, yes you need to reregister with
#changeToPreferedURL:
I just added a short comment to explain that better
Thanks a lot for your sugestions and we are waiting for more :)
Best regards
Janko
> I did:
>
> book := ADemoAddressBook new.
> aSite := AIDASite named: 'aidademo'.
> ...
>
> "Update the cached preferedURL definition for all the persons"
> book addresses do: [:addr | aSite urlResolver changeToPreferedURL: addr].
--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida