From: <anj...@t-...> - 2003-09-24 10:57:05
|
Am Mittwoch, 24.09.03 um 06:03 Uhr schrieb Bob Stuart: > It appears that using Wonder suppresses the modelAddedNotification I'm > guessing that all of the models are loaded during ERXApplication > constructor before I ever get a chance to register for the > notification. Has anyone else had this issue and maybe dealt with it? This happens during the initialization of ERXEntityClassDescription. Depending on what you want to do, you could create a subclass of ERXEntityClassDescription.Factory, override what you need and push the class name into the System properties in your main() as er.extensions.ERXClassDescription.factoryClass=com.mcf.MyFactory This class gets modelAdded, appDidFinishLaunching etc. Cheers, Anjo |