|
It will work fine in that direction. The only problem I know of with that
reference method is that binding will not work through it, but that will not be
an issue for your usage. Of course if you pass {app:this} in via
the initObj, you will shorten you code to app.addressDataGrid.dataProvider.addItem(
addr ); From: Valy Sivec
[mailto:[EMAIL PROTECTED] Hello
flexcoders, I'm using
a popup window that has a data entry form. When the form submits the popup
close and the data submited will refresh some datagrids from the main screen. I haven;t
used the initObj parameter in the popup contructor to pass variables between
the popup and the main apps; I;m referencing the parent elements like: var addr=
new AddressVO(); addr.phad_id=78; addr.phad_address="address"; mx.core.Application.application.addressDataGrid.dataProvider.addItem(
addr ); Is this
the right way to pass data between the main application and the modal popup
window? or should I use the initObj when create the popup? var addAddressPopUp=mx.managers.PopUpManager.createPopUp( this,
addNewAddress, true, initObj); Any
feedback would be great!. Thanks, Valya Do you Yahoo!?
Yahoo! Groups Links
|
- RE: [flexcoders] How to use popups properly Tracy Spratt
- Tracy Spratt

