[aida] Aida Digest, Vol 17, Issue 32

Prashanth Hebbar hebbarp at gmail.com
Sat Sep 27 20:46:40 CEST 2008


I got it working! Thank you very much.

All along I was wondering about the role of "forObject:". So basically one
should take an instance of the domain model and pass it to defaultURL?


It looks like you tried all possible combinations except the right one :)

(AIDASite named: 'aidademo') urlResolver
   defaultURL: '/aidademo.html' forObject: counter

So, if you inspect first line alone, you need to get an URLResolver. Now
you need to send #defaultURL:forObject: to it and your object will be
registered with deired Url.

Hope this helps

Janko Miv?ek
Smalltalk Web Application Server


Aida mailing list
Aida at aidaweb.si

End of Aida Digest, Vol 17, Issue 32

Prashanth Hebbar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20080928/8b4666df/attachment.htm 

More information about the Aida mailing list