Re: Aida Digest, Vol 17, Issue 32

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

Re: Aida Digest, Vol 17, Issue 32

Prashanth Hebbar

Janko:

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? 

Regards,

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




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


End of Aida Digest, Vol 17, Issue 32
************************************



--
Prashanth Hebbar
Bangalore

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida