ReferenceError: Error #1065: Variable IInjector is not defined.
Using RobotLegs 1.4.0 with module and Flex 4.5. Built multiple module application with no problems. Attempted to place thin application (no robotlegs or any links to the other modules) as a loader to all of the other modules. The getDefinition call is pointing to the top level app domain and failing because there are no definitions there. If I reference the injector or the injected classes in the application they are found. Their definitions really should only be found in the lower level modules.
I've attempted fixes in the modules' context's constructors of :
super(contextView, true, parentInjector, contextView["moduleFactory"].info().currentDomain);
to no avail.
Any ideas?
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
Support Staff 1 Posted by Shaun Smith on 02 Feb, 2012 03:42 PM
Hello Joe,
Have you tried overriding
getApplicationDomainFromContextView
in mvcs.Context:https://github.com/robotlegs/robotlegs-framework/blob/master/src/or...
Perhaps you can jig it to pull out the correct domain?
2 Posted by Joe Wyatt on 02 Feb, 2012 10:33 PM
That seems to have given me a good start, Shaun. Thanks a ton.
Ondina D.F. closed this discussion on 10 Feb, 2012 11:53 AM.