Flex 4 cairngorm 3 Parsley 2.2
Hello, i try to integrate a cairngorm module in a flex 4 application.
This is mxml declaration : <module:ViewLoader info="{product}" name="product"/> ,
with injection :[Bindable]
[Inject(id="product")]
public var product:IModuleInfo;
and my context definition : <module:ParsleyModuleDescriptor domain="{ClassInfo.currentDomain}"
objectId="product"
url="../../modules/Product.swf"/>
and error
Error: One or more errors processing CompositeContextBuilder:
Error processing [object ActionScriptConfigurationProcessor]: One or more errors in ActionScriptObjectDefinitionBuilder:
Error building object definition for [Property _NavigationContext_ParsleyModuleDescriptor1 in class fr.generali.nova.atp.navigation::NavigationContext]: Error #1053: Remplacement illégal de ModuleInfo dans com.adobe.cairngorm.module.ModuleInfo.
at org.spicefactory.parsley.core.builder.impl::DefaultCompositeContextBuilder/handleErrors()
at org.spicefactory.parsley.core.builder.impl::DefaultCompositeContextBuilder/invokeNextProcessor()
at org.spicefactory.parsley.core.builder.impl::DefaultCompositeContextBuilder/invokeNextProcessor()
at org.spicefactory.parsley.core.builder.impl::DefaultCompositeContextBuilder/build()
at org.spicefactory.parsley.flex::FlexContextBuilder$/buildAll()
at org.spicefactory.parsley.flex::FlexContextBuilder$/build()
at Shell/___Shell_Application1_preinitialize()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.core::UIComponent/initialize()
at spark.components::Application/initialize()
at Shell/initialize()
at mx.managers.systemClasses::ChildManager/childAdded()
at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()
at mx.managers::SystemManager/initializeTopLevelWindow()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
It's possible to work with parsley-flex_4.2.2 and cairngorm 3 ?
thk
Bazerty Flex
