Update Parent form after the modal popup

I have a form that displays information about an estimate/bid on a product. When you click on edit, it displays a modal PopUp window that allows you to change the estimate. How will I know when the PopUp has closed so that I could tell the original/parent form to refresh?

EDIT: Btw the PopUp is a mx:TitleWindow which I am the opening with the PopUpManager and my estimate by transmitting.

Here is my code to open the context menu:

private void showEstimatePopUp(est:Estimate,_title:String):void

{

private var win: EstimateForm;

win = EstimateForm (PopUpManager.createPopUp (this, EstimateForm, true));

Win.title = title;

}

Post edited by: acbarberi -Adding code

Just listen for the event 'close' on your TitleWindow.

If you want to have two different answers to your TitleWindow (IE. 'OK' and 'CANCEL'), then you will need to ship custom your TitleWindow events and listen for those.

Jason

Tags: Flex

Similar Questions

  • Is it OK to delete the update number 2 after the new update has been entered IE number 6 of the same program?

    to delete the update number 2 after the new update has been entered IE number 6 of the same program

    original title: he is allowed to delete the previous updates of files

    Hi Carl,

    I suggest you go through this article to Java which can be useful.

    Why should I remove old versions of Java in my system?

    Removal of previous versions of the .net Framework is based on the applications that are running on the computer.

    For applications, if you have an application based on any .NET Framework on the computer, you cannot delete it since you have need to support the application runs correctly.

    .NET framework 3.5 SP1 includes .NET Framework 2.0 SP2 and 3.0 SP2. This means that .NET Framework 2.0 and 3.0 can not be deleted because they are the sine qua non of .NET Framework 3.5 SP1. If you have any application based on .NET Framework 3.5 SP1, please do not remove .NET 2.0 SP2, 3.0 SP2 and 3.5 SP1.

    I would also not to uninstall the security updates that are important for the security of your computer.

  • Windows updates always installed after the return to a previous restore point?

    A restore point to bring victory 7professional. What will happen with the windows updates that came after the restore point?  Clicking on updates windows just always looking for updates, nothing happens. Updates are received before the restore point still installed?

    Windows update itself creates one in order to make them reversible. To resolve the issue, see updated:

    Windows 7 update problems? First read this.

    Best regards, VZ

  • If I create a form using the free trial software, will I be able to use and access the form, after the trial period is over?

    If I create a form using the free trial software, will I be able to use and access the form, after the trial period is over?

    Yes, you can access the project that you created after the trial is over, but you need to back it up.

    Concerning

    Stéphane

  • Creative cloud began the download of an update, but stopped after the download of 5 percent. Nothing works now and I can't access anything whatsoever. Help please!

    Creative cloud began the download of an update, but stopped after the download of 5 percent. Nothing works now and I can't access anything whatsoever. Help please!

    Please remove Cloud Creative app using:

    Install the cloud creative app - https://helpx.adobe.com/creative-cloud/help/install-apps.html

  • Steps the first time an UPDATE's questions after the start of the proceeding?

    The two steps are performed the first an UPDATE statement issues after the instance started? Choose two.

    A. creation of the syntactic tree of the statement.
    B. write the data blocks changed in the data file
    C. writing the changed data in the archived redo log files
    D. update the control file to indicate the last control point
    E. update the data file header to indicate the last control point
    F. read blocks in the database buffer cache if they are not already

    A & F.

  • refresh the report after you close the modal popup

    Hello

    I try to call page editing as popup modal as in this example below.

    http://Apex.Oracle.com/pls/Apex/f?p=45420:3:0:no:

    It works fine, but after you change/update a registration and closing of the edit page, is not refresh the main report page (first). How can I change so it refresh the report calling when closed. Please NOTE: I do not want to refresh the whole page, but only the report after you close the page modal popup.

    Apex 4.2

    Thank you in advance... regards

    It worked, now missed me the branching code and the parameter by js... Thank you

  • Do not forget the values in the form after the page

    Hello

    IM absolutely new to APEX (as you can see this is my first post ;)), I've read the documentation, I found on the oracle Web site and know at least the basics...
    So I started building my first application and already have my first problem :D Maybe you can tell me if I want to do is possible and how to do it.

    I have several pages by a form on the left side as well as a report of sql on the right side.
    The form contains fields that are the list of values (fields that contain foreign keys so that the user can select only a valid value). I have a button next to each list in the value field. When the user clicks on the button I have a branch to the same page and the sql report is updated. Depending on which button next to the list values with foreign keys was pressed, it shows the complete table list the values of references to (so the user can see that contains the foreign key, it is to select). After I finally made this work.

    But the problem is: when the user enters values in the form and then click on a button to see what the foreign keys contain values that it has already entered disappeared. But I want the values that he went in to stay in shape after he pressed the button. is there an easy way to do this? the only thing I could imagine is to create a variable for each form field, save current in variable values before the page is sent and write the values of the variables in the form when the page reloads. but it seems kind of the beast... I must do this for each page of this kind (which are many). so is there a better way?

    thx a lot :)

    I think you're talking about the region 'filter' on the left side as 'form '.

    Try this... Open the setting page , click on the item to change (to that values stay after submit), goto SOURCE region, here the source value * "only when the current value in session state is null" * this will fix the problem.

    See you soon,.
    Hari

  • Impossible to get windows update or microsoft update to work after the factory restore

    I just restored my computer laptop runnung xp sp2 to factory settings and now I cannont get windows update to function (0x8024400A error code) and I can not update microsoft to work (error code 0 x 80240036).  I can access the internet, navigate, dl files etc. just can't get windows updates.  I disabled the firewall and antivirus still cannot operate.  Tried to fix it, SP3, but must for this and I can't seem to install manually.  Any help would be appreciated.  Thank you

    Okay, roll up your sleeves! :-)

    (For best results, download all the Setup files below before you restore your computer to its factory settings. Files can be downloaded or copied to a USB flash drive).

    Preliminary work:

    Download the installation files (only if necessary!) SP2, SP3, IE8 and Avira Antivirus (beforehand). I prefer to keep these (and other useful files) on a USB key, but this is optional. Here are the links to all the installation of four files:

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=28 (for SP2) (Note: you don't need to install SP2 if your home is already SP2 or SP1 even.)

    http://www.Microsoft.com/download/en/details.aspx?ID=24 (for SP3)

    (You can TOTALLY ignore the message "intended for it professionals"!)

    http://www.Microsoft.com/download/en/details.aspx?displaylang=en&ID=43 (for IE8)

    http://www.Avira.com/en/Avira-Free-Antivirus (for FREE of Avira version)

    1. physically disconnect from the Internet. Also unplug all unnecessary devices!

    2. turn your PC to its factory settings.

    3. remove the PC-Cillin was COMPLETELY (see above).

    4. temporarily disable the automatic updates. To do this:

    Start | Control Panel (switch to Classic view if not already selected). Automatic updates

    Select "Turn off automatic updates" and click OK.

    5 install SP2 (only if necessary!). Restart TWICE.

    6. install the SP3. Restart TWICE.

    6 switch to IE8. Restart TWICE.

    8. install anti-virus software.

    (What happens very often is that someone has their software antivirus running as they try to install SP3, which often translates into chaos! "This is why it must be done after installing SP3 and IE).

    9 make sure that firewall Windows is activated (it should already be):

    Start | Control Panel | Security Center

    (Now you can physically reconnect to the Internet. Update Antivirus program.)

    10 visit Windows Update to download and install only the critical security updates. Restart each time you are prompted.

    11. reactivate the automatic updates.

  • Can I update several forms with the drop-even at the same time

    I have 20 + forms that have a menu drop-down together.  Each shape has between 1 and 15 cases of this drop-down list.  The values in the drop-down list are updated on a frequent basis.

    Currently I have an identical JavaScript Document named "UpdateDropdowns" in each shape.

    function update_dropdowns()

    {

    aList var = [' ', 'A', 'B', 'C' "];

    Add any other choice dropdown in the var aList in the specified format
    getField("TradeNameDropdown1").setItems (aList);

    getField("TradeNameDropdown2").setItems (aList);

    Add any other drop down menus added to the form in the specified format

        // Open Log Console (Ctrl-J), enter update_dropdowns()  (Ctrl-Enter)

    }

    There are more than 30 choices in my current iteration of unelistede var, but for brevity, I have listed only the 3 examples to illustrate my JavaScript.

    Currently when I update the drop-down list, I followed these steps

    1. Open form
    2. Open the Document UpdateDropdowns JavaScript
    3. Add the additional values
    4. Select and copy the var aList update
    5. Close the JavaScript Document
    6. Update the form in the Console log
    7. Repeat for all forms (collage in the new aList var to ensure compliance)

    Is it possible to update all my forms at the same time without having to go through this process of form with form?

    Well done, you must create a new Action (under Tools - Wizard of the Action), add to that a command run JavaScript with your code (no need to function definition, just the code itself), and then add a Save command, and then run it on your files and finished...

  • Deleting parent symbol after the removal of child symbol throws "Eception TypeError: cannot read property 'id', null"in 20141.

    If a symbol of the child is removed first, and then the parent, he throws the error «Eception TypeError: cannot read property 'id', null'.»» Its also strange that the registration of all symbols of the child on the stage he lists as the grandchildren. These codes worked perfectly with previous versions, but not with 20141.

    The code used to print all the symbols of the scene:

    var chldns = sym.getComposition () .getStage () .getChildSymbols ();

    for (i = 0; i < chldns.length; i ++) {}

    Console.log ("-->" + chldns [i] .name);

    }

    Can someone tell me if this is a bug or there at - it another way to do this?

    Thank you.

    There is a bug in 20141. We have fixed this problem and the fix will be available soon in the next update. I think the problem that is described in this post ( removal of nested symbols problem ) is similar.

  • Refresh of Page partial update of form before the data control returns the new value

    Hello

    I have a set of paintings of master detail based on a single data source (Session Bean encapsulating a web service call). The high-level table (t1) shows data of opportunity, as the low level (t2) poster contacts for a special occasion. When the opportunity is selected in t1, the contacts associated with this opportunity appear in t2. These tables of work as you wish.

    I have a read only form (form of the Panel layout) based on a different data control (supported by a Session Bean that calls a LinkedIn API and a table of database using EJB3 entities). LinkedIn Session Bean method takes a parameter which I get from the current row in t2. (#{bindings.relatedContact.currentRow.dataProvider.id}) I put the PartialTriggers as 't2' on the form.

    When the page is loaded for the first time, the first line (line A) from table t2 is selected and the display shows the data associated with this line. If I select another line (line B), the Session Bean is called with the value of the id of the newly selected row, but the display will show the associated data from line A. Thereafter, whenever I select a row in t2, bean is called with the new value, but the form displays the data from the selected line previously.

    I guess what happens is that the form is refreshed (using stale data in the data control), and then the call to the session bean is made. I checked using thread and print statements. Sleep() in the bean.

    Is this a correct behavior and how can I make sure that the call to the bean occurs before the form is updated?

    I use JDeveloper version 11.1.2.2.0

    Thank you
    Michael

    Hello

    as answered on StackOverflow, the trick is to set the refresh option on the iterator (s) to the second access WS (table 2) of PageDef on ifNeeded. The default setting is delayed, which in your case is not optimal because refresh occurs during rendering response, which is too late for the access of WS. Try "ifNeeded.

    Frank

  • How to clear the form after the error

    Hi friends

    Use oracle 10 g forms in windows xp sp2, I'm doing a form accepting the user input to the editor only for practice because it is a first time I use the editor and all that just for the test and I need your help. to display the editor when the press operator in the text element, that I use (integrated Show_Editor) then the value entered in the editor will display in the text element, and there is a problem of query by this value. so far it's very well.

    If the operator to enter a wrong value the request that I made the alert for this message and I pulled the trigger of the error alert, but after the user press the button in the alert in the event of failure message incorrect value even in the text element.


    This is the first screen, now I insist in the EMP is
    http://i48.Tinypic.com/28us1l4.jpg

    It is the second screen. Here, you need to clear the message and enter a valid value, but assume that you enter
    an invalid value.
    http://i46.Tinypic.com/29pup07.jpg

    you get this message if you have entered an invalid value
    http://i50.Tinypic.com/2wg6gj6.jpg

    After, I press (OK) in the alert message. How can I delete an incorrect value in the text element
    I tried the clear_form in the trigger for the error, but I get the error
    http://i50.Tinypic.com/1znue1l.jpg

    Please show me how I can delete the text without error element

    any help or advice, that I enjoyed

    Thank you

    Hello

    Just use the following to clear the value of a text element:

     :block_name.field_name := NULL; 
    

    I hope this helps.

    Best regards

    Arif Khadas

  • Clear the contents of a form after the presentation

    Hello, all. I apologize for this question as "stupid", but I have been away from coding for a while and just can't find a sample of my earlier work on how to solve this problem.

    I just build a form that works well, but I want to erase the content when a visitor submits so the next visitor will see a nice empty shape. I put a 'Clear form' button with the button 'Submit' on the page, but I'm worried about the privacy of the visitor and want their information deleted when they hit 'Submit' and send me their information in an e-mail message.

    I remember a piece of code you put in another < body > or < do > tag vaguely and I've tried several things, I found in the old files, but nothing works.

    Thanks in advance to put me on the right track.

    I know what you mean.
    What some presses the back button, their browser displays the form page with
    the details that they always informed here.

    This is a form that a user will submit several times?
    As a form of data entry for a single user to use again and again?

    so simple fix, put a "reset" button at the top of the form for them to use
    to manually delete data.

    other corrections would be with JavaScript to clear all form fields onload
    perhaps.
    http://www.Google.com/search?hl=en&ie=ISO-8859-1&q=JavaScript+clear+all+form
    + fields

    or that the form of the page a cfm page and the browser is probably not hiding the
    form field content.

    --
    Alan
    Adobe Community Expert, dreamweaver

    http://www.Adobe.com/communities/experts/

  • Windows 7 Pro update is not after the new installation

    I know that this question is asked many times, but I tried pretty much everything that is suggested and nothing seems to work, some worked for others, but they have not worked for me.

    I have replaced a failed hard drive on a Lenovo X 200 an old laptop that I was giving away he a son of friends who needed just for the College.

    I stuck in an SSD and saw genuine window 7 Pro licenses as was previously on Vista, I made a new installation as I've done a hundred times before, and then as always update windows first, but I'm just update Windows scroll bar I left it all night nothing happened.

    I tried using the Microsoft Easy Fix times nothing.

    I tried Windows Update Agent still nothing.

    I tried a suggestion here that seemed to have worked for others install (KB3102810) I did as stated on this occasion, he worked told him there are 225 updates and 18 in option more, I jumped in option one it seemed to work very well it installed just 13 with the lack of rest I restarted as requested but recede in windows it says Windows is up to date, that was impossible.

    I clicked on update again and it does what it was originally just to get the scroll bar that I left for hours and nothing, this is seriously my head in, I think that Microsoft is not going like it the impression that I'm being bullied by installing Win 10 and the person wants to win 10 , because they prefer to Win 7.

    Please could someone help me on this pickle was on this thing now for almost 2 days of installation then put in solid form and re install all to nothing does not.

    I would seriously some knowledge on it.

    Concerning

    It was pointed out Alan

    Ken Morely has the solution.   Follow precisely...

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-update/following-a-clean-install-Windows-Update-remains/ff3c442e-79a6-40d3-AC35-29e130cebef1

    I've used several times, as many others have, and it does not have the problem you describe.

    Install all that it offers to the exception updates Windows that are not labeled security and are dated after 2014.  The reason is that all those who since have no value to your system and prepare your system to accept Win10 and provide information to Microsoft.

Maybe you are looking for