[aida] Aida Digest, Vol 17, Issue 32

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


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
Aida at aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida


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



-- 
Prashanth Hebbar
Bangalore
-------------- 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