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!

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 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.

  • 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.

  • 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.

  • 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.

  • Using an iframe is causing a javascript error

    Hi Folks.
    I have the following issue.
    I have a page with two regions in it.
    One region uses an iframe to display documents stored in the database.
    Another region has calls to JavaScripts which are used for item level updates.
    When the iframe region displays, the javascript fails.
    If I set the iframe region to Conditional Display = Never, the JavaScript runs perfectly.
    More information.
    As an alternative, I changed the region that displays the documents using an "iframe" to one with the region defined using "embed". This worked fine for displaying PDF files and did not affect the JavaScript. The only issue with the region defined using "embed" is that it would not work with Word/Excel files.
    I need to be able to either...
    a) Stop the iframe affecting the JavaScript execution
    or
    b) Get a region defined with "embed" to display Word or Excel files.
    Any suggestions gratefully received.
    Many thanks
    Kind regards
    Simon Gadd

    OK
    Found the solution.
    The problem was the syntax of the iframe definition.
    My iframe definition was...
    <iframe src="f?p=&APP_ID.:1:&APP_SESSION.:APPLICATION_PROCESS=GET_DOCUMENT" width="800" height="1000" name="&P555_FILENAME." type="&P555_MIMETYPE." />and it should have been
    <iframe src="f?p=&APP_ID.:1:&APP_SESSION.:APPLICATION_PROCESS=GET_DOCUMENT" width="800" height="1000" name="&P555_FILENAME." type="&P555_MIMETYPE."></iframe>As soon as I added the end tag
    </iframe>the problem was solved.

  • Modal message popup is causing TestStand ActiveX error

    When I execute a modal Message Popup step, I get the following error:
    ActiveX Error
    sCode = 0xffffbba4
    Source: TSAPI
    Description: Could not connect to TestStands TSSync server.
    If the Message Popup is not modal, the sequence executes just fine.
    I am making the Message Popup modal by selecting the "Make Modal" option.

    There is a call to TS_StartModalDialogEx function in the \API\CVI\tsutil.c file which in turn calls into the engine. The engine needs the sync server to implement the modality. I would assume that the file \bin\TSSync.dll is missing or not registered. You can register the dll by running "regsvr32.exe \bin\TSSync.dll". See if this fixes your problem.
    Scott Richardson
    National Instruments

  • 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

  • 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 

  • 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

  • Javascript error when editing PCD-Objects

    Hello,
    suddenly I get a JavaScript-Error when I try to edit rules or pages within the PCD (EP6.0.2.35).
    When I use the script debugger I see an "access denied" error when the function
    window.frames["ivuFrm_page0ivu1"].document.close();
    is called. Sometimes it works though (after a server restart, the 1st edit seems to work).
    Any ideas?
    Thanks in advance,
    Reinhard

    Solved it on my own:
    We have the portal running as windows service, and therefore had "-Xrs" configured in the java parameters. According to a SAP-Note (to configure ThreadDumps) we deleted the "-Xrs"-Parameter and this seemed to have caused the JavaScript-Errors (!!!!!).
    Reinhard

  • Javascript error invalid syntax

    Hii Javaties
    I am a having a jsp page(List.jsp) where i am showing a list of records.
    In this page user can select the number of records per page
    For this i have provided a combo box from which user can select the no of records per page say 10 ,20 ,25,30.
    In this page i also have a functionality for previous and next.
    Now my problem is tht , if user selects 10 or 20 records per page everything is fine, but if he selects anything above 24 i.e 25,30 then there is a problem.
    The list is displayed then also , but if user selects some new criteria say 10 records/page , then i get a javascript error invalid syntax.
    I am getting the list of records in a ArrayList in the servlet and then i am passing this arrayList as a request attribute to the jsp.
    Also i am initiliazing my ArrayList as
    ArrayList company=new ArrayList();
    Can any body tell me about invalid syntax.
    If i am not clear plz tell me .

    Well Mr Brainy,
    I said tht the error is in javscript, but the problem
    i think is in java code.Based on your remarkable powers of deduction?
    Bcz it is working fine when my form has less than 24
    elements, but when it exceeeds this limit, it gives
    me error.
    Can it be due to no of elements in jsp form ?No. It's due to a bug in your code that manifests yourself when you have that number of elements.
    Check on line 57.

  • CSS issues....get Javascript error on click event

    Trying to finish up this navbar. Got it where my navigation works pretty much great. However, the code I expected to work when I fire a click event on the logo (represnted currently by a gray circle) causes a 'Javascript error in event handler! Event Type = element' error instead. Not sure why. I know I had an issue with one of my button references (spelling issue) but beyond that, everything seems to be in order.
    This is the code I'm using. The first five lines work right. The second series does not.
    sym.getSymbol("btnVision").$("back").css({opacity: 0})
    sym.getSymbol("btnIndustires").$("back").css({opacity: 1})
    sym.getSymbol("btnResp").$("back").css({opacity: 1})
    sym.getSymbol("btnCommunity").$("back").css({opacity: 1})
    sym.getSymbol("btnDiscovery").$("back").css({opacity: 1})
    var stage = sym.getComposition().getStage()
    stage.$("navVision").css({top: 65});
    stage.$("navIndustries").css({top: 65});
    stage.$("navResp").css({top: 65});
    stage.$("navCommunity").css({top: 65});
    stage.$("navDiscovery").css({top: 65});
    I should mentioned I tried sym.getSymbol for the bottom entries but that simply produced the same exact error. Sign.
    Anyone know what might be causing this? It doesn't seem to make sense to me. Here's the files.
    https://www.dropbox.com/s/xo90u6hvj65ix78/nav.zip

    Hi ladobeugm,
    The error message is rather cryptic, but this occurs when trying to access something not defined, as you already experienced with your misspelling.
    You should use Firebug to localize the error via step by step execution. There is a Scripts tab. In its menu, select <youProject>Actions.js. Then, define a breakpoint by clicking in the line number of statement var stage= etc. In the Spies area, you can look for the offending statement by monitoring variable values.
    Gil

Maybe you are looking for