SignalCommandMap not getting injected
Hi there,
So I've trying to get the SignalCommandMap working with my Starling/Feathers app, and I see to be running to this issue:
Error: Injector is missing a mapping to handle injection into property "commandMap" of object "[object AppConfig]" with type "configs::AppConfig". Target dependency: "robotlegs.bender.extensions.signalCommandMap.api::ISignalCommandMap|"
As far as I can tell, I have done anything differently from projects that have worked with the IEventCommandMap. i saw some of the previous threads related to this issue, but it seems like they only answered questions about the Injector (to which I followed their answer, hoping they might solve something, but alas). I did also look at the test cases for the SignalCommandMap but once again, to no avail. If anyone knows more about this issue, I would greatly appreciate any help. Thank you!
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by zmaldonado on 10 Jul, 2014 06:40 PM
Also, for the record, I'm basing my signals on Joel Hook's FlickrGallery, if that adds some context. https://github.com/joelhooks/robotlegs-examples-FlickrGallery
2 Posted by zmaldonado on 10 Jul, 2014 06:44 PM
Another note: I just added the "SignalCommandMapBundle" to my project and installed in my context. Now I get this error:
Error: Injector is missing a mapping to handle injection into target "[class SignalCommandMap]" of type "robotlegs.bender.extensions.signalCommandMap.impl::SignalCommandMap". Target dependency: robotlegs.bender.extensions.commandCenter.api::ICommandCenter|, method: ctor, parameter: 2
3 Posted by zmaldonado on 10 Jul, 2014 06:50 PM
Looking at Joel Hooks Signals Cafe, I wonder if I should be using the SignalContext...https://github.com/joelhooks/robotlegs-examples-Rob...
4 Posted by zmaldonado on 10 Jul, 2014 07:52 PM
Okay, I seeing how the documentation is 3 to 4 years old and is still using Robotlegs v1, I'm just going to stick with good old Events.
Support Staff 5 Posted by Ondina D.F. on 11 Jul, 2014 08:06 AM
Hi Zack,
As I understand you were using an old library.
Here is the latest SignalCommandMap extension:
https://github.com/robotlegs/robotlegs-extensions-SignalCommandMap
Try it out and let us know how it goes.
Ondina
Ondina D.F. closed this discussion on 17 Jul, 2014 11:51 AM.