Copy link to clipboard
Copied
Hi,
I am having a problem with my Lazy Loaded Module not receiving the first Parsley message which has been queued and redispatched when a module is loaded lazily using LazyModuleLoadPolicyTag.
The problem manifests itself like this,
Shell application has a parsley context with following objects:
<module:ModuleMessageInterceptor type="{ DisplayInModuleMsg } "/>
<module:ParsleyModuleDescriptor
objectId="moduleA"
url="com/hsbc/test/module/TestModule.swf"
domain="{ ClassInfo.currentDomain }"
/>
<module:LazyModuleLoadPolicyTag
objectId="lazyLoadPolicy"
type="{ DisplayInModuleMsg }"
/>
Shell has ModuleViewLoader such as
<module:ModuleViewLoader
loadPolicy="{lazyLoadPolicy}"
moduleId="{ moduleId }"
moduleManager="{ moduleA }"
skinClass="com.adobe.cairngorm.module.ModuleViewLoaderSkin"
>
A DisplayInModuleMsg is dispatched from the shell which in turn loads and displays the module but the message never gets dispatched to it.
Subsequent DisplayInModuleMsg messages are dispatched in the model correctly, it just seems to be the first time after loading that fails.
I was under the impression that the message would be redispatched when the module was loaded. Any ideas??
Could be related to:
Copy link to clipboard
Copied
Thanks for help in advance!