Mediation of popups in Flex
I've been struggling with the mediation of popups in Flex and
have so far solved it by manually creating the mediators as
suggested on some other thread here, but I think I've found a
better solution:
Instead of passing the main mxml file to RL as the contextview, you
should pass the instance of the application's systemmanager, like
this:
<local:RLPopupTestContext contextView="{
Application.application.systemManager }"/>
This will in fact relay the ADDED_TO_STAGE events of popups to the framework and automatically create the mediators for the mapped views
I put together a proof-of-concept, if you want I can send you guys the files so you can see for yourself.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Joel Hooks on 29 May, 2010 03:02 PM
I've experimented with this a bit as well. It would likely also provide a solution for AIR windows. It would also likely be a problem with modules, but I didn't explore it enough to determine that.
3 Posted by Nikos Katsikanis on 10 Jul, 2010 02:03 PM
I would be interested in the POC please :)
4 Posted by Nikos Katsikanis on 12 Aug, 2010 02:01 PM
Has anyone tried this with modules yet?
5 Posted by NYY80401 on 13 Sep, 2010 07:17 PM
I too would be interested in the POC files.
I put together a proof-of-concept, if you want I can send you guys the files so you can see for yourself.
Stray closed this discussion on 19 Feb, 2011 10:39 PM.