How to open modal popup using javascript in iPad ?

Hi Apps masters
How to open modal dialog ?
How to return selected value to parent value ?
How to close modal dialog ??
Thanks,

Hi,
Try This
function aboutOkButton(event) {
var v= event.getSource();
var popup = v.findComponent("popupId");
popup.hide();
event.cancel();
Sameh Nassar

Similar Messages

  • How find the missing glyph using javascript [like indesign preflight], and replace same glyph available font or

    The situation:
    I want to use basetext font, but some of the glyphs are missing in it, and are highlighted with pink boxes. common font [stix, etc.] have much more glyphs than basetext font. I can apply common font [stix, etc.]manually for each of the missing glyphs or insert two character and use kerning set it up, but it is tedious.
    Question:
    How find the missing glyph using javascript [like indesign preflight], and replace same glyph available font or insert two character and use kerning set it up?
    Any one know how to do this?
    Thanks in Advance,
    ~Jack

    Try Peter kehrl's script
    http://www.kahrel.plus.com/indesign/missing_glyphs.jsx

  • How to open/read file using Java in Unix?

    Hi Friends,
    Can you please help me out how to open/read file using java in unix os? I have create one text file in "/home/test.txt" in unix environment. How to open the same file & read using java code?
    - Hiren Modi

    http://java.sun.com/docs/books/tutorial/essential/io/index.html

  • How to open multi tasking using gesture in iphone 5s 7.0.6(11B651)

    How to open multi tasking using gesture in iphone 5s 7.0.6(11B651), i m able to open only by double press of centre button or using accessilbity multi tasking option.
    is it possible to open like ipad using a five finger upward gesture?

    is it possible to open like ipad using a five finger upward gesture?
    No. The "double click" method is the only way.
    iOS: Understanding multitasking - Support - Apple

  • How reset Acrobat form field using javascript API

    How reset Acrobat form field using javascript API

    There are several ways:
    resetForm(["Text1"]);
    or
    getField("Text1").value = getField("Text1").defaultValue;
    George

  • How to get SharePoint Groups using Javascript in SP2013 ?

    How to get SharePoint Groups using Javascript in SP2013 , not JSOM please

    Here is the code that worked for me:
    <script type="text/javascript">
    var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/web/sitegroups";
      var requestHeaders = { "accept" : "application/json;odata=verbose" };
      $.ajax({
        url : requestUri,
        contentType : "application/json;odata=verbose",
        headers : requestHeaders,
        success : onSuccess,
        error : onError
      function onSuccess(data, request){
    var s='';
     for (var i = 0; i < data.d.results.length; i++)
    s +=data.d.results[i].LoginName+'\n';
        alert(s);
     function onError(error) {
        alert("error");
    </script>

  • I have downloaded an app from the Istore and now I can't figure out how to open it or use it

    I have downloaded an app to use on my laptop and now I can't figure out how to open it and use it.  It shows it in the download area..........any suggestions would be great.

    Have you looked in your menu of programs (in Windows:  Start -> All Programs -> etc....)?

  • How to trigger the automated row fetch process and open modal window by javascript api?

    Hi,
    I would like to click the one row of column of IR report, to open the modal window of current page.  <----------------it is ok. I can use "javascript:openModal('windowID')"  to do it.
    There is one form in this modal window, Meanwhile, I would like to pass column data to this form.    <--------------------- it is ok also. I can use " $s('P7_ID','column_value');" to do it.
    But I don't know how to trigger the "automated row fetch" process of this form to retrieve other field's value in this form.   
    I tried to use following 2 ways. But failed.
    First method:
    add one ajax process of "automated row fetch" in "page processing" block, named "get_fetch_data"
    when click IR column , call "openModal", and call  "apex.server.process ( "get_fetch_data", {}, { success: function( pData ) { }  } );"  , I tried to call above ajax process to refresh form. It is failed.
    Second method:
    add one process of  "automated row fetch" in "page rendering" block, named "get_fetch_data"
    when click IR column, call javascript api "apex.submit" to submit current page , then call "openModal".
    such as :  javascript:apex.submit({request:'MODIFY',set:{'P7_ID': #ID#}}); openModal('trade');
    But it is failed also. the modal page is showed firstly. then page refresh. but modal window will not open again.
    I am not sure if my thinking is right. Could you please provide any suggestion?
    Thanks in advance,
    Ping

    Hi Ping,
    You can try to set the session state of your modal page's primary key before opening the modal page. Use one dynamic action (on click of IR row) with two true actions. First one to set session state of modal page pk, second on to open modal page.
    Or you can add the modal page url as link in your report by extending your query:
    select ...
    ,         apex_util.prepare_url( 'f?p='||:APP_ID||':7:'||:APP_SESSION||'::'||:DEBUG||':7:P7_ID'||COLUMN_VALUE ) as link
    from ...
    This will give you the url of the modal page, with set primary key.
    Regards,
    Vincent Deelen
    http://vincentdeelen.blogspot.com

  • How to open the popup with in Tab navigator  working area.

    Hi,
              I using the customized  panel to open it as popup by using  popup manager in the Tab navigator . The popup should be able to  move with in the tab navigator's  content area. Not outside of the tab navigator's  content area. How to do this? .What is the difference between opening the popup by using popup  manager and add children(); which one is best?
    Regards,
    Thiru

    It depends on your purpose. A popup displays information to the user, and it might be modal if the user should repsond to the popup before continuing, but why constrain it's movement to the space occupied by the TabNavigator.
    You could, in theory, check the x and y properties of the popup position, and then compare those with the x and y of the TabNavigator view area, though you might have to do some conversion between global and local coordinates.
    You might want to consider your design. Is a popup necessary? Perhaps not. If so, maybe do not consider constraining its movement as you have indicated.
    If this post answers your question or helps, please mark it as such.

  • How to close a popup using a function key in adf + Jquery

    Hello All,
    I want to display some error message using function key so I have used javascript function
    *function showText(event) {*
    var k = event.getKeyCode();
    *if (k == 115) {*
    ------------------------------------------CODE-------------------------------------------
    This is working fine on click of F4 it is invoking a popup and inside that popup in dialog it is showing some error messages. The property modal of dialog is true. So that user should not be able to navigate to main form until error message is closed.
    Now on click of F6 I want that error message to be closed. When I added af:clientListener on popup or dialog type="keyDown" is not available.
    So I thought using jquery for this. I have created a form.js file inside that I have written:
    *$(function first()*
    *               jQuery('*').bind('keydown', 'F6', function (evt){closePopup();evt.stopPropagation();return false;});*
    *function closePopup(){*
    *     alert("Do you want to close the error message");*
    I have also added jquery.hotkeys.js and jquery-latest.js file.
    My question here is How can i find that popup or dialog inside that jquery function and close it?
    On click of F6 I am getting that alert Do you want to close the error message but after that how can I find the popup or dialog and close it?
    I am new to jquery still I tried using some code:
    var dialog = event.getSource();
    var popup = dialog.findComponent("p1");
    popup.close();
    and
    var output1 = AdfUIComponent.findComponent("p1");
    output1.close();
    and
    curElm = document.activeElement;
    var frm = curElm.close();
    But none of them worked.
    Please help
    Thanks

    Hi,
    this whitepaper: http://www.oracle.com/technetwork/developer-tools/jdev/1-2011-javascript-302460.pdf has an example of registering keyboard keys on a global level (see page 36). So you would define a key to close dialogs in general. The paper also explains how to search and find components. Note that you should always work with the ADF Faces client side API and never against the generated markup or DOM (which in fact your code does)
    Frank

  • How to open a popup window through JSF

    Hi,
    I am new to JSF technology. I want to open a popup JSF page from home page. Is there any way to do that without using JS ? B'z i saw the link forum.exadel.com/viewtopic.php?t=559, In this he is using JS function to open the new window. I want to do that without using Script.
    Thanks in advance.
    Sudhakar

    assign a new frame name / window name to a form's target, when the form will be submitted, a new window will pop up
    But, AFAIK, you won't be able to set any of its properties (size, modal & so on), so JavaScript remains the best solution IMHO

  • How to disable the ribbon using javascript

    when open a PDF document using acrobat X, there is a Tool ribbon in the top right side (there is also a comment ribbon and share ribbon), how to disable or remove the Tool ribbon using javascript?
    I try to use app.listToolbarButtons() and app.hideToolbarButton(...) but not working.
    Any ideas?

    Not possible.

  • How to open a popup by *-event

    Hi experts,
    I have a form and a table.
    In the form, I have a button "details".
    I want to open a popup that shows details on the selected line of the table.
    I tried to use the asterisk-events (*openpop), as explained in the vc modelers guide. With this technique, I can transfer the selected table-row to a data store, but I cannot open a popup this way.
    What did I do wrong?
    Who knows a solution/workaround?
    Thanks in advance and best regards,
      Benni

    Hi Navneet,
    thanks for your reply. I do know how to create a popup. The problem is, it is not launchable from a table, when the event comes from a form.
    I cannot use the table's toolbar, as I need to disable and hide buttons dynamically. That's why I need a form with a button that launches the popup:
    [TABLE]-----*openpopup--
    >[POPUP]
    [FORM]
    The form contains the button, firing event "openpopup".
    The above scenario doesn't work.
    Who knows a solution?

  • How hard is it to use javascript to show/hide fields. Is it easier to use the action builder?

    I know nothing about javascript and all that ive been using so far has been stuff ive found on here (thank you everyone).
    Using the action builder seems like its gonna be very tedious to do since i have so many subforms that hide, would it be esier to use javascript?

    I know nothing about javascript myself but I just created a form with about 10 different subform that show or hide depending on what the user chooses from a drop down list and I used Action Builder. If we don't know javascript, how can we use it? But Action Builder did a fine job of hiding/showing wherever I needed it. And Action Builder can do more than one thing by clicking that + sign when you are building an action.
    For instance, I needed to place a button in each subform that would close both the field that the person was working in and also the subform on the next page where the information was going into floating fields in a text block that was only visible thru a drop down list text select. I could have never figured out how to do that based on my knowledge of javascript. Thank Adobe for including Action Builder in this version of LiveCycle and I use it all the time. I find it extremely easy to use but it takes a little mental training to think thru the steps of how you can use the menu in Action Builder to make your form do what you need it to do.
    And if all else fails, ask this forum. I struggle for just so long before I come here and ask for help. I always get the answer I need. I hope you will too.
    Good luck,
    Jeanette

  • Open Print Dialog using JavaScript

    Hi folks, I'm trying to open dynamically the print dialog window for printing the PDF (Ctrl + P) in WebDynpro ABAP using JavaScript.
    The JavaScript seems to be executed only for Interactive Forms, however I don't need to use interactive but only Print-Based Forms.
    This line of code works if I assign it to an event like click for a button, I tried to call it in the doc:ready event but it does not work
    xfa.host.print(1, "0", "0", 0, 1, 0, 0, 0);
    Please I need some help and I hope it's possible!
    Alex

    Thanks, we are getting close!
    This line of code works, but it does not prompt me with the print dialog box (because of the first parameter is 0)
    xfa.host.print(0,"0","0", 0, 1, 0, 0, 1);
    I got this message box "This document is trying to print. Do you want to allow this?" Yes/No....
    Ok, that works but I would like to have the standard print dialog window instead, where you could select your printers.
    This line of code prompt me to save the XDP, this is not what I want
    xfa.host.exportData("",1);
    In which event should I place the script??
    Also, script only seems to be executed for interactive forms, I don't want to generate interactive forms, they are more heavy to render, this is only for print based forms!
    thanks
    Alexandre Giguere

Maybe you are looking for

  • Major Problem with audio from Final Cut to DVd Studio Pro

    I am posting this problem again because no further responses have been received regarding my first post. I purchased an MR-HD100 Firestore device from Focus Enhancements. When I use clips from it alone or with other clips created by digitizing from m

  • Black and White prints pinkish

    Using version 2 on Windows XP...my black and white old photo which I scanned and removed some flaws from, prints with a pink or purple cast. How can I make it print black and white. Gail Cotten

  • [Request] ProcessMaker

    Hi to everyone: Could anyone package this?: ProcessMaker ProcessMaker is commercial open source Business Process Management (BPM) and Workflow Management software designed for small to medium-sized organizations. A lot of thanks.

  • Tutorial Videos Won't Play

    Whenever I attempt to watch any of the videos that are present under the "Learn" tab on the Creative Cloud home page the area where the video should be playing is black and nothing happens. How can I make it so that the videos will play?

  • Pan & zoom in Content Viewer on Mac

    I've inserted a "pan & zoom" overlay into my digital pub and it's working fine. But... Can i simulate the "pinch" technique of an iPad user in the Adobe Content Viewer on the Mac? Is tapping "-" and "+" the only thing available?