Well if it's not the parentApplication or doesn't have a parent. You could add a property to the child module and have it's parent assign a reference to it.
-Mark On Mon, Sep 2, 2013 at 6:40 PM, Maurice Amsellem < [email protected]> wrote: > Hello, > > Does someone know how to get the module instance (ie subclass of spark > Module) where a given UI component is defined, in a multi-module > application. > > Walking up the parent tree does not work if the UI component belongs to a > popup. > > I also tried using UIComponent.moduleFactory, and the info() properties > ( currentDomain, mainClassName, etc.) , but without success. > > Thanks for your help. > > Maurice > >
