How to set the location of the display of the modal dialog box?

Hello

Setting the height of a modal dialog box seems to influence the position of the modal dialog in the window.

(See also the Position of the modal dialog box)

If anyone can confirm this? And if so, how can I handle it?

Thank you

Jos

Hello

Thanks John: How to persist APEX dialog size and position. HardLikeSoftware

Tags: Database

Similar Questions

  • Foglight display size of the modal dialog box

    Hello

    Dashboards drilled down, I can choose how to display the detailed view.  So I chose popup--> the modal dialog box.  Now when I click on a line, instead of leading me to another page, it will display a popup window and view detail info.  The popup window has a fixed size and I can't change it.  Is there a way to change or set a certain size?

    Yes. You must change the settings from the view of exploration down, not the parent view. The settings are located under Configuration-> Options of Popup. You can play with the default size, size maximum and scroll bar to display the drilled down. It took me a while to figure this one out myself.

  • Position of the modal dialog box

    Hi,.

    Could someone explain to me how the op i tion to the wide a modal dialog is calculated?

    I put the height of my modal dialog box to 780px (all of the page of the dialog box is displayed), and the modal dialog box is displayed at the top of the window:

    780px.PNG

    A user complains that the modal dialog box is located roughly halfway to the window and having to drag upward to display all items and buttons.


    After you change the height to 600px, I get the same answer (the modal dialog box is about to halfway through the window) on my environments: different types of MacBook (Air/Pro), a window PC, all modern browsers.

    600px.PNG

    Then sometimes (how SMART is that! ) ) the modal dialog box (with the height value 780px) is positioned at the top of the page, sometimes the top less x.


    Thank you


    Jos

    Thanks John:

    Hello

    Thanks John: How to persist APEX dialog size and position. HardLikeSoftware

  • State of the coast customer Pass to the modal dialog box

    Hi guys,.

    I would like to open a modal dialog box and change the value of a select list of the modal dialog box. I have to be able to switch the status of the customer value using apex.item("P1_DEPTNO").getValue (). The declarative method to use modal dialog boxes is to use a button and a link to the page, where everything is taken care for us, the value, the checksum for the protection of session state, etc..

    But sometimes we need to go on the side of current customer State the modal page, for example, while we are in the middle of creating a new row in a table... and the value is not yet stored in the database.

    So, how can we do this? By the way the page in progress and also variables to generate the control are appropriate for the items to be passed.

    Since there is no dynamic action to do this directly, I tried to attach a dynamic action to a button and run javascript to open the dialog box (https://docs.oracle.com/cd/E59726_01/doc.50/e39149/javascript_api.htm#AEAPI29504):

    var l_url="f?p="+$v("pFlowId")+":2:"+$v("pInstance")+"::::P2_DEPTNO:"+apex.item("P1_DEPTNO").getValue();
    alert (l_url);
    
    
    apex.navigation.dialog(l_url, {
        title:'About',
        height:'480',
        width:'800',
        maxWidth:'1200',
        modal:true,
        resizable:false },
        '',
        $('#EMP_REPORT'));
      
    
    
    

    Unfortunately, I get an error internal an error:

    2 request 157 dialog page cannot be returned successfully. If make sure that the template in use on page 2 is the type of model 'Page of dialogue', with the JavaScript dialog initialization appropriate, closing the dialog and dialog box cancel the code defined.

    I do not understand the error message since I use the theme 42 and the handling of the ordinary modal dialog box works.

    Would appreciate advice.

    See you soon,.

    ~ Dietmar.

    Hi Dietmar,

    you're always coming to these requirements of fancy...

    The following has worked for me in Chrome. But to test if it works in any browser.

    1. Describe your button as usual with a link to the page of the dialog box
    2. For example to set items , specify P7_CUSTOMER_ID as the name and ~ CUSTOMER_ID ~ as value. ~ CUSTOMER_ID ~ is our placeholder that will NOT get replaced by APEX. We use it in our JavaScript code.
    3. Set the static ID of your my_button button so that we are able to access in JavaScript
    4. In the run when the Page loads page level attribute, add something like
      var myButton$ = $( "#my_button" );
      myButton$.attr( "onclick", myButton$.attr( "onclick" ).replace( "~CUSTOMER_ID~", "' + $v( 'P2_CUSTOMER_ID' ) + '" ));
      

    The JS code above will replace your reserved space and turn the link into something like

    javascript:apex.navigation.dialog('f?p=73380:7:109940056598048::NO:RP:P7_CUSTOMER_ID:' + $v( 'P2_CUSTOMER_ID' ) + '\u0026p_dialog_cs=QxixrjW-ZGmCMXTNBPlITtOG_X3aShXqYmmaugetfJ8rYKRHHpJpeskKbIEO3qpqVIkX-dWYaqbZ0_AGq3ASTg',{title:'Sample Database Application - Customer Details',height:'480',width:'660',maxWidth:'1000',modal:true,dialog:null},'t-Dialog--wizard',$('#my_button'));
    

    Obviously, you will not be able to use the Protection of the Session State for the P7_CUSTOMER_ID dialog page item, so you set the page of dialogue level attribute Access Protection Page to the Unrestricted.

    The amount of control that see you in the URL is really just to protect the dialog box itself.

    Concerning

    Patrick

  • Helps the modal dialog box a value back to the calling page

    Greetings,

    Apex Version: 4.1.0.0.32


    What I'm trying to do is create a modal dialogue that is called from a form page. The user dialog box will report to IR which allow him to select a line and send a value of this line to a field of the calling page. I work in Firefox, but I get an error using IE 8. I hope that someone can show me why it does not work in Internet Explorer.

    Here's how I do it:

    Of the calling page:

    Created a button
    Action: Redirect URL
    Target URL: javascript:var rc = window.showModalDialog ('f? p = & APP_ID.:70: & SESSION.: & DEBUG.:', ",'resizable: Yes;) Center: Yes; dialogWidth:1000px; dialogHeight:500px ;') ;


    On the page called:

    The called page is an IR report where the query returns this as one of the columns:

    * (Note: I had to put a point '.' before the onclick so he could show in this thread.) It is not there in my actual code.) *
    select
    <a href="#" name="z" style="color:blue; text-decoration:underline;" .onclick="javascript:passBack(''' || LOT_NO ||''');">Select</a>' SelectThis
    , column1
    , column2
    from sometablename;
    This solves the anchor:
    <a .onclick="javascript:passBack('232158');"  href="#">Select</a>
    Here is the function Javascript is called the anchor onclick:
    function passBack(passVal1)
    {
      opener.document.getElementById("P75_ITEM1").value = passVal1;
      close();
    }
    When I run the present in Firefox, it works as expected. I click the button on the parent page. The modal dialog box is open and the report of the IR is displayed. I click on one of the links in the report and it returns the correct value to the appellant and closed page modal dialog box.

    When I run it in IE8, it fails. I click the button on the parent page. The modal dialog box is open and the report of the IR is displayed. I click on one of the links in the report and I get this error: 'opener.document is null or not an object ".

    I hope that it is clear and that someone can help.

    Thank you

    Larry

    A quick google search determines that window.opener does not exist when you use window.showModalDialog

    Range of suggestions to use window.open instead of window.showModalDialog to use instead of window.opener dialogArguments

    Try the following:

    The parent page to define a getPopupValue() function:

     function getPopupValue(){
       var dr =  window.showModalDialog('f?p=&APP_ID.:70:&SESSION.::&DEBUG.:::','','resizable:yes;center:yes;dialogWidth:1000px;dialogHeight:500px;');
    
        if ( (dr != undefined) && (dr != '') && (dr != false) ){
         $x("P75_ITEM1").value = dr;
        }
     }
    

    Change the url of the button to call the function:

     javascript:getPopupValue(); 
    

    On the popup page change the valve function for:

    function passBack(passVal1)
    {
      returnValue = passVal1;
      close();
    }
    
  • interaction of the modal dialog box with master apex 5

    Hello

    Apex 4.2 that my links has been built with sql only for the specified lines, links point to event opening the modal dialog box.

    Can you tell me how should I format link to open the modal dialog box for interactive report?

    Hi jareeq,

    jareeq wrote:

    Apex 4.2 that my links has been built with sql only for the specified lines, links point to event opening the modal dialog box.

    Can you tell me how should I format link to open the modal dialog box for interactive report?

    Please see the example of a modal dialog box of region in sample dialogue is available in packaged Application.

    This will give you an idea how to call a modal dialog box for interactive report link.

    or better create sample on apex.oracle.com which will be easier for users to give you the appropriate solution.

    Kind regards

    Jitendra

  • Number of the modal dialog box

    Hi team,

    I'm developing a modal pop-up dialog page base to APEX 5. My requirement is during the click on column interactive report, I need to open the modal dialog box... I don't understand what I'm doing wrong with that:

    Step 1: Created a page of normal mode 1 with interactive report and column link to page 2

    Step 2: Page created 2 with the dialog box modal as a model.

    But my link does not have apex.naviagtion.dialog as seen in the application "sample dialog. I am getting following error

    2 request 102358 dialog page cannot be returned successfully. If make sure that the template in use on page 2 is the type of model 'Page of dialogue', with the JavaScript dialog initialization appropriate, closing the dialog and dialog box cancel the code defined.

    Workspace: sun_bhatia

    User name: sunil

    Password: sunil

    Application 102358

    Please can someone tell me what wrong I do it in steps. T

    Thank you

    Sunil Bhatia

    OK, the trick to work around this problem is that the dummy parameter value must be a substitution of the report the column value string and not a literal, as I used initially.

    The IR link column and the column link in column 1 are working in the area of interactive report migrated from Standard report .

  • How to change the stop dialog box?

    So I will try to change the image of the banner of the stop in Vista dialog box, would anyone here happen to know how to do this (or if it is possible)?

    This:

    http://www.vistarevisited.com/wp-content/uploads/2007/12/quick-shutdown-thumb.jpg
    I checked a few dll in System32 (shell32, Shellstyle.dll, shgina [because the xp shutdown dialog box is apparently 'msgina.dll']) but I don't see anything that had to do with the shutdown dialog box. I thought that it would be better to ask before going through each file in system32.
    Any information would be very helpful, thank you.

    (btw, I searched google and bing nothing works, that's why I ask. "I doubt that many people would want to do this.)

    Thanks for your reply.

    I already searched the internet for the software, and I found a few programs that allow me to edit .dll files (which is what I assume that contains the info dialog box). I want to know is what file contains the dialog box information.

    EDIT: found, I guess this thread can be closed now.

    For future reference, the banner of the shutdown dialog box (among others) is located in C:\Windows\Branding\Basebrd\basebrd.dll

    Now I have my Vista Home Premium set up to look as if it was the pinnacle. : D

    including the logo to the login screen (shich is contained in the same file, the file number 120 in the Bitmaps folder.

  • How do hide us the modal dialog box for the second time.

    Hi all

    I've done the process by creating the dialog box modal, everything works fine but once again when the page is loaded it is showing the new dialog box.
    How we can limit the process of dialogue.

    The steps of #.

    1 created an onload function like onload = "promptUserSearch (); »
    2. has created a vaibale hidden like 'P6_CHECK '.
    3. setting of what is hidden as "O" in javascript as funcation
    function promptUserSearch() {}
    {if ((document.getElementById('P6_CHECK').) Value is 'Y')}
    $('#dialog-confirm').dialog ('open') ;}}
    4. has created a process of the page header and check the number is greater than or not.
    5 given that I am setting the P6_CHECK as "Y" or "N".
    6 intally when loading the page in the scrren mine it will be and by deafult if they click on the button search then I need display the dialog box that is to the poster, but when I click on the "entry" button in this dialog it will load the same page but once again the dialog is apperaing agaian in this scenerio. How I need to solve this problem?



    For your Favorites, I put the query in the page header process

    declare
    number of v_count;

    Start

    SELECT count (*) from v_count
    MF FORM.
    BM bench,
    part PP,
    tag KT
    WHERE MF. ENGAGEMENT_ID = BM. ENGAGEMENT_ID
    AND WB. ENGAGEMENT_ID = PP. ENGAGEMENT_ID
    AND PP. ENGAGEMENT_ID = KT. ENGAGEMENT_ID
    AND (MF. ENGAGEMENT_ID =: P6_ENG_ID OR KT. KEY_TAG =: P6_ENG_KEY OR BM. REFERENCE =: P6_ENG_BENCH OR PP. PARTICIPANT =: P6_ENG_LEAD
    OR FM. ENGAGEMENT_COUNTRY =: P6_ENG_CNTY OR MF. ENGAGEMENT_COUNTRY =: P6_ENG_CNTY OR MF. ENGAGEMENT_STATE =: P6_ENG_STA
    );

    If v_count > 0 then
    : P6_CHECK: = 'N';
    on the other
    : P6_CHECK: = 'Y ';
    end if;
    end;


    Thank you
    David...

    Can you reproduce this on apex.oracle.com?

    Also to encapsulate the code between the tags {noformat} {noformat}

  • Possible to update the display of the art behind the modal dialog box?

    I am trying to create a plugin that changes the attributes display and art in a modal dialog box. I would like to change to show that they are made in the dialog box before the dialog box is disabled.

    From now on, it seems that the view is only updated when the dialog box is disabled.

    Is there some registrant can I send, or on function call to trigger a new drawing of in my UIController?

    Again, I think I answered my own question. By the discussion here: AI Document-view synchronization problem

    I called AIDocumentSuite-> RedrawDocument() 2 x. That seems to have done the trick.

  • How to use the Run dialog box to get a history of the MS updates

    What command is entered in the Run dialog box to get a history of all the Microsoft Updates that have been downloaded?

    Disregared review updatehistory option on the Microsoft Updates web site.

    Strictly speaking run here dialog box

    For Windows XP, of course

    Open Add/Remove programs and make sure that the show updates at the top box is checked. Scroll & you will see a (long) list of Windows updates, you have installed.

    On the other hand, you can find Belarc Advisor more to your taste: http://www.belarc.com/free_download.html

    PS: CrystalBall sez you can see http://aumha.net/viewtopic.php?f=62&t=33827

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • How to call the print dialog box as soon as pdf is open?

    A pdf template has been created using adobe livecycle, then the final pdf is created using pdfMerger. Is there a way to call the print dialog box whenever the PDF is opened? Y does it have that no thate javascript should be used?

    I've never used a pdfMerger, but have you tried the following in the docReady event as suggested earlier?

    event.target.print();
    
  • How to open the Options dialog box to display the curves on the properties panel

    I can find the dialog box options display of curves when I opened the curves by the image > adjustments > curves but correction I do it is not about when to use the curves in the properties panel.  I prefer using the properties panel, but try as I might I can't find a way to access the curves Display Options there.  I need to go back to the 'light' button so that my shadow is in the lower left corner and highlights are in the upper right corner, and not vice versa, as they are now.

    You will find the Display Options of curves for the curves adjustment layer on the shortcut menu in the properties panel

  • Automation of printing - how remove us the WARNING dialog box?

    Hello world

    I'm working on an automated test tool that prints a PDF with Adobe Reader via Adobe supplied ActiveX controls.

    I use AcroPDFLib and AxAcroPDFLib in a form of Visual c# with Adobe Reader 9.2.

    The following code runs fine and translates the user is warned of this annoying dialog box:

    axAcroReader.LoadFile (fileName);

    axAcroReader.printAll ();

    adobeprint.png

    If I select "do not show this message again", this setting is maintained for the duration of this ActiveX control.  However, if I restart the application and print again, I am invited once more with this dialog box.  I use the same user and simply closing and reopening of the application.

    Why is it so?  Is there a way to make this setting persist (preference scale of the computer for all users, but I'd settle for persistence by user)?

    In my Google search, I came across the following registry setting, which seems to not do anything for Adobe Reader 9.

    [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\7.0\AVAlert\cCheckbox\cEWH]
    "iWarnScriptPrintAll" = DWORD: 00000001

    This registry key is supported in Adobe Reader 9?  Is there a key that we can install to remove this prompt?  I saw several other posts on this topic, but no resolution that still use the AxAcroPDFLib.printAll ().

    Thanks in advance,

    -Daniel

    In theory, it would be possible to provide a registry setting, but at the moment no such key exists.

    This control is not designed for automation - it is designed for interactive navigation.  If you want the automation, we have a separate product that is designed for this purpose.  It is called LiveCycle ES and has various components including one for printing.

  • How to remove the Save dialog box before you close the form?

    Hi all

    I've created a form that will open a data connection to a button click.

    I get the error on failure and the code to close my form of app.execMenuItem ("Close");

    but a save dialog box appears before I can close.

    (maybe because I did something on the opening form),

    It is able to remove it? Or simply impossible?

    Best rgds.

    Hmmm,

    What happens if you add?

    Event.Target.Dirty = false;

    app.execMenuItem ("Close");

Maybe you are looking for

  • Messages

    Hei guys, I want to ask if it is possible to recover the deleted messages on iphone. Specifically, I want to know if it is possible to see the messages since the beginning of the icloud account somewhere. I've used software but it gives me since Janu

  • Satellite C660 - which driver for the brightness of the keys to work?

    I did a clean install of Windows 7 and installed all the drivers from the Toshiba site but my function keys do not work. No idea how I can make it work?

  • Support of course Microsoft CBSE

    Hello I read topic microsofts course offers CBSE subjects, as mentioned in YOU according to this link below http://timesofindia.Indiatimes.com/tech/careers/education/Microsoft-launches-teaching-tools-for-schools/ArticlesHow/13959646.CMS I've also rea

  • Operating instructions did not come with my wireless 2000 - need a

    I bought this wireless 2000 keyboard and hooked up but no instructions came with it.  Is it possible to get an or are there instructions on your website?

  • Recover my photos of family of the (D) HP_Recovery Partition?

    The product name and number: HP Pavilion dv6700, Windows Vista 64-bit, the original operating system crashed and a technician installed a new Windows Vista 64 bit OS. (D) HP_Recovery Partition is always resident. It has 12.8 GB of stored data. (D) HP