How to Load Multiple Context Files in Parseley Framework

I am using parseley framework in my flex applications.I faced a problem while loading a muiltiple context files in my flex application.And Finally I found a solution for this problem.

Here I would like to share the same.

Step1:

Namespace should be like this

xmlns:spicefactory=”http://www.spicefactory.org/parsley”

Step2:

And declaration part can be like below.

<fx:Declarations>
<spicefactory:Configure />
<spicefactory:ContextBuilder>
<spicefactory:FlexConfig type="{NMSSecurityModuleContext}" />
<spicefactory:FlexConfig type="{NMSContext}"/>
</spicefactory:ContextBuilder>
</fx:Declarations>

Related posts:

  1. Flex Parsley,Cairngorm Framework Injection Problems
  2. How to Create Popup Using Cairngorm PopUpWrapper in Flex

Comments are closed.