How to trigger DA when the user clicks a button close the standard window

Hello!

Apex 5.0 & universal theme.

I want to trigger some DA when the user clicks on the button indicated to my image (button close the standard window). In fact, I would like to pass a value of my hidden form IR back and refresh IR if value = 1 or don't refresh with another value.

Is this possible?

Thank you.

close_form.png

Hi Yava,

Seems that you have chosen to add the event handler to the page parent (the one with the IR). I think it's best. This means that the code above does not apply.

The dialogclose event and all other dialogue jQuery UI events are triggered in the dialog box to create a DA pull on the IR will not work (because the dialog box is outside the IRR while she bubbles it won't go through the SORTING). You must handle the event on the body. This works because the event propagates to the body. Set the Type to choose to be "jQuery Selector". JQuery Selector enter 'body' (without the quotes). The event you want to handle is a custom, event which means that this isn't one of those in the select list. For event, choose "Custom". Then enter Custom Event "dialogclose" (without the quotes). Now you have a DA who fires when * all * dialog closes. You may or may not need to get more selective than that. For action, you can use refresh as you do already.

Kind regards

-John

Tags: Database

Similar Questions

  • How can I change several movieClips properties when a user clicks a button?

    It sounds like something I should already know, but I'm working on a UI that I want to be skinable.  I have about 8 different graphic elements and I want to change the appearance of these 8 different movieClips simply by clicking a single button.  I thought that I simply create a new keyframe in my main timeline and then manipulate the clips but that changed the appearance of the clip on frame 1 as well.  Details: I want to change the color of my UI background and I want to change the color of some clickable images as well.  I want to frame 1 to have a white background and frame 2 to have a red background.  What I do need to create several video clips and drag them on my stage or can I just use the existing since movieClips all I really want to change the colors?

    Thank you.

    If you want the ide to create new movieclips or new frameworks in old movieclilps, then do it.  My guess is that you will find it easier to add new images to your movieclips to add new clips.

  • TabNavigator - how to change what happens when a user clicks a tab

    I use a TabNavigator in my Flex application and I wish I could change what happens when a user clicks on a tab on the TabNavigator. I'd like to be able to manage the click on the tab myself and prevent Flex parade is the default actions. Someone has an idea how to do this? Any help would be appreciated!

    Mike

    I think you need to add an event listener for the TabNavigator to 'change' event

    In this case, you have access to the old tab and the new index of tab. If there is a problem, I think you can just reset the tab on the old index or whatever it is you do.

  • Captivate 9 - trying to switch between the States of an object when a user clicks on this object?

    Try to switch between the States of an object when a user clicks on this object? I have successfully used the function of the State of the object to change the object to a different State, but I need it back to its Normal state when it is selected again in the State has changed and then continue to turn every State when you click on it. It is an interaction of flashcard. I can do this using several objects and hide/show, but I would do it with States and unique objects.

    You're talking about custom or InBuilt States. What kind of action do you use: a simple or advanced/shared action?  If you simply switch between two States, use the approach I described in this blog post:

    1 share = 5 buttons toggle - Captivate blog

    You will probably need a user variable to track the status, but you can use the shared conditional action described in this blog.

  • Stolen phone. How can I check when the last time saved my phone to my laptop (without my iphone of course)?

    My iPhone was stolen. How can I check when the last time that I backed up my phone to my laptop without my iPhone?

    Click here and either use iTunes to check or browse to the path of the backup manually.

    (142338)

  • I want to have a form of lead pop up when a user clicks on an ad on Facebook, Google, etc, but not when a user organically finds my site. I have to create a whole new separate landing page?

    I want to have a form of lead pop up when a user clicks on an ad on Facebook, Google, etc, but not when a user organically finds my site. I have to create a whole new separate landing page?

    "Great sites" with additional technologies can easily intercept incoming requests to a certain page, with all sorts of additional information in the URL (from the related announcement, like this: http://typekit.com/fonts?locale=nl-NL&ref=globalnav&promoid=KRUVR ) and whisk a popup, refer to a different page or activate another script or process of deciding what must happen. But Muse creates a 'static' website with the URL of the page simple, without special scripts or ruffles or processes to decode an additional URL to a query.

    Creating a page of special destination somewhere elsewhere in the Web site to refer to, may be the simplest solution.

  • How to print photos when the display screen is white? The image is missing in it.

    How to print photos when the display screen is blank?  It shows only a white screen empty when I select the photo and press on print.

    You click on a film image in the print module? And, I guess you don't have to go to the Print module, right?  Additionally, make sure that you have chosen to make a custom package.  If you chose the custom package you need to drag and drop images and organize them.

  • How will I know when the synchronization is complete?

    Hello
    Is someone can you please tell me how do I know when the synchronization is complete?

    I paired a device (smart phone Samsung) - it worked good 10 minutes, yet on my phone says sync is complete, but any of the bookmarks do not appear on my computer 'main '.

    Hello.

    It is possible to "Synchronize now" in the version of office when you go to tools > synchronize now
    You can check the timestamp of the last synchronization status in the topic: config page one and find the last sync, and there will be a timestamp it. Firefox Sync troubleshooting and tips for more information.

  • How will I know when the capsules are on?

    Original title: caps Inspiron 1545?

    How will I know when the capsules are on?

    Hey, Vince,.

    Caps lock key are you referring?

    If you look above the keyboard on the right, you will see two fires instead of one.

    In addition, you will type in uppercase when the key is turned on

  • When I right click Start button select Explorer, I can decide what folder is open other than the start menu?

    When I right click Start button select Explorer, I can decide what folder is open other than the start menu and dozens of file extensions?

    Can we just my computer with the list of drives?

    thanx

    Hello

    I suggest you to follow these steps and check if that helps:

    a. right click on the Windows Explorer icon

    b. in the menu that appears, click Properties.

    c. in the target box, add the command line switch ' / root ' to the "% SystemRoot%\Explorer.exe" command, using the startup location that you want.

    d. for example, if you want Explorer of Windows to start at the root of drive C, edit the command as follows:
    % SystemRoot%\explorer.exe/root, C:\

    It will be useful.

  • How can I detect when the last container in my stream is full?

    I have a bunch of related containers which I am flowing text through. How can I detect when the text has filled a container? There's an overflowPolicy then I guess it can be detected.

    Hello

    I used this:

    private function IsOverset(textFlow:TextFlow):Boolean

    {

    var zeComposer:IFlowComposer = textFlow.flowComposer;

    var iTextLen:int = textFlow.textLength;

    var iNoController:int = zeComposer.findControllerIndexAtPosition (iTextLen - 1);

    return (iNoController is-1);

    }

    HTH,

    J.

  • How to select files in the Explorer window

    Hello, I need a little help. I have a request, and when a user clicks on a button, I wish he can navigate its hard disk through windows Explorer and select an image... Ho can I do?

    Thx for the help

    Max

    Hi Maximist,

    You can use the FileReference class to achieve this.

    var fileRef:FileReference = new FileReference();

    fileRef.browse ();

    Thank you

    Jean Claude

  • When I double click on a folder, a search window opens automatically.

    When I double click on a folder, a search window opens automatically instead of the usual view of Windows Explorer that displays the contents of the folder.  I must in order to display the contents of the folder, right click and select open, then I can see the contents of the folder.  What setting do I change to stop the search engine to open and have the regular Windows Explorer mode appear?  Oh, when I right click in the folder, the search option is bold, but the open option is regular.

    Doug Knox fix - http://www.dougknox.com/xp/scripts_desc/xp_folder_open.htm
    Search Companion starts if you double-click a folder or computer drive - http://windowsxp.mvps.org/searchwindow.htm MS - MVP - Elephant Boy - Don ' t Panic!

  • Personal bar does not show the links when the firefox window is maximized

    When the FF window is maximized, I do not see the additional folders and links that are not displayed (the double chevron does not show anything).

    This has happened

    Each time Firefox opened

    Hello

    Your solution works well.

    It's the Hypercam toolbar that creates this bug.

    Thank you very much

    I don't know if I should mark this topic as resolved, or or to do...

  • How to know all of the standard reports available under EBS R12

    Hi all

    How to know all of the standard reports available under EBS R12?

    Is there a SQL seeking standardized reports (finance, HR, OM.. etc) available under EBS R12?

    If you have advice or a solution, please update your comments freely.


    Kind regards

    Hi all

    I see notes 561585.1 and found the SQL

    Concerning

Maybe you are looking for