PureMVC Architects Lounge

Announcements and General Discussion => Fabrication => Topic started by: mico on February 15, 2010, 08:13:54



Title: Add Child Demo and onRegister method
Post by: mico 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