PureMVC Architects Lounge

Announcements and General Discussion => General Discussion => Topic started by: marks416 on October 21, 2008, 11:14:01



Title: when it is the best time to register Mediator?
Post by: marks416 on October 21, 2008, 11:14:01
I have a question for register a Mediator with facade.registerMediator.

I use facade.registerMediator to register a Mediator,but why I get null when I access viewComponent, it seem I register the Mediator so early,what is the right time to register a Mediator?

Thanks

Mark


Title: Re: when it is the best time to register Mediator?
Post by: puremvc on October 21, 2008, 09:16:58
Hi Mark,

Sounds like you might be having a deferred instantiation issue. Take a look at the FAQ section as well as the Flex Slacker demo.

Hope this helps,
-=Cliff>