tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/867-mediating-pop-ups-and-the-pocRobotlegs: Discussion 2012-04-04T15:53:59Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/146115122012-03-19T21:25:42Z2012-03-19T21:25:42ZMediating POP ups and the POC<div><p>Hey all,</p>
<p>I am working on a project that will have a number of pop up
windows, and was browsing the Knowledge base and forum, after
finding the official solution <a href=
"http://knowledge.robotlegs.org/kb/reference-mvcs-implementation/how-to-mediate-a-flex-popup">
here</a>, I came across this post <a href=
"http://knowledge.robotlegs.org/discussions/solutions/4-mediation-of-popups-in-flex">
here</a> by creynders. I was curious as to what is the "better"
solution? The solution put forth from creynders sounds to be the
more optimal as you don't have to manually create the mediators. If
his is the better solution, was the POC he mentioned ever created
and does it have a link so I can take a look?</p>
<p>If not, I have a few questions on the "official" solution.</p>
<p>Thanks,</p></div>visniktag:robotlegs.tenderapp.com,2009-10-18:Comment/146115122012-03-20T15:54:44Z2012-03-20T15:54:44ZMediating POP ups and the POC<div><p>Hey,<br>
All you’d have to do to use creynders solution is this:<br>
ContextView.mxml</p>
<p>Instead of:<br>
context=new ApplicationContext(this);</p>
<p>you'd do this:<br>
context=new ApplicationContext(this.parent);</p>
<p>where this.parent is [object
ContextView_mx_managers_SystemManager]</p>
<p>I've never used it in my projects, so I can’t tell you
whether there are any pitfalls or not, but it is for sure less
complicated than other solutions.<br>
I don’t have a link to his POC. You can ask him, though ->
@camillereynders</p>
<p>Ondina</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/146115122012-03-22T15:30:47Z2012-03-22T15:30:47ZMediating POP ups and the POC<div><p>Thanks Ondina,</p>
<p>I will create a few test project and play around with it as I am
all for "less complicated". though since you do not use it yourself
and the knowledge base still advises the other method, I guess I
should assume it is the "better" way to go, at least at this
point.</p>
<p>Thanks again, as always you are of great help.</p></div>visniktag:robotlegs.tenderapp.com,2009-10-18:Comment/146115122012-03-22T15:46:09Z2012-03-22T15:46:09ZMediating POP ups and the POC<div><p>Thanks for the nice words!! If you like experimenting, you can
try rl2. Be aware of the fact that rl2 is still beta, so no
guarantees that everything will work well.</p></div>Ondina D.F.