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

Show Posts

* | |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / Architecture / Re: Multiple Views of the same components on: January 29, 2008, 08:49:29
Well, I guess it is always the simple solutions that evade us.  Tragic thing is that I have reviewed this sample before and failed to notice the way the mediators are named.

For those that don't want to open the example, essentially the getMediatorName() method returns a reference to a unique key on the viewComponent it mediates for. 

Thanks for pointing me back to this example for a closer look, Oscar.

- Jackson
2  Announcements and General Discussion / Architecture / Re: Multiple Views of the same components on: January 28, 2008, 01:50:41
Hello,

I have a related question.  We are building an application that needs to support an X number of simultaneous Forms created as needed by the user. Each of the Forms are exactly the same and require the exact same Mediator.  For instance, you could have two "Person" forms open at the same time. The Forms also need to be destroyed after use. The removeMediator() method only takes a static Mediator string name so it doesn't appear that it supports creating two of the same entity at the same time.

How would one go about supporting this and also be able to clean up after the used mediators?

Warmest regards,

- Jackson
Pages: [1]