[aida] domain to App mapping

Janko Mivšek janko.mivsek at eranova.si
Fri Oct 26 16:28:39 CEST 2007


nicolas petton a écrit :
>>> I have another idea, but I don't know how to do. I would like to
>>> subclass WebSecurityManagerApp but without subclassing
>>> WebSecurityManager. But is there a way to set a custom app to an object
>>> (an app with a different name)? Something like:
>>> UrlResolver defaultUrl: '/admin.html' forObject: admin app: MyAdminApp
>>>       
>> That's interesting idea and also a problem which needs to be solved 
>> somehow. To solve most generally I would start with some object to App 
>> map and add it to AIDASite, maybe in settings. Then I'd just extend 
>> method Object>>webApp to look in this map too. What do you think?
>>     
>
> I think it's a very good idea :) This way it would easier to extend
> existing models and apps, without overriding existing methods. If you
> want I can do it (at least I can try).
Yes, just try it, then we'll finish together. Another place for map can 
beWebStyle, but that class is already overloaded ...

Janko


More information about the Aida mailing list