Apex modal Plugin after event Close

Hey,.

I have some problems with the modal Plugin from Skillbuilders. I am trying to open an another modal popup, after the closure of the first! I tried to fire a new event in the modal-manual-closing event, but the new modal popup is never shown! It would be closed as well as the first popup.

Is there an 'after' event, or can I delegate the event to the document main is executet after closing the first popup?

Thanks for your help!

Andreas

Maybe instead of close the first window, you could use a branch to this page?

On your calling page (your main document), you can listen for the close event trigger another action. In the list of trigger actions are a few events of this plugin.

If you put actions on the page that is called modal form, they will be lost when the modal closes.

Greg

[email protected]

Tags: Database

Similar Questions

  • APEX 5.0 after you close a modal dialog box, I want to introduce the parent page, without losing session values

    I have a parent page that triggers a modal dialog box in APEX 5.0. When the user confirms in the dialog box, it closes the dialog box by using the process of dialogue.

    In the parent page, if I do not have a dynamic action "Dialog box closed", the user returned to page with the values, they recently came again here. If I add a closed action dialog box to send the page, the values are lost - it's as if the page refreshes before submitting. Someone knows how to solve this problem.

    Thank you.

    user3282753 wrote:

    Please update your forum profile with a recognizable username instead of "user3282753": Video tutorial how to change username available

    Also, is it possible to display the success message from the Page of the dialog box without updating the parent page.

    See Roels Blog: display a success message after you close a modal dialog box

  • APEX notification plugin logout/session time-out bug

    In one of my applications, I created a dynamic action on page 0 which fires the apex notification plugin after modal 'autoclose' event of the Skillbuilder plugin page.

    The bug is that whenever the dynamic action for notification plugin is triggered, I'm connected on the generator of the APEX.

    This bug occurs on the apex.oracle.com as well as my local instance of the APEX.

    I have reproduced this bug on apex.oracle.com.

    Workspace: OPENWORKSPACE

    username: developer
    password: Password_123

    Go to "Page 1" and click on create to open the modal window, then add an entry to trigger the event autoclose and notification plugin.

    Concerning

    Anoush

    Anoush salvation,

    you use the most recent version of the plugin (version 1.3) notification? Because nearly two years ago, we have fixed this bug. Since the release notes

    v1.3 (November 24, 2011)

    -) Fixed the problem with the CSS files that caused the underlying Application Express session to be invalidated

    I think that covers your problem. Simply download and update the plugin and you should be good.

    concerning

    Patrick

  • Apex 4 plugin users with points event names in their

    Hello

    I am using the DHTML dialog box plug that has 2 user defined events:

    Open - dhtmldialog.open
    Close - dhtmldialog.close

    The problem that I've been seen who was dynamic actions assigned to a single event was triggered by these events (i.e. when the open dialog box one DA based on the close event triggered.)

    The generated code is this:
    {"triggeringElement":"#ModalWindow",
      "triggeringElementType":"JQUERY_SELECTOR",
      "bindType":"live",
      "bindEventType":"dhtmldialog.close.COM_ANKERPOORT_APEX_DHTML_DIALOG",
      actionList:[{"eventResult":true,"executeOnPageInit":false,"stopExecutionOnError":true,
                      "affectedRegionId":"R8025602360818692",
                        javascriptFunction:function (){ window.location.reload(true);},
                          "action":"NATIVE_JAVASCRIPT_CODE"}]},
    The DA has be triggered by the dhtmldialog.open.COM_ANKERPOORT_APEX_DHTML_DIALOGevent.

    After changing event names internal to dhtmldialog_open and dhtmldialog_close (replacing). by a _ the problem stopped.

    This means that only the first part of the name of the event (before the first dot) is taken into account to trigger the associated DAs? Is this a problem Apex or jQuery?

    Thank you
    Luis

    Hi Luis,.

    I can't test it now (I'm at the airport in London), but I guess that's a restriction of jQuery. jQuery uses the point to identify the namespace of an event. So everything that follows the first point is considered to be the name of the event space. Namespaces make it easy when the dissociation (all) the events that have been linked for a namespace. APEX namespaces automatically all events personalized to a plugin with the plugin internal name (replacing points with an underscore).

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • 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

  • Close a modal modal Plugin page of the Skillbuilders

    So I have everything works except closing the modal page. I think it's a matter of topic, but I'm not sure where to look for the right tag/solution. Modal page works, supports the values (to write to load/create/save custom process), but it does what it should. I have the direction of the page from 99 (my page close modal Page) and that works. What does not work is the dynamic Action close modal Page. In the tutorial, you had to find the section in the page with the success message and enter the label of the division. I use the Blue Classic theme (13) and it seems to be the same div #success - message that should work. Modal page after you save the new value, I don't see a message. As I had to create processes customized to load/save the values in the table, is there somewhere that I also customized record a success message?

    Hi Blarman74,

    Your success message is identified by a class rather than an ID hash Tags are used to select by ID. For classes, you use a point. The correct selector would be div.t13SuccessMessage

    Kind regards
    Dan

    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • Unable to implemnet window modal plugin in apex 4.2 in hosted environment

    First, I installed the plugin by running the script.
    dynamic_action_plugin_com_skillbuilders_modal_page

    I have not copied the source file or the server... that available in plugin files...


    While I press my quote it touches donot display
    The modal window... It shows a small window but it is empty

    for example can be found here...
    dynamic_action_plugin_com_skillbuilders_modal_page

    [http://apex.oracle.com/pls/apex/f?p=39296:1:10086578209994:]


    If someone can guide. . What I need to copy these files to the location mentioned...
    (He is mentioned as an option in the documentation)...
    If yes how can I copy because I did not access ftp apex in the hosted environment

    Thank you

    Published by: susf on November 28, 2012 12:40 AM

    Hi Susf,

    you don't need to copy the files, but you can do it for performance reasons (so they can be cached) or if you want to customize, in that case you must set the location of the plugin in the modal plugin configuration.

    If I check your link I see an error in the browser console that says: "refused to see the document as display prohibited by X-Frame-Options.»

    I had this error several times and it was because in 4.2, you need to activate (I don't think it's the default""embed images "under" Application Definition"-'Security', set 'Allow' or 'Allow same origin')

    Concerning
    Bottom

  • Error opening the page of modal (plugin skillbuilder) during the loading of the page

    Hi all

    I use 4.2.1. (on 11 GR 2), theme 25.
    SkillBuilder Modal plugin v2 page

    Modal pages are working on all sorts of events, great, but if I try to open the other via a D.A. on loading the page, it fails with ' Eception TypeError: loading of the object has no method 'stopImmediatePropagation""error (in the browser console). "
    < edit >
    just found out that this error is caused by the "cancel event' DA action that should be fired after the modal dialog box open. If I omit this event Cancel modal page is not loaded, but also no error appears.
    < / Change >

    Any ideas on how to solve this problem? In the end, I just want to open a modal window after loading the page depending on the value of an item set when loading the page (the branch sets an element value to indicate that the modal window must be open).


    Concerning
    Bottom

    Published by: bottom of Klerk on 2013-apr-11 07:43

    Bottom,

    The modal shows do not charge is actually quite simple. Look at the generated code for the dynamic action and note in particular the code "javascriptFunction":

    {"name":"modal on load","bindEventType":"ready",actionList:[{"eventResult":true,"executeOnPageInit":false,"stopExecutionOnError":true,javascriptFunction:function(){
       if (this.browserEvent !== 'load'){
          apex.jQuery(document).apex_modal_page('openPageFromApexThis', this);
       }
    },"attribute02":"STATIC","attribute03":"f?p=54687:38:115741808752478:::38:::","attribute05":"data-url","attribute06":"div#success-message","attribute07":"AUTO","action":"PLUGIN_COM_SKILLBUILDERS_MODAL_PAGE"}]}];
    

    You can see that there is an explicit for the browserEvent criterion, and it must be different from "load."

    Of course, when you create a dynamic action with type "Page load", the browserevent will be "load", so no popup and no errors. Running a page in debug and research in the javascript console, you can also click through events fired, for example, I have this in the console:

    Dynamic Action Fired: modal on load (PLUGIN_COM_SKILLBUILDERS_MODAL_PAGE) Object { triggeringElement=document, affectedElements=[1], action={...}, more...}
    

    Firebug allows me to click on the object and display its properties. One of them is the "browserEvent" and set to "load".
    This prevents also the modal open when you actually set the real action of pull on the loading of the page.

    I tested a bit after commenting on prevention onload, and while I'm sure there are reasons why it was built in like that, I have immediate problems. The modal open during loading and anything funky happens, not even when you navigate around in the iframe.
    This does not however only if you want the modal to react on the loading of the page that your only option is to change the the plugin plsql code. I would say: test it enough!

    Go to the plugin, change it. Under Source > Code PLSQL find this:

       l_result.javascript_function :=
          'function(){' || l_crlf ||
          '   if (this.browserEvent !== ''load''){' || l_crlf ||
          '      apex.jQuery(document).apex_modal_page(''openPageFromApexThis'', this);' || l_crlf ||
          '   }' || l_crlf ||
          '}';
    

    and change it to this:

       l_result.javascript_function :=
          'function(){' || l_crlf ||
          --'   if (this.browserEvent !== ''load''){' || l_crlf ||
          '      apex.jQuery(document).apex_modal_page(''openPageFromApexThis'', this);' || l_crlf ||
          --'   }' || l_crlf ||
          '}';
    

    As you can see, I only commented those 2 lines, but it should allow the modal to open the loading of the page. I hope this helps you forward a bit.

  • Another crucial issue with skillbuilder window contextual modal plugin 2.0

    All,
    For those who have used this great skillbuilder modal plugin 2.0 page. I need help with a critical problem, with that I have an IR links on the ID field for each line, so I click on the link for modal popup form where I can edit and save the changes the whole works and records are updated on the parent page (Report), but the question is you can not click again on the edit/popup link to the form page new you MUST first click the button of the browser refresh/reload to work again. What could be the problem here? pls any suggestion.

    I tried IE8 & FF5.03 & 3.6.28 and on another computer IE ver.

    Apex 4.1.1/Oracle 11 GR 2

    Gor_Mahia wrote:
    OK, I got what you mean but its an option for ver1.0 not version 2.0 of the same plug-ins... Thank you.

    Well, there is an option under the Apex for dynamic actions. 4.2 of the Apex, the "Scope of the event" options are static, dynamic and only once.
    In your case, you can set it to live.

  • Skillbuilders modal plugin

    Hello!

    I'm trying to trigger the Notification plugin on autoclose Skillbuilders modal plugin. This works. But I it would only trigger when the success message is "successful Insertion!

    I made a dynamic action, event is Auto Close and action is Notification plugin. And here I would put in condition to shoot only when the success message is equal to something.

    Success message is waiting for
    <div id="MESSAGE" class="t16success">
    What should I put in condition?

    Thank you!

    -Very well, use

    this.data && this.data.$modalPageCloseObject.length!=0 && (this.data.$modalPageCloseObject.text()=="Action Processed.")
    

    "this.data. $modalPageCloseObject" is an array. It contains all items matching the given selector. This will probably always 1 element. I changed the test on the aswell of object to check its length, and not its existence.

    "(this.data. $modalPageCloseObject.text ()" does not have the "search for" because the object is already as a div. ")"

    ...

    and performing

    $("#messagge").find("div") 
    

    now he would return an empty array aswell.
    If. find() can be moved and just use the text object.

    If there is ever more objects in the table, you can restrict to, say, the first element using the. on the CloseObject eq().

  • Call skillbuilder tabular form modal plugin

    Hello

    I have a tabular presentation, which I try to call the modal skillbuilders one of the columns page.

    The field I want to use to pass the modal page ID can be null, so I put a bit of functionality in the display only the link, if the ID is filled.

    I used the modal plugin before, but don't ever use this kind of functionality (from link on status of tabular form) as I have always previously used a button and assigned the id.

    Can someone advise how to assign the field WIP_TRACKING ID please that I can use to go to modal page?

    The tables SQL code is below:

    SELECT
    COMMENT_ID,
    COMMENT_ID COMMENT_ID_DISPLAY,
    APPLY_COMMENT_TIMING,
    CUSTOMER_NUMBER,
    ITEM_NUMBER,
    SAP_NSC_NAME,
    SAP_CUSTOMER,
    SET_STOP_INFLATING_ODR_SSD,
    COMMENT_TEXT,
    DISABLED_FLAG,
    CASE
      WHEN NVL(APPLY_COMMENT_TIMING,-1) =3
      THEN
      '<a href="'
      || 'f?p=&APP_ID.:2:&SESSION.::&DEBUG.::'
      || 'P2_COMMENT_ID:'
      || COMMENT_ID
      || '">'
      || '<img src="#IMAGE_PREFIX#edit_big.gif" alt="">'
      || '</a>'
      ELSE 'Not Tracked'
      END WIP_Tracking
    FROM #OWNER#.XXMEL_CPE_COMMENTS
    
    

    Cashy,

    You didn't say if your Apex 4 or 5. So better idea is now under the HTML code, or add custom attributes id = "".

    Laurent

  • Skillbuilders modal plugin page

    Hello!

    It is possible to implement modal inside a modal? I use Skillbuilders modal plugin 2.0, APEX 4.0.2 page. Version.
    If it is, can someone explain how in short notes...
    I have a modal form, which would have a button set to open another form in modal, transmitting values y and submit, and then return to the modal parent. I tried to implement and it does not work

    Moreover, I use APEX 4.2 at home, and the plugin works fine on all of the themes I've tried. But now, on the other computer, I use 4.0.2 APEX and with Theme 16, I have some problems with the size. For example, the width of the shape is great. I tried everything... Also tried a fixed size of modal. Looks good, but the problem is when the error message so it is not resized automatically and you cannot see all the content. Maybe someone has the solution for this... I'll put it online when I get.

    Thank you!

    Dark salvation,

    It is not possible at present, but it is on the list of improvements. If all goes well, it won't be too difficult.

    About older versions of the APEX, I also had these issues. There is an older version of the plug-in, use jQuery dialog on Colorbox, that works better. If you email me directly I will send a copy of the old version.

    Kind regards
    Dan

    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • Help with the Skillbuilders modal Plugin

    I hope that someone who has used the Skillbuilders modal plugin Page can help me. I watched the tutorial by Dan McGhan, but it is built for 4.0 and 4.1, I use so I can't use exactly the same steps to bind a button to the dialog box modal page.

    I have used page that shows a recording "header" with the name of the employee, etc. Then, I have 5 + smaller reports for addresses and items from the history. They are currently building as a form on a Table with the report, but I would like to change the modal pages. I have re-assigned the "create button" to point to a dynamic action, and I created the dynamic action to point to the page of the form. The modal dialog box opens and becomes just blocked on the icon 'Loading' - never really loading the page.

    I don't know how to solve this. Can someone help me?

    Hi blarman74,

    Please see the following:
    http://www.danielmcghan.us/2011/08/new-browser-security-attributes-in-apex.html

    Kind regards
    Dan

    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • After I close my browser IE 9 and return to the office, my office programs are not available.

    After I close my browser IE 9 and return to the office, my office programs are not available. I have hover over a program and click, nothing happens for a few minutes... On the other hand, the taskbar and toolbar are all functioning normally. No other problems seem to be present.

    Thank you.

    Original title: freezing of funds

    Hello Manu,

    Thanks for the guidelines to help me solve my problem. Just to tell you that no, I have no error messages when I tried to access the office programs and Yes, I made a few changes in the pc... in the registry with Glary Utilities. That was my main concern.

    However, I tried the AUDITOR of FILE SYSTEM (CFS) and it fixed some problems.

    I also watched method 2 and did a performance using MICROSOFT FIX patch and ran that the Microsoft SECURITY SCANNER both have not reported any problems.

    Also tried method 1, no problem in safe MODE. I didn't think it was a third party program... so I decided to do a restore to an earlier date... then the problem seems to have disappeared.

    Start the pc also seems to be much faster.

    Thanks for the suggestions... I'll keep them as reference just in case...

  • APEX 5.0 Bug: apex.server.plugin pOptions is not defined

    When you call apex.server.plugin with just the identifier of the AJAX (i.e. no pData or pOptions) the following error occurs:

    TypeError: pOptions is undefined


    What happens in server.js on line 429...


    if ( pOptions.queue ) {


    As the docs says that pOptions is optional https://docs.Oracle.com/CD/E59726_01/doc.50/e39149/javascript_api.htm#AEAPI29511 , I think it is a bug.


    When passing to a JSON null pOptions, traverse AJAX request object (confirmed this via the logging on the server), however, there is an error on the page via an alert message. Example:


    apex.server.plugin(
      myAjaxIdentifier,
      {
        x01: 'test'
      },
      {}
    );
    


    The following error message is displayed in an alert message: error: parsererror - SyntaxError: JSON.parse: unexpected end of data to column 1 of line 1 of the JSON data

    Hi Martin,

    Thanks to and for reporting this bug. I entered a bug and we will try to fix it in a version of the patch. For now, labour is about to pass an empty object to pOptions. Regarding the error you get when you do this, take a look at the answer. It cannot be valid JSON. If the response data are not JSON or there is no response data (204 no content) then you will need to use pOptions to specify the response format using the dataType pOption property. See the jQuery for this doc.

    When I tried passing an empty object I don't have the parsererror.

    Thank you

    -John

Maybe you are looking for

  • E-mail to PDF files

    Whenever I get a PDF attachment in an email on my iPad, it opens automatically in electronic mail instead of in Adobe Acrobat.  How can I stop this from happening?  I need to print an attachment that I received, not my whole email.

  • How can I change the color of the sidebar on my mac

    I wish I had a black background on the area where the list my favorites, reading and shared links. I think its called the sidebar. I thought I saw someone with a black background. I think that I also had a black background but do not know what is hap

  • Microsoft Digital Image Suite

    I am successfully using Microsoft Digital Image Pro 10 with Vista. I used this for many years and do not want to give it up, but maybe need to buy the new computer. Is there a there editing program that compares in quality and ease of use that works

  • How to strengthen the signal?

    I had a few buildings around my house wireless signals, most of them is low, I would like to know how to enhance signals so that I can access in my room

  • SL500 XP mode standby / Hibernation does not

    I did a clean install of Windows XP and installed the drivers. Mainly the power management driver. But the standby and hibernation does not always work. I don't have even as options in windows. I have another installation of XP has been transferred f