• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Problem with Lazy-Loading Modules responding to message

Guest
Jul 28, 2010 Jul 28, 2010

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:

http://forums.adobe.com/thread/680798

TOPICS
Cairngorm

Views

2.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 28, 2010 Jul 28, 2010

Copy link to clipboard

Copied

LATEST

Thanks for help in advance!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines