Perhaps you forgott to Inject thie context?
public var context::Context; //don't no the full classname, just use your AutoComplete to import it.
How do you know that "public var selectedCustomer:CustomerDetail" isn't null? You also have to call the "ConfigureView" (parlsey 2.3) or "ConfigureIoc" Event on the component addedToStage event. If not called, the context won't be inected either.
I've made it to work and i can provide you an example later this day.
Thanks for your response.
I do have
public var context::Context;
in the MXML where PopupWrapper is being used.
My issue seems to involve the use of modules. I can use popups fine in my root application. Any popups that appear in a module however are only able to access objects from the root context and not the child context it is in. I've actually tried showing popups without PopupWrapper using the process described in the Parsley docs and get the same result. This leads me to believe the issue is not with PopupWrapper but with Parsley instead.
Has anyone been able to successfully wire up a popup from a module using Cairngorm 3 and Parsley 2.2? I'd love to see an example if you have.
Sry, haven't seen that you was talking about modules.
Why don't you post the full source of the mxml file on the parsley forum . The developer of parsley is always answering the threads.
Actually i can't see any reason, why not to pass the reference to the popup directly. Sure it's not so cool like an iject tag, but it would be also a dependecy injection. A setter injection if being precize.