Skillbuilder Modal Page needs to execute a process on the parent page

Hi,
I am using apex 4.1 and theme 2. Also I am using the Skillbuilder modal page plugin.
I have a modal page with a textbox and a button. On click of this button i want to pass the textbox value to the parent page and execute a process on the parent page.
I dont want to hardcode the page numbers here as this same popup page will be used in all the pages in the application. It is to capture the comments before submit on each page. Hence it should just pass the values to the page that called this modal window.
Any help greatly appreciated.
Thanks in advance,
DS

Take a look at these:
{thread:id=2420256}
{thread:id=2407235}
Basically: define a dynamic action on your parent page to act on the close event of the modal page. On your modal page, use the close method of the plugin (and possibly provide a return value)
From documentation
Advanced Usage
Methods
Close*
The close method can be used to close the modal dialog programmatically. The method accepts an optional parameter which can be anything. That value can then be >accessed in Dynamic Actions that respond to any of the close events of the plug-in. The syntax to access the value is: this.data.modalPageCloseValue. To access the method >from within the child page, see the third example.
$(document).apex_modal_page('close');
$(document).apex_modal_page('close', someVariable);
parent.$(parent.document).apex_modal_page('close');
Events
Manual Close
The Manual Close event fires when the the modal dialog is closed by either the end user or programmatically by the close method. If the close method was used it’s possible >that an optional value was passed to the close method which is exposed in Dynamic Actions as this.data.modalPageCloseValue.
Close
The Close event fires whenever the modal dialog is closed, whether automatically or manually.

