Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Add Child Demo and onRegister method  (Read 2506 times)
mico
Jr. Member
**
Posts: 15


View Profile Email
« on: February 15, 2010, 08:13:54 »

Hello

I'm trying to understand why add child resolver doesn't work for me and got the following issue:
I've changed the demo so item is added to the panel and not to the form.
:
<mx:AddChild relativeTo="{loginPanel}" position="before">
                <mx:target>
                <!-- This is where the confirm component is defined -->
                    <mx:FormItem id="confirm" label="Confirm:">
                        <mx:TextInput/> 
                    </mx:FormItem>
                </mx:target>
            </mx:AddChild>
After that change the onRegister method of ConfirmMediator isn't executed. How to make the add child resolver work with containers like Application?

Thanks,
Mikhail
Logged
Pages: [1]
Print