tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/267-signalcommandmapRobotlegs: Discussion 2018-10-18T16:35:23Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/54380152011-02-18T19:29:38Z2011-02-18T19:29:38ZSignalCommandMap <div><p>Hi Jason,</p>
<p>so you've got 2 signals - SendImagesSignal and
RequestImagesSignal.</p>
<p>I can see that you're adding a listener to the SendImageSignal
in the mediator... but where you say "The mediator that dispatches
the signal looks like this:"</p>
<p>There's no dispatch in there... and you're not injecting the
RequestImagesSignal either - which is the one that is mapped to a
Command.</p>
<p>Did you mean to post some different code?</p>
<p>What would really help would be to see where the
RequestImagesSignal is being dispatched.</p>
<p>Stray</p></div>Straytag:robotlegs.tenderapp.com,2009-10-18:Comment/54380152011-02-18T20:15:28Z2011-02-18T20:15:28ZSignalCommandMap <div><p>Ah - man, you're right - you guys are really good at making an
"expert" AS3 coder like me feel pretty stupid, but you do it in
such a nice way. :)</p>
<p>Haha - yeah, I got my Signals mixed up. This was a mistake I
should have found had I looked a little closer at my code. I
refactored some things and swapped the signals and it's working
great now, thanks SO much for your help. These forums are great,
I'll try and not and abuse them too much. I am determined to make
RL part of my workflow, so I'll be posting again, I'm sure.
Thanks!</p>
<p>Jason Merrill Instructional Technology Architect Bank of America
Global Learning</p>
<p>_______________________</p>
<p>-----Original Message----- From: Stray [mailto:<a href=
"mailto:tender+d7f515d0178990d3de1f931c191c3528c113c33ee@tenderapp.com">tender+d7f515d0178990d3de1f931c191c3528c113c33ee@tenderapp.com</a>]<br>
Sent: Friday, February 18, 2011 2:30 PM<br>
To: Merrill, Jason<br>
Subject: Re: SignalCommandMap [Problems]</p></div>jason.merrilltag:robotlegs.tenderapp.com,2009-10-18:Comment/54380152011-02-18T20:28:59Z2011-02-18T20:28:59ZSignalCommandMap <div><p>No problem Jason - the hard part of learning something new is
always that there's so much fog that it's hard to see the things
you'd normally spot right out!</p>
<p>Post as much as you need, other people always benefit too -
someone else is bound to make the same mistake.</p>
<p>Stray</p></div>Straytag:robotlegs.tenderapp.com,2009-10-18:Comment/54380152011-02-18T20:36:10Z2011-02-18T20:36:10ZSignalCommandMap <div><p>Excellent, will do. Yeah, I have to agree with the fog comment -
I've been doing my own MVC+S stuff for years, with standard custom
events, some Cairngorm events and command stuff. Now a co-worker
and I have jumped into Robotlegs, Signals, and Dependency
Injection/Swift Suspenders, and it's a different mindset in coding.
I remember seeing a presentation on DI in Flex using Parsley I
think at Max back in October, and while I already know MXML and AS3
quite well, I only half-got what they meant with DI, but it makes
more sense to me now. I love these framework and am determined to
learn - it's very cool. Thanks for your help, I'll go ahead and
close this thread.<br></p>
<p>Jason Merrill Instructional Technology Architect Bank of America
Global Learning</p></div>jason.merrill