Similar Messages

  • Skillbuilder Modal Page: Popup to close on session time out

    Hi All,
    I implemented skillbuilder modal page plug-in in my application.
    When a session expires, the Popup window remains open and in the same popup window current page gets redirected to login page.
    I want popup window to close so that users can login into the main (parent) window and then open the popup windows again.
    Please give your expert advice on this.
    Thanks and regards,
    Abhishek

    Please help me out in this.

  • Skillbuilder Modal Page Close

    Gurus like Dan McGhan, etal.,
    I am trying to use Skillbuilder's Modal Page to display a report of outstanding requisition when someone wants to create a new requisition. The condition of the modal page is EXISTS (select 'X' from requisition where requester_emp_id = :APPL_req_emp_id. It displays fine. I want the modal page to close and link to the page with the key when the use clicks on the edit icon (which I gave class "edit-click") to view/update an existing requisition or the NEW button (to create a new requisition) on top of the report. How do I do that. I reviewed the documentation and viewed the demo (a few times) and haven't had much success.
    Robert
    http://apexjscss.blogspot.com
    Edited by: sect55 on Aug 3, 2012 7:07 PM

    I made some changes:
    Page 11:
    Your manual close dynamic action:
    You were almost there. You set the value of P11_ID to the returned value, which is good, but not enough. Queries in reports work with the session state, but the value of an item in the document is not session state. You need this item to be submitted to session state.
    <ul>
    <li>I removed all the refreshes. A refresh only works on reports, it does not on items!</li>
    <li>I added a true action which submits the page. Since P11_ID now has a value, it will submit this to the session state. The page reloads, and the row fetch process will fetch the values for your primary key (P11_ID) now. Since the modal has a condition which checks whether P11_ID is empty no modal will popup.</li>
    </ul>
    Page 7:
    Manual close dynamic action. Wrong!
    window.parent.$(window.parent.document).apex_modal_page('close','#ID#');You can't use #ID# in a dynamic action like that. You need to fetch a value from the DOM somewhere, which is why i used the HREF attribute as a makeshift container for this on the column link.
    parent.$(parent.document).apex_modal_page('close', $(this).attr('href'));This will take the ID value stored in href from the triggering element, ie, the elements with .edit-click as a class, ie the column links.
    So i set the column link back to Target: URL, and URL to #ID#
    For the create button:
    you simply close the modal. This would trigger a manual close aswell. In this case the modal just needs to close. However, with my earlier change which submits...
    I changed the dynamic action on P11 for the manual close to just run javascript code:
    var lReturn = this.data.modalPageCloseValue;
    if(lReturn){ //there is a return value
       if(lReturn=='CREATE'){
          //no submits, just close dialog
       }else{
          //an ID is returned. Set P11_ID and submit the page
          $s('P11_ID',  this.data.modalPageCloseValue);
          apex.submit();
    };Due to JS errors in IE8 i can't (at least from here. And there is too much going on, and i hate F12 >:() . See if it works or if you can figure it out from here.

  • Skillbuilder modal page 2.0 causes a javascript error in APEX 4.2

    After installing the Skillbuilder's modal page 2.0 plugin in APEX 4.2, the following javascript error is shown.
    Line: 194
    Error: Object doesn't support this property or method
    Using IE8 debugger the following code seems to be at fault.
    function(){apex.jQuery(document).apex_modal_page({
       "transition":"fade",
       "draggable":true,
       "initialHeight":100,
       "initialWidth":300,
       "overlayOpacity":.5,
       "scrolling":true,
       "loadingImageSrc":""
    (function(){apex.da.initDaEventList();})();
    (function(){apex.da.init();})();
    The modal page work flawlessly in APEX 4.1.
    Any help will be greatly appreciated.
    Thank you,
    Del

    Check your popup page. You probably have an after-processing branch defined which will redirect to your original page. That is not necessarily bad, although i usually set it to redirect to the same page when using a popup. What will probably not work for you is the success message selector. If you defined "#success-message" as the auto-close selector, this means that the plugin will look for an element on the page in the popup for an element which matches this selector.
    - What did you define for auto-close selector
    - And on the page you redirect to after-processing of the form, how is the success message defined there
    If (IF) you have set #success-message as the auto-close selector, and the popup is not closing, then this would mean that the popup message on the page does not match this selector!

  • Pass value from report on skillbuilder modal page

    I am using the skillbuilder modal dialog. I have a report that displays in the modal. I want to pass a value from the report back to the page that called the modal and then close the modal. I have tried several different things, but I have not been successful. Any ideas?

    Not sure if you have completely read the instructions.pdf that comes with the plugin. The "Events" section (Auto Close event) under "Advanced Usage" in the pdf may help you.
    Anyways, I have not tried this solution.

  • Execute 2 processes at the same time same session

    is it possible to execute 2 (or 3, 4 would be better =) store procedures at the same time trough the same session?
    (something like parallelism)
    I need to to that, I don't care too much the result of the execution, some ideas???
    I made a store procedure that makes ping to 400 ip's but is kind of slow, I have one DB trigger to execute it, that is the reason to execute it "trough parallelism".

    MikeWasouski wrote:
    is it possible to execute 2 (or 3, 4 would be better =) store procedures at the same time trough the same session?
    (something like parallelism)
    I need to to that, I don't care too much the result of the execution, some ideas???
    I made a store procedure that makes ping to 400 ip's but is kind of slow, I have one DB trigger to execute it, that is the reason to execute it "trough parallelism".Don't use triggers. Triggers are there to guard the integrity of the data of the table. It is not the best of ideas to make use of triggers to perform other work that's not relevant to that integrity of that row's data - like sending an e-mail or pinging an IP for example.
    Triggers however can trigger work that needs to be done when a row is inserted. The triggers can schedule a DBMS_JOB. This becomes part of the transaction that trigger is subjected to.
    When that transaction is committed, the DBMS_JOB is committed for execution. When the transaction is rolled back, that DBMS_JOB is removed and not executed. Unlike doing the work in the trigger where the work is done (e.g. sending an e-mail) when the transaction can still be rolled back.
    When scheduling a once-off job, you also need to decide how you are going to deal with errors in the job. Bad firing off 400 jobs to ping IPs and your code is broken somewhere (run-time error) and have these 400 job executing (and failing) 16x times each, before clogging up the job queue as broken jobs.

  • How to get status of a sub process from the parent process.

    Hi,
    I want to get the status of a subprocess from the parent process (i.e. success or failure).
    How can I get this.
    Thanks in advance.
    Bye

    have a look at the workflow built-in vars:
    WF_ACTION_ERROR and WF_ACTION_RESULT or WF_CASE_RESULT
    WilfredS

  • Close button on skillbuilder modal page

    All,
    I want to create another button to close my skill builder modal popup page. Ive the default close(X) working well but i want to have another close button at the bottom of the page so one at the top and another at the bottom of the page, i tried different javascript but not working..Any help on this please regards.

    it finally worked.

  • Need to execute Dynamic query for the report

    I was wondering if we can have the option of choosing at runtime from the report builder parameter so that if the end-user selects 'Yes' then the report will run one specific query and if he chooses 'No' then another particular query is invoked. What I mean to say that by choosing between Yes and No at runtime one should have the option of returning query results based on the same table but having different columns selected via the SELECT statement
    means we have two querires on our report & upon the chosen parameter we should execute only one of them ... wht should i do to apply tht ???

    As the previous post noted lexicals are a terrific way to accomplish dynamic queries in Oracle reports.
    Another way you could accomplish this would be to use a UNION, whereas the first select in the UNION represents one user option, then second query represents the second option.
    For example:
    SELECT customer_name name, customer_address address
    FROM customer_table
    WHERE :p_choice = 'Customer Info'
    UNION
    SELECT employee_name name, employee_address address
    FROM employee_table
    WHERE :p_choice = 'Employee Info'If when running the report, the user chooses 'Customer Info' the first query would return results, if the user chose 'Employee Info' then just information from the second query would return information.
    So there are different ways to accomplish what you are looking for, you just need to find which is going to work best for you.
    Hope this helps!

  • Need to increase max process in the init file. Please check and correct me

    Friends,
    We have Oracle9iR2 database in the RHEL AS 3.0 box.
    Sometimes we are getting ORA-00020, means the max process is reached.
    We have planned to increase the max process from 150 to 250 in the init.ora file.
    i think the init.ora will be in /u01/app/oracle/admin/ourdb/pfile/
    correct me if i am wrong......
    Step1: vi init.ora file and change the process from
    processes=150
    to
    processes=250
    while the database is running.
    Step2:shutdown the database and start the database.
    is there only 2 steps or i have to shutdown the db at the beginning itself?
    Or i have to take any precautions. Our server is HP ML-370 with dual processor.
    Thanks
    Sathyguy

    hi sathy
    SQLNET.AUTHENTICATION_SERVICES
    Purpose
    Use the parameter SQLNET.AUTHENTICATION_SERVICES to enable one or more authentication services. If authentication has been installed, it is recommended that this parameter be set to either none or to one of the authentication methods.
    Default
    None
    Values
    Authentication Methods Available with Oracle Net Services:
    none for no authentication methods. A valid username and password can be used to access the database.
    all for all authentication methods
    nts for Windows NT native authentication
    SQL> conn hr as sysdba
    Enter password:
    Connected.
    SQL>--change sqlnet.ora ( authentication setting to 'NONE')
    SQL> conn hr as sysdba
    Enter password:
    ERROR:
    ORA-01031: insufficient privileges
    Warning: You are no longer connected to ORACLE.
    SQL> conn sys as sysdba
    Enter password:
    Connected.
    SQL> show user
    USER is "SYS"
    SQL>
    set processes parameter through two methods
    first.
    SQL> conn sys as sysdba
    Enter password:
    Connected.
    SQL> show parameter spfile
    NAME                                 TYPE        VALUE
    spfile                               string      D:\ORACLE\DB_1\DATABASE\SPFILE
                                                     ORCL.ORA
    SQL> show parameter processes
    NAME                                 TYPE        VALUE
    aq_tm_processes                      integer     0
    db_writer_processes                  integer     1
    gcs_server_processes                 integer     0
    job_queue_processes                  integer     10
    log_archive_max_processes            integer     2
    processes                            integer     150
    SQL> alter system set processes = 175 scope=spfile;
    System altered.
    SQL> show parameter processes
    NAME                                 TYPE        VALUE
    aq_tm_processes                      integer     0
    db_writer_processes                  integer     1
    gcs_server_processes                 integer     0
    job_queue_processes                  integer     10
    log_archive_max_processes            integer     2
    processes                            integer     150
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  171966464 bytes
    Fixed Size                   787988 bytes
    Variable Size             145488364 bytes
    Database Buffers           25165824 bytes
    Redo Buffers                 524288 bytes
    Database mounted.
    Database opened.
    SQL> show parameter spfile
    NAME                                 TYPE        VALUE
    spfile                               string      D:\ORACLE\DB_1\DATABASE\SPFILE
                                                     ORCL.ORA
    SQL> show parameter processes
    NAME                                 TYPE        VALUE
    aq_tm_processes                      integer     0
    db_writer_processes                  integer     1
    gcs_server_processes                 integer     0
    job_queue_processes                  integer     10
    log_archive_max_processes            integer     2
    processes                            integer     175
    SQL>
    second method.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> create pfile from spfile;
    File created.
    SQL> startup pfile=D:\oracle\Db_1\database\initorcl.ora
    ORACLE instance started.
    Total System Global Area  171966464 bytes
    Fixed Size                   787988 bytes
    Variable Size             145488364 bytes
    Database Buffers           25165824 bytes
    Redo Buffers                 524288 bytes
    Database mounted.
    Database opened.
    SQL> show parameter spfile
    NAME                                 TYPE        VALUE
    spfile                               string
    SQL> show parameter processes
    NAME                                 TYPE        VALUE
    aq_tm_processes                      integer     0
    db_writer_processes                  integer     1
    gcs_server_processes                 integer     0
    job_queue_processes                  integer     10
    log_archive_max_processes            integer     2
    processes                            integer     175
    SQL> --- now my database is  start through pfile instead of spfile and i will
    SQL> -- change in pfile again processes parameter 150.
    SQL> show parameter processes
    NAME                                 TYPE        VALUE
    aq_tm_processes                      integer     0
    db_writer_processes                  integer     1
    gcs_server_processes                 integer     0
    job_queue_processes                  integer     10
    log_archive_max_processes            integer     2
    processes                            integer     175
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup pfile=D:\oracle\Db_1\database\initorcl.ora
    ORACLE instance started.
    Total System Global Area  171966464 bytes
    Fixed Size                   787988 bytes
    Variable Size             145488364 bytes
    Database Buffers           25165824 bytes
    Redo Buffers                 524288 bytes
    Database mounted.
    Database opened.
    SQL> show parameter processes
    NAME                                 TYPE        VALUE
    aq_tm_processes                      integer     0
    db_writer_processes                  integer     1
    gcs_server_processes                 integer     0
    job_queue_processes                  integer     10
    log_archive_max_processes            integer     2
    processes                            integer     150
    SQL>
    1. Why can't i just edit the init.ora file to change the processes=250 while the db is running?
    you can edit the init.ora file.
    If i edit the init.ora file by shutting down the db will there any problem
    not problem
    init.ora file is text file you can edit easly
    spfilesid.ora file is binary file you can not edit directly ... if you want to edit spfile file first change in pfile then create spfile from pfile...
    hope this helps
    Taj.

  • Error while opening modal (skillbuilder plugin)  page on page load

    Hi all,
    I'm using 4.2.1. ( on 11GR2 ), theme 25.
    Skillbuilder Modal page plugin v2
    Modal pages are working great, on all kinds of events, but if I try to open one via a D.A. on page load it fails with "Uncaught TypeError: Object load has no method 'stopImmediatePropagation' " error (in the browser console).
    <edit>
    just found that this error is caused by the "cancel event" DA action which should be fired after the open modal dialog action. If I ommit this cancel event the modal page is not loaded but also no error is shown.
    </edit>
    Any ideas on how to fix this? In the end I just want to open a modal window after the page is loaded depending on the value of an item set when loading the page ( the branch sets an item value to indicate that the modal window should be opend ).
    Regards
    Bas
    Edited by: Bas de Klerk on 11-apr-2013 7:43

    Narrowed it down to change in behaviour between APEX 4.1 and APEX 4.2
    Page source for both versions is alsmost similar, besides the different APEX js libraries being loaded, so probably the source of the problem is somehow in there.
    Apex 4.1 generates code below :
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html lang="nl" xmlns="http://www.w3.org/1999/xhtml" xmlns:htmldb="http://htmldb.oracle.com" xmlns:apex="http://apex.oracle.com">
    <head>
      <title>sdfsdfsf</title>
    <link rel="stylesheet" href="/i/css/apex_4_1.min.css" type="text/css" />
    <!--[if IE]><link rel="stylesheet" href="/i/css/apex_ie_4_1.css" type="text/css" /><![endif]-->
    <link rel="stylesheet" href="/i/libraries/jquery-ui/1.8.14/themes/base/jquery-ui.min.css" type="text/css" />
    <script type="text/javascript">var apex_img_dir = "/i/", htmldb_Img_Dir = apex_img_dir;</script><script src="/i/javascript/apex_4_1.min.js" type="text/javascript"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0.css" type="text/css" />
      <!--[if IE]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie.css" type="text/css" /><![endif]-->
      <!--[if IE 6]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie6.css" type="text/css" /><![endif]-->
      <!--[if IE 7]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie7.css" type="text/css" /><![endif]-->
    </head>
    <body >
    <!--[if lte IE 6]><div id="outdated-browser">You are using an outdated web browser. For a list of supported browsers, please reference the Oracle Application Express Installation Guide.</div><![endif]-->
    <form action="wwv_flow.accept" method="post" name="wwv_flow" id="wwvFlowForm">
    <input type="hidden" name="p_flow_id" value="101" id="pFlowId" /><input type="hidden" name="p_flow_step_id" value="3" id="pFlowStepId" /><input type="hidden" name="p_instance" value="3963167387744880" id="pInstance" /><input type="hidden" name="p_page_submission_id" value="1130499891713056" id="pPageSubmissionId" /><input type="hidden" name="p_request" value="" id="pRequest" />
    <div id="header">
      <div id="app-logo"><a href="f?p=101:1:3963167387744880"><span style="font-family:Arial; color:green; font-size:18; white-space:nowrap; font-weight:bold;">SoMStudie v1.06 - Productie</span></a></div>
      <div id="navbar">
        <div class="navbar-entry"><a href="javascript:{if (confirm('Applicatie uitloggen ? Niet opgeslagen wijzigingen gaan verloren !')) redirect('wwv_flow_custom_auth_std.logout?p_this_flow=101&p_next_flow_page_sess=101:1');}" class="navbar-link">Uitloggen</a></div>
        <div class="app-user">Welcome: ADMIN</div>
      </div>
    </div>
    <div id="tabs">
      <div class="frame">
        <div class="bg">
          <div class="tab-holder">
          </div>
        </div>
      </div>
    </div>
    <div id="topbar"></div>
    <div id="messages"></div>
    <div id="body">
      <table class="tbl-body" cellspacing="0" cellpadding="0" border="0" summary="">
        <tbody>
          <tr>
            <td class="tbl-main" width="100%"><div class="rounded-corner-region" id="R9719141085411482" >
      <div class="rc-blue-top"><div class="rc-blue-top-r">
        <div class="rc-title">sdfsdf</div>
        <div class="rc-buttons"></div>
      </div></div>
      <div class="rc-body"><div class="rc-body-r"><div class="rc-content-main"><table id="apex_layout_9719141085411482" border="0" class="formlayout" summary="" role="presentation" datatable=0 ><tr><td nowrap="nowrap" align="right"><label for="P3_X" tabindex="999"><a class="optional-w-help" href="javascript:popupFieldHelp('9719940026416952','3963167387744880')" tabindex="999">X</a></label></td>
    <td  colspan="1" rowspan="1" align="left" valign="middle"><input type="hidden" name="p_arg_names" value="9719940026416952" /><input type="text" id="P3_X" name="p_t01" value="" size="30" maxlength="4000" class="text_field" /></td></tr>
    </table>
    </div></div></div>
      <div class="rc-bottom"><div class="rc-bottom-r"></div></div>
    </div></td>
            <td class="tbl-sidebar"></td>    
          </tr>
        </tbody>
      </table>
    </div><div id="footer"><div class="content">
      <div id="customize"></div> 
    </div></div>
    <input type="hidden" name="p_md5_checksum" value=""  /></form>
    <script type="text/javascript">
    apex.da.initDaEventList = function(){
    apex.da.gEventList = [
    {"triggeringElement":"document","triggeringElementType":"DOM_OBJECT","bindType":"bind","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=101:21:3963167387744880::21:::","attribute05":"data-url","attribute06":"div#success-message","attribute07":"AUTO","action":"PLUGIN_COM_SKILLBUILDERS_MODAL_PAGE"},{"eventResult":true,"executeOnPageInit":false,"stopExecutionOnError":true,javascriptFunction:apex.da.cancelEvent,"action":"NATIVE_CANCEL_EVENT"}]}];
    </script>
    <link rel="stylesheet" href="#PLUGIN_PREFIX#plugins/modal-page/server/TEST.css" type="text/css" />
    <script type="text/javascript" src="wwv_flow_file_mgr.get_file?p_plugin_id=34423998056404065675&p_security_group_id=4874907161072557&p_file_name=jquery.colorbox-min.js"></script>
    <script type="text/javascript" src="wwv_flow_file_mgr.get_file?p_plugin_id=34423998056404065675&p_security_group_id=4874907161072557&p_file_name=apex_modal_page.min.js"></script>
    <script type="text/javascript">
    <!--
    apex.jQuery(document).ready(function(){
    (function(){apex.jQuery(document).apex_modal_page({
       "transition":"none",
       "draggable":true,
       "initialHeight":100,
       "initialWidth":300,
       "overlayOpacity":.5,
       "scrolling":true,
       "loadingImageSrc":""
    (function(){apex.da.initDaEventList();})();
    (function(){apex.da.init();})();
    //-->
    </script></body>
    </html>Apex 4.2 on same server etc, after upgrade generates code below :
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html lang="nl" xmlns="http://www.w3.org/1999/xhtml" xmlns:htmldb="http://htmldb.oracle.com" xmlns:apex="http://apex.oracle.com">
    <head>
      <title>sdfsdfsf</title>
      <link rel="stylesheet" href="/i/css/apex.min.css?v=4.2.0.00.27" type="text/css" />
    <!--[if IE]><link rel="stylesheet" href="/i/css/apex_ie.min.css?v=4.2.0.00.27" type="text/css" /><![endif]-->
    <link rel="stylesheet" href="/i/libraries/jquery-ui/1.8.22/themes/base/jquery-ui.min.css" type="text/css" />
    <script type="text/javascript">
    var apex_img_dir = "/i/", htmldb_Img_Dir = apex_img_dir;
    </script>
    <script src="/i/libraries/apex/minified/desktop_all.min.js?v=4.2.0.00.27" type="text/javascript"></script>
    <script src="/i/libraries/apex/minified/legacy.min.js?v=4.2.0.00.27" type="text/javascript"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0.css" type="text/css" />
      <!--[if IE]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie.css" type="text/css" /><![endif]-->
      <!--[if IE 6]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie6.css" type="text/css" /><![endif]-->
      <!--[if IE 7]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie7.css" type="text/css" /><![endif]-->
    </head>
    <body >
    <!--[if lte IE 6]><div id="outdated-browser">You are using an outdated web browser. For a list of supported browsers, please reference the Oracle Application Express Installation Guide.</div><![endif]-->
    <form action="wwv_flow.accept" method="post" name="wwv_flow" id="wwvFlowForm" novalidate >
    <input type="hidden" name="p_flow_id" value="101" id="pFlowId" /><input type="hidden" name="p_flow_step_id" value="3" id="pFlowStepId" /><input type="hidden" name="p_instance" value="2102738057213" id="pInstance" /><input type="hidden" name="p_page_submission_id" value="6687700944614" id="pPageSubmissionId" /><input type="hidden" name="p_request" value="" id="pRequest" />
    <div id="header">
      <div id="app-logo"><a href="f?p=101:1:2102738057213"><span style="font-family:Arial; color:green; font-size:18; white-space:nowrap; font-weight:bold;">SoMStudie v1.06 - Productie</span></a></div>
      <div id="navbar">
        <div class="navbar-entry"><a href="javascript:{if (confirm('Applicatie uitloggen ? Niet opgeslagen wijzigingen gaan verloren !')) redirect('wwv_flow_custom_auth_std.logout?p_this_flow=101&p_next_flow_page_sess=101:1');}" class="navbar-link">Uitloggen</a></div>
        <div class="app-user">Welcome: ADMIN</div>
      </div>
    </div>
    <div id="tabs">
      <div class="frame">
        <div class="bg">
          <div class="tab-holder">
          </div>
        </div>
      </div>
    </div>
    <div id="topbar"></div>
    <div id="messages"></div>
    <div id="body">
      <table class="tbl-body" cellspacing="0" cellpadding="0" border="0" summary="">
        <tbody>
          <tr>
            <td class="tbl-main" width="100%"><div class="rounded-corner-region" id="R9719141085411482" >
      <div class="rc-blue-top"><div class="rc-blue-top-r">
        <div class="rc-title">sdfsdf</div>
        <div class="rc-buttons"></div>
      </div></div>
      <div class="rc-body"><div class="rc-body-r"><div class="rc-content-main"><table id="apex_layout_9719141085411482" border="0" class="formlayout"  summary="" role="presentation"><tr><td nowrap="nowrap" align="right"><label for="P3_X" tabindex="999"><a class="optional-w-help" href="javascript:popupFieldHelp('9719940026416952','2102738057213')" tabindex="999">X</a></label></td><td  align="left" valign="middle"><input type="hidden" name="p_arg_names" value="9719940026416952" /><input type="text" id="P3_X" name="p_t01" class="text_field"  value="" size="30" maxlength="4000"  /></td></tr></table></div></div></div>
      <div class="rc-bottom"><div class="rc-bottom-r"></div></div>
    </div></td>
            <td class="tbl-sidebar"></td>    
          </tr>
        </tbody>
      </table>
    </div><div id="footer"><div class="content">
      <div id="customize"></div> 
    </div></div>
    <input type="hidden" name="p_md5_checksum" value=""  /><input type="hidden" name="p_page_checksum" value="E08AB8A6D69B3450572EC2E89A528B29" id="pPageChecksum" /></form>
    <script type="text/javascript">
    apex.da.initDaEventList = function(){
    apex.da.gEventList = [
    {"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=101:21:2102738057213::21:::","attribute05":"data-url","attribute06":"div#success-message","attribute07":"AUTO","action":"PLUGIN_COM_SKILLBUILDERS_MODAL_PAGE"},{"eventResult":true,"executeOnPageInit":false,"stopExecutionOnError":true,javascriptFunction:apex.da.cancelEvent,"action":"NATIVE_CANCEL_EVENT"}]}];
    </script>
    <link rel="stylesheet" href="#PLUGIN_PREFIX#plugins/modal-page/server/TEST.css" type="text/css" />
    <script type="text/javascript" src="wwv_flow_file_mgr.get_file?p_plugin_id=34423998056404065675&p_security_group_id=4874907161072557&p_file_name=jquery.colorbox-min.js"></script>
    <script type="text/javascript" src="wwv_flow_file_mgr.get_file?p_plugin_id=34423998056404065675&p_security_group_id=4874907161072557&p_file_name=apex_modal_page.min.js"></script>
    <script type="text/javascript">
    apex.jQuery( document ).ready( function() {
    (function(){apex.jQuery(document).apex_modal_page({
       "transition":"none",
       "draggable":true,
       "initialHeight":100,
       "initialWidth":300,
       "overlayOpacity":.5,
       "scrolling":true,
       "loadingImageSrc":""
    (function(){apex.da.initDaEventList();})();
    (function(){apex.da.init();})();
    });</script>
    </body>
    </html>Any suggestions why this plugin does not load on page load in 4.2 would be great ( a fix would be even better :) ).
    Regards

  • Modal Page Plugin showing Blank Page.

    Hi All,
    I am using Skillbuilder modal page 2.0 in APEX 4.2.
    Whenever I open the modal page, Blank page opens.
    Can anyone guide me what could be the problem.
    To open the modal page, I did the following steps.
    1. Installed Plugin 2.0
    2. From parent page I created a button. Set action to "Defined by Dynamic Action". (I also tried defining button id="CREAT_BUTTON" , Dynamic action with jQuery selector etc. as shown in sample video. But that also doesn't work.)
    3. Created Dynamic action, on Click, mentioned the button and gave the path of new page to open.
    4. Changed component setting for plugin, and set the theme to 1.

    Hi,
    Your "Embed in Frames" setting was set to "Deny" under Edit Application Properties -> Security -> Browser Security.
    I have set it to "Allow from same origin".
    This has resolved the issue. Please test.
    I suggest that you change the page template of page# 2 to "Popup". That way you can avoid application logo, navigation bar etc on the modal window.
    Thanks,
    Rohit

  • Skillbuilders Modal Page - End Open event

    Hi,
    I'm using Skillbuilders Modal Page 2.0.0. plugin on Apex 4.2, and I can't seem to get the event End Open to work.
    I stumbled upon this thread Skillbuilder Modal Page - Dynamic Title but the solution Tom suggested didn't help; nothing happens even if I set an alert to pop up on End Open.
    I will be grateful for any hint you may send my way.

    Hi, Tom, thanks for your reply!
    Yes, I'm using version 2.0.0.
    Yes, I changed the name of the event in the plugin settings: End Open - apexmodalpagecomplete.
    But maybe I'm using it wrong.
    I'm creating a new dynamic action, and the event is set to End Open.
    Then I have to choose Selection Type and I'm not really sure what to put there.
    Could you help me out?
    Thank you!
    Oh, and I will create an example on apex.oracle.com some time today.
    Edited by: Iris 314 on Apr 25, 2013 1:34 AM

  • Problem wth plugin modal page

    apex 4.1.1.00.23
    download skillbuilder modal page plugin; imported to application;
    made required changes;
    I IR with link column
    (select case when count(alias)=0 then null
                 else count(alias) end from instance_application
    where alias in (select alias from tnsnames t where t.host=i.host and t.sid=i.sid)) kbrappl
    Link text: #KBRAPPL#
    link attribute:
    id="#HOST#:#SID#" class="setClick" onclick="return false;"
    target URL: javascript:return false;
    Created DA
    event: Click
    selector Type: Jquery selector
    10. set value (parameter for call modal page);
    20. SkillBuilders Modal Page (2.0.0) [Plug-in]
    create page another report with template popup;
    It is working perfect on start page (until main IR filter changed or IR with mutiple pages going to next pages);
    It is look like changing filter or next page DA not Fire;
    Please help

    I solved the problem myself
    I set event scope: live
    Thanks 

  • Executing multiple process instances in a batch

    In one of our processes we need to execute multiple process instances together in one go. In order to accomplish this, we have taken a new process which takes a list of instanceStampIds to be processed and then using PAPI processing them one after another in a loop. There is a grab actibity defined, named "GrabAndProcess" to Grab the process instance and then to execute it. We're getting the exception: "Cannot invoke on remote components" while getting process instance using getInstance() in the code below. Here is the code:
    logMessage("\[MultiReconcile\]\[reconcileTask\] Inside Reconcile Task... " + instanceStampId);
    // Pre-Process instanceStampId
    instanceStampIdList = instanceStampId.split(delim : "!");
    // Define the arguments of the activity.
    argumentSet\["reconcilerCommentsArg"\] = reconcilerComments;
    argumentSet\["newStatusArg"\] = newStatus;
    argumentSet\["reconcilerIdArg"\] = reconcilerId;
    logMessage("\[MultiReconcile\]\[reconcileTask\] instanceStampIdList.length: " + instanceStampIdList.length());
    logMessage("\[MultiReconcile\]\[reconcileTask\] Connecting to ReconcilationProcess... ");
    ClientBusinessProcess.connectTo(processId : "/ReconcilationProcess");
    logMessage("\[MultiReconcile\]\[reconcileTask\] Connected to ReconcilationProcess... ");
    foreach (instanceStampIdVal in instanceStampIdList) {
    logMessage("\[MultiReconcile\]\[reconcileTask\] Inside loop... instanceStampId: " + instanceStampIdVal);
    // Pre-process Instance Id
    instanceStampIdParts = instanceStampIdVal.split("/");
    String baseInstanceStampId = "";
    for (int part=0; part < instanceStampIdParts.length - 1; part++) {
    if (instanceStampIdParts[part].compareTo("") != 0)
    baseInstanceStampId = baseInstanceStampId + "/" + instanceStampIdParts[part];
    logMessage("\[MultiReconcile\]\[reconcileTask\] instanceStampId: " + instanceStampIdVal);
    logMessage("\[MultiReconcile\]\[reconcileTask\] baseInstanceStampId: " + baseInstanceStampId);
    // Grab Instance
    try {
    logMessage("\[MultiReconcile\]\[reconcileTask\] processInstanceId: " + baseInstanceStampId);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Getting Process Instance..." + baseInstanceStampId);
    instance = ClientBusinessProcess.processService.getInstance(instance : baseInstanceStampId);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Instance " + baseInstanceStampId + " Retrieved.");
    logMessage("\[MultiReconcile\]\[reconcileTask\] Grabbing Instance... " + instanceStampIdVal);
    instance.grab(grabActivity : "GrabAndProcess");
    if (instance.grabbed) {
    logMessage("\[MultiReconcile\]\[reconcileTask\] Instance " + instanceStampIdVal + " grabbed successfully!");
    // Process Instance
    instance.runTask(activity : "GrabAndProcess", args : argumentSet);
    reconcileResult = reconcileResult + "\nInstance " + instanceStampIdVal + " processed successfully!";
    logMessage("\[MultiReconcile\]\[reconcileTask\] Instance " + instanceStampIdVal + " processed successfully!");
    catch (Java.Lang.Exception e) {
    reconcileResult = reconcileResult + "\nInstance " + instanceStampIdVal + " could not be processed!";
    logMessage("\[MultiReconcile\]\[reconcileTask\] Exception occurred while processing instance " + instanceStampIdVal);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Exception: " + e.message);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Done with processing instanceStampId " + instanceStampIdVal);
    logMessage("\[MultiReconcile\]\[reconcileTask\] Leaving Reconcile Task... " + instanceStampId);
    display (reconcileResult);
    Why is it giving the execption "Cannot invoke on remote components"? What's wrong in the above approach?
    Any help in resolving the issue will be highly appreciated.
    Thanks,
    MK
    Edited by: goelmk on May 6, 2009 3:11 PM

    Hi,
    Could you go into your use case a little bit? I'm confused why you're using PAPI and the automatic grab functionality.
    Going under the assumption, you're trying to use it to do ad hoc routing of intstances. If this is the case, here's another approach to using an automatic grab to route instances. The "instF" search would need to be modified to suit your use case:
    BusinessProcess bp;
    try {
        logMessage("PapiHelper: actionGrabAndRoute: Entry: instance: " + instanceToActOn.instanceIn, severity : DEBUG);
        InstanceFilter instF = InstanceFilter();
        Fuego.Instance[] instances;
        String instanceDescription;
        bp.connectTo(url : Fuego.Server.directoryURL, user : "AUTOCLIENT", password : "P",
                     process : "/" + processName);
        instF.create(processService : bp.processService);
        instF.searchScope = SearchScope(participantScope : ParticipantScope.ALL, statusScope : StatusScope.ONLY_INPROCESS);
        instF.addAttributeTo(variable : VarDefinition.INSTANCE_NUMBER, comparator : Comparison.IS,
                             value : instanceToActOn.instanceIn);
        instances = bp.getInstancesByFilter(filter : instF);
        foreach (inst in instances) {
            logMessage("PapiHelper: actionGrabAndRoute: Found it: " + inst.id, severity : DEBUG);
            try {
                // change this to be the name of your Grab Activity
                inst.grab(grabActivity : "GrabAutomatic");
                logMessage("PapiHelper: actionGrabAndRoute: Grabbed Instance Status: " + inst.grabbed, severity : DEBUG);
                try {
                    inst.runTask(activity : "GrabAutomatic");
                    logMessage("PapiHelper: actionGrabAndRoute: Ran Grab " + inst.grabbed, severity : DEBUG);
                catch (Exception e) {
                    logMessage("PapiHelper: actionGrabAndRoute: tried to run grab and failed because no task to run in Grab", severity : DEBUG);
                inst.route(activity : groupGrabAndRouteToActivityName);
                logMessage("PapiHelper: actionGrabAndRoute: Routed back", severity : DEBUG);
            catch (Exception e1) {
                logMessage("PapiHelper: actionGrabAndRoute: Exception when running or routing: " + e1.cause, severity : DEBUG);
                errors = errors + "Instance could not be grabbed and reassigned\n\n";
                logMessage("PapiHelper: actionGrabAndRoute: Errors: " + errors, severity : DEBUG);
    finally {
        bp.disconnectFrom();
    }Dan

Maybe you are looking for

  • No data in the report

    Hi Friends The data in BEx is blank ( No application data found). I created my flat file exactly the same order as my transfer rules,where must be the problem, can you please help. My scenario : Flatfile using Flexible update. And loaded this into a

  • Creating thumbnail "tables" of artwork next to the larger image

    I'm trying to figure out how this person created their site in iweb. Below is the link to their website. http://www.adrianmills.co.uk/Illustrations.html I'm new to the program, but would really appreciate any advice on how to achieve this look with t

  • ISupplier 11.5.10. I want to show only Open POs.

    I would like to display only Open PO in the Purchase Orders Page. I have been able to identify the xml which has the list of the drop downs. ViewPoQuickSearchVO.xml . But I am able to find out which page or java class takes the input from this List o

  • Sub req and MD04 (very urgent)

    Hi Experts,    I am new to MM.    I have created a PO for mat ABC with item category "L" i.e. subcontracting.The required delivery date in the PO is 03.07.2007 and the component for that material is XYZ.   The planned delivery time and the GR process

  • Mac says usb stick is full when it isn't

    I'm trying to copy files to a usb stick but my mac keeps telling me the stick is full, even when I know it isn't. Deleting other files on the usb stick doesn't help at all. I've tried a few different sticks - sometimes I can get it to work but eventu