tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/397-mediator-not-receiving-eventsRobotlegs: Discussion 2018-10-18T16:35:21Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/45297492011-01-03T07:00:03Z2011-01-03T07:00:03ZMediator not receiving events<div><p>Hello, by using <code>eventMap.mapListener(eventDispatcher,
TableModelEvent.MODEL_INIT, initModel);</code> you are listening
for the event comming from eventDispatcher. It should be your view,
i.e. <code>eventMap.mapListener(window, TableModelEvent.MODEL_INIT,
initModel);</code></p></div>krasimirtag:robotlegs.tenderapp.com,2009-10-18:Comment/45297492011-01-03T15:37:56Z2011-01-03T15:37:56ZMediator not receiving events<div><p>Yeah, i've tried using the view as well, and that isn't working
either</p></div>josh.duratag:robotlegs.tenderapp.com,2009-10-18:Comment/45297492011-01-03T20:31:29Z2011-01-03T20:31:29ZMediator not receiving events<div><p>Put together a quick repro of this. Attached...</p></div>josh.duratag:robotlegs.tenderapp.com,2009-10-18:Comment/45297492011-01-04T00:49:04Z2011-01-04T00:49:04ZMediator not receiving events<div><p>Figured this out. Seems to be a race condition. The following
link explains it well :)</p>
<p><a href=
"http://knowledge.robotlegs.org/discussions/questions/110-im-dynamically-creating-view-objects-and-would-like-the-mediator-to-be-mediating-the-view-as-soon-as-possible">
http://knowledge.robotlegs.org/discussions/questions/110-im-dynamic...</a></p></div>josh.dura