Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: 1 2 [3]
Print
Author Topic: ViewStacks, Mediators and Deferred Instantiation  (Read 55725 times)
neil
Jr. Member
**
Posts: 16


View Profile Email
« Reply #30 on: August 07, 2008, 07:45:29 »

Hi Cliff.

Thanks for that, it got it working.

Now I have something else...

I have a pop up that is created when a record is clicked on the ClientList, using the pop up manager elsewhere on this forum. The pop up view is called ClientForm.
Where do I register the mediator for ClientForm?

Do I need to add a creationComplete notifier on the ClientForm, so that when the ClientForm is created it triggers the registeration of the ClientFormMediator. If so, how do I pass the viewComponent?
From an event listener, I can't pass an arugument (viewComponenet) to the target function.

Is the pop up considered a child of ClientView or ClientList, or is it a seprate entity?

Thanks,

Neil



Logged
neil
Jr. Member
**
Posts: 16


View Profile Email
« Reply #31 on: August 07, 2008, 07:52:43 »

Forget that, the mediator is already registered by the pop up manager.  ::)
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #32 on: August 16, 2008, 04:08:49 »

Here's a link to the newly created FAQ entry for this problem:

http://puremvc.org/content/view/91/185/

-=Cliff>
Logged
Pages: 1 2 [3]
Print