tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/701-robotlegs-second-dispatch-does-not-work-with-addviewlistenerRobotlegs: Discussion 2012-12-24T15:42:30Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/230354192012-12-23T12:24:45Z2012-12-23T12:24:45ZRobotlegs - second dispatch does not work with addViewListener<div><p>Hey tangent,</p>
<p>Since it works within the view_stuck() handler, it’s most
likely you forgot to override clone() in your SomeEventTypeB.<br>
See: <a href=
"http://knowledge.robotlegs.org/kb/application-architecture/why-doesnt-my-event-trigger-the-command-it-is-mapped-to">
http://knowledge.robotlegs.org/kb/application-architecture/why-does...</a></p>
<p>On a side note, you don’t need to call super.onRegister();
if you have this:</p>
<p>override public function onRegister():void<br>
{</p>
<p>}</p>
<p>Let me know whether overriding clone() solved your issue or
not.<br>
Ondina</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/230354192012-12-23T13:24:35Z2012-12-23T13:24:35ZRobotlegs - second dispatch does not work with addViewListener<div><p>Ondina, you are quite correct, I didn't have proper clone method
for the particular event. After adding proper clone method, it
works as expected!</p></div>tangenttag:robotlegs.tenderapp.com,2009-10-18:Comment/230354192012-12-24T15:42:29Z2012-12-24T15:42:29ZRobotlegs - second dispatch does not work with addViewListener<div><p>Hi tangent,</p>
<p>I’m glad you are back on track.</p>
<p>Ondina</p></div>Ondina D.F.