Parent window disappears by using apex.navigation.popup

APEX 4.2

Oracle 11g

I created my navigation printing print entry to run javascript instead of the obsolete popUp2 script apex.navigation.popup:

JavaScript: apex.navigation.popup ({url:'f? p = & APP_ID.: & APPL_PRINT_PAGE.: & '. SESSION: NO:YES, name: '_blank', width: 950, height: 800});

APPL_PRINT_PAGE Application element contains the page number to display in print mode.

When I click on the Print navigation entry, the page opens as a window, BUT the parent window is replaced by [object window]. How to make the parent to be left alone window?


Robert

Hello

Try to add appeal to end the JavaScript in the url as Sub

javascript: apex.navigation.popup({url:'f?p=&APP_ID.:&APPL_PRINT_PAGE.:&SESSION.:::NO:::YES',name:'_blank',width:950,height:800});void(0);

Kind regards
Jari

Tags: Database

Similar Questions

  • Problem with apex.navigation.popup.url and the symbol + (more)

    Hello
    I use Apex 4.2.6.00.03 in an Oracle DataBase 11g.

    I want to show in a popup over information about a line in a report, to do this, I use apex.navigation.popup.url JavaScript function to open an apex page and set a variable in this page with the ROWID of the register, the url is

    JavaScript:apex.navigation.Popup.URL ('f? p = & APP_ID.:59: & SESSION.: P59_ROWID: #ROWID #');

    It works fine, but when the ROWID contains a symbol '+', it is replaced with a space when the value is set to the article and the code that uses this value returns an error.

    Oracle Docs the ROWID can have letters, numbers and symbols '+' and ' / ', I tested it with "/" and it works fine.

    I could use the replace to replace the space with a '+', but I want to know if this can be corrected in the URL, and what other symbols he affects.

    Thank you

    Diego (SniperCat) wrote:

    I use Apex 4.2.6.00.03 in an Oracle DataBase 11g.

    I want to show in a popup over information about a line in a report, to do this, I use apex.navigation.popup.url JavaScript function to open an apex page and set a variable in this page with the ROWID of the register, the url is

    JavaScript:apex.navigation.Popup.URL ('f? p = & APP_ID.: 59: & session.: P59_ROWID: #ROWID #');

    It works fine, but when the ROWID contains a symbol '+', it is replaced with a space when the value is set to the article and the code that uses this value returns an error.

    Oracle Docs the ROWID can have letters, numbers and symbols '+' and ' / ', I tested it with "/" and it works fine.

    I could use the replace to replace the space with a '+', but I want to know if this can be corrected in the URL, and what other symbols he affects.

    That's why I only spend the alphanumeric key values as URL parameters. It could affect all the reserved characters in the URL.

    Add a hidden column of ROWID_URL to the report query, that JavaScript and URL does not escape the ROWID value:

    select
       ...
     , apex_escape.js_literal(apex_util.url_encode(rowid), null) rowid_url
     , ...
    from
       ...
    

    and use this column in the column link URL:

    javascript:apex.navigation.popup.url('f?p=&APP_ID.:59:&SESSION.::::P59_ROWID:#ROWID_URL#');
    
  • Apex.navigation.popup in IE using loses parent location

    When I use this feature to open a popup window it works fine in Safari/Chrome etc., the works of popup and the parent window remains the same. However, in IE, the popup arrives, but the parent goes to a white screen with [object] displayed in the upper left corner.

    Use the complete statementI is:

    JavaScript:apex.navigation.Popup ({url:'f? p = & APP_ID.:42: & SESSION.', width: 1300, height: 400});

    Any ideas?

    It comes with IE 10.

    Kind regards

    Jez

    Try adding void (0); behind the statement of so it looks like

    javascript:apex.navigation.popup({url:'f?p=&APP_ID.:42:&SESSION.',width:1300,height:400});void(0);
    
  • Windows disappeared after using PC 10 years. It is won't boot. Have no original disk.

    I was browing internet and everything went black except the cursor flashes at the top left.  If I turned off the pc, I see the dell screen, then the white screen with the cursor.  If I plug F12 at startup I get the 4 selections, but it won't let me tab or make another choice if when I hit enter it goes back the the white screen with the cursor blinking.  I left it flashes for hours, but Windows does not.

    Unfortunately, it seems that your computer is undergoing internal hardware failure, like a bad card mother, graphics card, hard drive or power supply unit (PSU).  You must contact a qualified computer technician to help you to diagnois the problem, like the Geek Squad.

  • help closing a pop-up (open with Skillbuilder popup) AND passing a return value to the parent window

    I use apex 4.2 as well as the pop-up skillbuilder.   The parent (p110) window opens a child using skillbuilders 2.0 popup.  The pop-up (p114) transmits a report worth (#VESSEL_ID #) after confirmation by the user.

    For some reason any and I'm sure it's a simple syntax that I am not contagious, when the user selects the #VESSEL_ID #, the appropriate confirmation message will appear, but the window close or change the value.

    The field #VESSE_ID # a a link URL:

    JavaScript: closeMe (pVessel, psupplierVesselId);

    who calls the closeME function:

    < script language = "JavaScript" >

    function closeMe (pVessel, psupplierVesselId)

    {

    Alert (psupplierVesselId);

    If (psupplierVesselId! == "999999" |) (psupplierVesselId == "999999" & & confirmer ("rappel pour concessionnaires fédéral: quelle déclaration dele de rivage ne sélectionnez pas navire INCONNU")))

    {

    Window.parent. $(Window.parent.document) .apex_model_page ('close', pVessel);

    }

    {

    < /script >

    any help is appreciated!  Thank you

    Karen

    In the 3rd category sister Teresa gave me a D - in penmanship and spelling.

    so, basically, I misspelled model.    It should be modAl.

    Ugh.  Thank you!

  • Windows parental control can be used for domain users?

    Original title: parental control Windows and users in the domain?

    Windows parental control can be used for domain users?

    Hi VMilana,

    The issue of Windows 7 you have posted is better suited for the IT Pro TechNet public. Please ask your question in the TechNet Windows 7 forum for assistance.

    Hope the helps of information.

  • Switch the setting to a page of the window parent child and store session values in the parent window

    Hello

    I have two pages of the apex. I open a page of the child using javascript in the parent page.

    Parent window has the following articles.  P1_Text1, P1_text2, P1_text3. The setting is 'Change only when the session state is null', static assignment.

    In the child window: I have two buttons 'Confirm' and 'close '.

    When I press "confirm", it sets the value of a page element parent in a process of PL/SQL.

    BEGIN

    / * some calculations

    followed by an assignment statement * /.

    : P1_Text1: = final_value;

    END;

    "Close" button in the child window. as a result of javascript that are associated with:

    JavaScript:

    Window.opener.Location.href = window.opener.location.href;

    Window.Close ();


    When I press the close button, the parent window gets updated and P1_Text1 is responsible for the requirements.  Everything is going well so far.


    But the problem is with other elements of the parent page. They become null.


    How to store the values of the elements of the page of the parent window?



    Kind regards

    Archana








    archana2 wrote:

    But the problem is with other elements of the parent page. They become null.

    How to store the values of the elements of the page of the parent window?

    Problem: You're not 'save' the other page elements.

    Solution: Before you open the child window, you need to "introduce" the values desired registered on the server.

    This is best done with a dynamic Action that uses a PL/SQL code block.  The key is to include all the items you want to store the property in the "Page" referred to submit

    PL/SQL code is a code simple no - ops

    begin
      null;
    end;
    

    For you, it seems that the 'child window open"should be action 2 of this dynamic Action.

    MK

  • Another parent window already exists for this section

    Hi people, I'm some workflows (GSM and NDP) increment in my case, unfortunately after that I created these workflow I am confronted with many questions. The most common problem happens when I go to a new stage, I get the message: "another parent window already exists for this section.
    In other cases I get messages like this:

    Server error in ' / NDP ' Application.
    --------------------------------------------------------------------------------

    Exception of type 'Xeno.Web.UI.BusinessObjectUIService.BusinessObjectUIManagerNotFoundException' was thrown.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and its origin in the code.

    Exception details: Xeno.Web.UI.BusinessObjectUIService.BusinessObjectUIManagerNotFoundException: Exception of type 'Xeno.Web.UI.BusinessObjectUIService.BusinessObjectUIManagerNotFoundException' was thrown.

    Source error:

    An unhandled exception is generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception below stack trace.

    Stack trace:

    [BusinessObjectUIManagerNotFoundException: Exception of type 'Xeno.Web.UI.BusinessObjectUIService.BusinessObjectUIManagerNotFoundException' was thrown.]
    Xeno.Web.UI.BusinessObjectUIService.BusinessObjectUIService.get_Item (String businessObjectUIMgrId) + 190
    Xeno.Prodika.NPD.WebUI.Activity.ActivityLinearWorkflowDataSource.setParams (StringSplitter ss) + 101
    Xeno.Prodika.Common.ClassProtocolHandler.intializeObject (Object obj, StringSplitter splitter, ObjectArgs args) + 68
    Xeno.Prodika.Common.ClassProtocolHandler.Internal_CreateObject (String name, ObjectArgs args) + 310
    Xeno.Prodika.Common.ClassProtocolHandler.CreateObject (String name) + 11
    Xeno.Prodika.Common.ObjectLoader.createObject (String name) + 64
    Xeno.Web.UI.Common.Popups.LinearWorkflowActionPopup.OnInit (EventArgs e) + 64
    System.Web.UI.Control.InitRecursive (Control namingContainer) + 333
    System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 378
    --------------------------------------------------------------------------------
    Version information: Microsoft .NET Framework Version: 2.0.50727.3053; ASP.NET Version: 2.0.50727.3053

    Carlos

    It is also in the installation/upgrade guide, so that you can more details here. However, the string connection Oracle differs from MSSQL and must not contain a server variable.

    Sample Oracle connectstring: "User Id = PLM; Password = password; Data Source = TNS_SOURCE1; »
    sample MSSQL connectstring: "server = localhost; UID = sa; pwd = password; database = prodikaDB ".

    hope that helps.

  • Pop - up outside the parent window

    Hi all
    The company that I work has an owner help system I want to reproduce using RoboHelp. The main Help window consists of panels TOC and topic and is quite narrow... the Panel topic being about the same width as the table of contents.
    However, illustrations of the screen are shown in the auto size pop - ups outside in the main window, so that they don't interfere with the text. I have not found a way to reproduce this effect in RoboHelp - automatic resizing prop-ups appear to be limited to the size of the parent window, and the 'show in a frame - new window' option displays the image in a browser... window toolbars and menus included... not pretty.

    Any ideas as to how this can be accomplished?


    In this case I am afraid that your options are somewhat limited. If you can persuade the power of having a wiser part of topics, you can use the links in the popup size custom for the screenshots. Other than that, you could have a TOC book down with a space as a title which contains the subjects page. As it was not a title people can't use it. Maybe you can even use an image for the icon of book which is completely empty which would hide it from the user. This is a sledgehammer and nut scenario.

  • Disable the parent window when the child window is open

    Hello
    I need to open a new popup window using javascript .i don't want adf use predefined function such as dialog, _target, usewindow (according to the req) .but I can able to open a pop-up window, but parent window is still active (not disabled) I'm clicking on parent window when the child is open.

    what I did:

    (1) I used in light of the fn on the onclick event of the command button

    < script type = "text/javascript" >
    var popupWindow = null;
    function popup() {}
    popupWindow = window.open ('http://10.14.1.1:9002/a/b/c/d/payment/Settlement.jsp','abcd12','height=600,width=600,top=0,left=0,resizable');
    popupWindow.focus)
    }

    < /script >

    give me good suggestion to solve this problem

    Siva,

    A quick google search revealed that the behavior you're seeing is an expected behavior of the modal dialog box.

    See if the given suggestion [this post | http://www.experts-exchange.com/Web/Q_20832231.html] help.

    Jean Lou

  • refresh the content of the parent window?

    I use the task flow as the dialogs (instead of the usual popups) these are level tasks workflows superior and usual as windows popup html as Window.Open representative.
    In one case I change the information in the window of a child and after I hope to see changes in the opener. The changes are visible only when I refresh the window by pressing F5 in Internet Explorer. How can I force a refresh of the parent window? I guess I can do it with the parent activity call, but these are not authorized level superior taskflow. After the child window reject, I guess I could catch an event that happened in the parent window. Is this possible?

    Thank you!

    Published by: euggie on July 20, 2009 14:09

    Hello

    the command script that launches the dialog box should have a defined return listener. You use this to refresh the parent page

    Frank

  • side sliding control window disappears while I'm working on Costco photobook; cannot disconnect and make sure that my book is properly registered. 80 pages - help!

    Design/installation a book of 100 pages photo on the Costco website. Everything worked well today, although I lost about 18 pages of work yesterday, when the webpage hiccupped. The problem now is that the disconnection is at the top of the Web page, and I can't get there because there is no control slide on the right side of the window. I use an iMac and the latest operating system. Please help ASAP!

    On MacOS X 10.9 (Mavericks) Firefox relies on the system setting of the operating system for the scroll bar. Please see this thread for how to change system setting: why the roll bars quickly disappear in firefox on OS x 10.9?

  • I can't use my navigation arrows to scroll a web page easily, it goes right down. Work OK in Internet Explorer

    Until recently I had to do to scroll a web page has been to use my navigation arrows. When I hit the arrow down, now to the bottom of the web page.

    You can be in Caret navigation Mode. The F7 key active / disable keyboard navigation on and off with every tap of the key.

    You need to update the following. The Plugin version (s) below has / have been submitted with your question and is obsolete. You need to update in order to avoid the known security issues with the version (s) you have installed. Click on 'more system info... '. "to the right of your question to see what was included with your question.

    • Shockwave Flash 10.2 r159
    1. Check your plugin versions on one of the following links:

    2. Update the Flash plugin to the latest version.
      • Download and SAVE to your desktop, so you can find the Setup program later
      • If you do not have the current version, click on the "Player Download Center" link on the 'download and information' or 'Download manual installers' below
      • Once the download is complete, exit Firefox
      • Click on the installer, you just download and install
        • Windows 7 and Vista: will need to right click on the installer and choose 'run as administrator '.
      • Launch Firefox and recheck your version or up to the download link below to test the installation
      • Download and information: http://www.adobe.com/software/flash/about/
        • Use Firefox to go to the site above to update the Firefox plugin (will also install the plugin for most other browsers, except IE)
        • Use IE to go to the site above to update the ActiveX to IE
      • Download manual installers.
  • Candidate in traditional Chinese Pinyin Input Method window disappeared after upgrade to El Capitan

    The candidate window disappeared when I use the traditional Chinese Pinyin input method. It will display the candidate window after I press the space bar, but now he entered directly the first option available in the list and I can not choose what Word to use. I just started experiencing this problem since I upgraded to El Capitan.

    Try to set up a new user account and see if you have the same problem when logged into that.

  • Control Parental Windows block Facebook photos without reason.

    I have the game Contrls Parental of Windows Vista only to block pornography and it also blocks Facebook photos. I would like to allow pictures of Facebook. "Http://www.facebook.com", I added to the 'Green' list, but it blocks still images.

    I watched this: http://social.answers.microsoft.com/Forums/en-US/vistasecurity/thread/9c603e9e-87ea-45b1-b136-084a42968fa0 response and is not useful.

    Hi glgymajor,

    I have setup a user account and restrictions to control parental of installation to block pornography and tried myself, and I see that windows is blocking all content of the field of facebook

    Can you give us the exact link that controls parental windows blocked?

    For more assistance, you can contact windows live family safety at http://go.microsoft.com/fwlink/?LinkId=68998 or http://windowslivehelp.com/product.aspx?productid=4

    If this post can help solve your problem, please click the 'Mark as answer"or if you find it useful, mark it as useful by clicking the 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for

  • Can I pay for my subscription to apple's music with an iTunes gift card?

    My apple music subscription can be paid with a gift card to itunes?

  • Excel of e/s

    Hello all,. I was doing some research on the forum and can not find my exact solution, if it exists, please let me know. I have an excel file of ".csv" with about 5 000 lines, each line has a timestamp (column a) and a guarantee of reading (column b)

  • HP Pro 3130 microtour: use the integrated graphics card Intel H57 Council

    Good afternoon.Motherboard HP Pro 3130 Microtour here MS-7613.What you need to install the CPU, which it was possible to use the integrated graphics Intel H57 Board adapter?Poised the Lynnfield Quad Core Intel Core i7-870, 3300 MHz. It does not work

  • Missing the Green volume on the screen bar!

    HelloI recently replaced the motherboard and the hard drive on my HP Pavilion m8200n, (he fell down). My computer guy did, and he reinstaled Windovs Wista Home Premium of its CD, the CD mine because were no good (it is what I was told). So I have non

  • Skype works only with windows vista

    For the entire month past, whenever I open Skype, it immediately no longer works and I get a Windows message saying to download the latest version of Skype.  I am running Windows Vista and I think I need some kind of patch from Microsoft.  Anyone kno