« Return to Thread: preferredUrl usage

Re: preferedUrl usage

by Rob Rothwell-2 :: Rate this Message:

Reply to Author | View in Thread

On Tue, Mar 18, 2008 at 4:37 PM, Janko Mivšek <janko.mivsek@...> wrote:
Hi Leon,welcome to the mailing list!

About preferedUrl usage: this method is called only once per domain
object, when its Url is registered into an URLResolver. If  #preferedUrl
was changed later (or object was already registered with automatic Url
before prefered method was created), then you need to re-register it,
for example:

    (AIDASite named: 'aidademo')
       urlResolver changeToPreferedURL: myDomainObject

Thanks for this good piece of information.  I have done the same thing wrong myself, but figured as long as everything else was working I would worry about it later!  Now I don't have to!

Janko,

Can you help me to be able to contribute to your site?  I would really like to start filling out your Programmer's Guide to include all these good tidbits and would like to start earning my way!

Rob Rothwell

_______________________________________________
Aida mailing list
Aida@...
http://lists.aidaweb.si/mailman/listinfo/aida

 « Return to Thread: preferredUrl usage

LightInTheBox - Buy quality products at wholesale price