tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/343-mediator-register-not-called-with-robotlegs-gaiaRobotlegs: Discussion 2018-10-18T16:35:29Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/84750332011-07-08T08:54:46Z2011-07-08T08:54:46ZMediator register not called with Robotlegs + GAIA<div><p>Hi Rive,</p>
<p>This is nearly always due to race conditions.</p>
<p>If you add traces to the execute of your command that maps the
mediators, you'll be able to see whether the mapping is being made
after your 'Home Page' trace and so on.</p>
<p>I suspect that it is but I haven't run the project - I've only
had a little look through as I'm not familiar enough with Gaia
really - Jesse Warden / @jesterxl on twitter has used the two
together so if you don't fix it by this afternoon, you could ask
him (he's in the US).</p>
<p>I think you probably need to delay Gaia's start-up until the
mappings have been made.</p>
<p>hth,</p>
<p>Stray</p></div>Straytag:robotlegs.tenderapp.com,2009-10-18:Comment/84750332011-07-08T10:12:29Z2011-07-08T10:12:30ZMediator register not called with Robotlegs + GAIA<div><p>Thanks Stray,</p>
<p>I got that far too, my views are added after I map my
mediators...it should be the other way around. As explained
here:<br>
<a href=
"https://github.com/robotlegs/robotlegs-framework/wiki/Common-Problems#mediator-not-running-onregister">
https://github.com/robotlegs/robotlegs-framework/wiki/Common-Proble...</a></p>
<p>But I can't see what the best place/order would be to fix
this.</p>
<p>I guess I'll ask Jesse on twitter. I hope he's willing to help
me out here. Its strange because I did follow his articles.</p></div>Rivetag:robotlegs.tenderapp.com,2009-10-18:Comment/84750332011-07-11T07:18:24Z2011-07-11T07:18:25ZMediator register not called with Robotlegs + GAIA<div><p>I do not seem to get any response from Jesse Warden.</p>
<p>If there's anyone who knows why views/pages get added in the
Gaia framework before I registered my mediators with Robotlegs... I
would be very helpful. Because I can't figger out how to setup the
right order.</p></div>Rivetag:robotlegs.tenderapp.com,2009-10-18:Comment/84750332011-07-11T09:58:52Z2011-07-11T09:58:53ZMediator register not called with Robotlegs + GAIA<div><p>Found the solution!</p>
<p>Check my repository:<br>
<a href=
"https://github.com/rivebe/library/tree/master/actionscript3/gaia-robotlegs-project-setup">
https://github.com/rivebe/library/tree/master/actionscript3/gaia-ro...</a></p></div>Rive