Embed URL in a pop up window (Modal)

Hi All,
My requirement is to call a URL inside a pop window and the window should be a Modal.
I was able to call a URL using method create_external_window ( if_wd_window_manager->create_external_window ), but was
unable to make this as a Modal. Even though I set the parameter 'MODAL' of method create_external_window to abap_true, it still doesn't work.
So, I embed the URL in an iframe inside a view. After making this view as a part of a window, I call the window using method create_window ( if_wd_window_manager->create_window ). I was able to set this as a Modal. But the problem with using iframes is the pop ups inside a URL doesn't open if the URL is made a part of iframe.
Any other suggestions how to solve this ?
Thanks,
Tom

Hi,
Just want to share that in WD, only Modal popup are possible. you can see this in description of parameter MODAL of method CREATE_WINDOW (Obsolete! Only Modal Popups Are Supported).
Thanks,
Chandra

Similar Messages

  • Current URL in a Pop Up Window

    All right, I need help!
    I have this page called Contact.asp. A hyperlink named
    Feedback is on that page. When you click on Feedback, it opens a
    Pop Up window named Feedback.asp.
    How do I display the URL, which would be
    www.somesite.com/contact.asp in a text field of the form on the Pop
    Up window (Feedback.asp)?

    Not sure I understand correctly.
    You could just type the name in like this:
    <input name="URL" type="text"
    value="www.somesite.com/contact.asp">
    OR use the "HTTP_REFERER"
    <?php echo $_SERVER["HTTP_REFERER"]; ?>
    Not sure what you need?
    Cheers
    "Brachole" <[email protected]> wrote in
    message
    news:felgo7$rfj$[email protected]..
    > All right, I need help!
    >
    > I have this page called Contact.asp. A hyperlink named
    Feedback is on that
    > page. When you click on Feedback, it opens a Pop Up
    window named
    > Feedback.asp.
    >
    > How do I display the URL, which would be
    www.somesite.com/contact.asp in a
    > text field of the form on the Pop Up window
    (Feedback.asp)?
    >
    >
    >
    > Here's the script on Home.asp:
    >
    > <script>
    > function openApp(){
    > var popurl="
    http://www.somesite.com/Feedback.asp"
    >
    winpops=window.open(popurl,"","width=615,height=550,scrollbars,")
    > }
    > </script>
    >
    > <a href="javascript:openApp()">Feedback</a>
    >
    >
    > Here's the html form on Feedback.asp
    >
    > <form name="form1" method="POST"
    action="<%=MM_editAction%>">
    > <input name="URL" type="text" id="URL">
    > <input type="submit" name="Submit" value="Submit">
    > <input type="hidden" name="MM_insert"
    value="form1">
    > </form>
    >

  • Allowed pop-up windows still being blocked

    I selected to block pop-up windows. I then added a URL to allow pop-up windows for, but, the URL is still being blocked.

    You can inspect and manage the permissions for the domain in the currently selected tab via these steps:
    *Click the "[[Site Identity Button|Site Identity Button]]" (globe/padlock) on the location/address bar
    *Click "More Information" to open "Tools > Page Info" with the Security tab selected
    *Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab
    You can inspect and manage the permissions for all domains on the <b>about:permissions</b> page.
    *https://support.mozilla.org/kb/how-do-i-manage-website-permissions

  • Since installing 3.6.9 my Joomla content editor pop-up windows no longer return the URLs selected

    I recently upgraded to Firefox 3.6.9 and found that when using the editor in a Joomla 1.0.15 website , the content editor pop-up windows no longer return URLs selected (eg: image or file URL to be used in a link). I have been using the site with no problems for many years, and the problem was cured when I reinstalled 3.6.8

    Thanks cor-el but the problem is not in my web development but is a new issue/problem in FireFox which was not present in all versions up to and including version 3.6.8 and was only introduced in version 3.6.9. I have also established that the same problem also exists in FireFox version 4 beta 6 and have therefore also raised a second question today.
    My understanding was that I should raise these issues in this forum, but I will also check out the other forum.

  • When i type the https URL in my FireFox browser version 3.6 to 5.0, i get login pop up window two times. But in IE browser i get only once. Please tell me why FireFox is showing pop up screen two times to enter my uid/pwd. Thanks!

    We have our company internal application which is protected by SiteMinder. When we type https://appname.domain.com in IE i get popup window asking me to enter uid/pwd and works fine. However same URL when i login in FireFox, i get pop up window two times. So i wonder why FF is asking two times instead of just only once.
    Thanks for your help.

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Opening Centered Pop-up window with Dynamic URL

    I got some code for a centered pop-up window in Flash from a
    Kirupa tutorial. It works well, except that you are supposed to put
    an actual URL for the 'address' variable. I'm using a dynamic URL
    (+url[p]+) for my URL. When I put address = "'+url[p]'"; for the
    address, it doesn't work.
    Here's the code for the button:
    on (release) {
    //customize the window that gets opened
    // 0 equals NO.
    // 1 equals YES.
    address = "'+url[p]+'";
    target_winName = "FlashDevelopment";
    width = 700;
    height = 400;
    toolbar = 0;
    location = 0;
    directories = 0;
    status = 1;
    menubar = 0;
    scrollbars = 1;
    resizable = 1;
    //sends data back to the function
    openWinCentre(address, target_winName, width, height,
    toolbar, location, directories, status, menubar, scrollbars,
    resizable);
    And here's the function:
    // New Window Function
    _root.openWinCentre = function (url, winName, w, h, toolbar,
    location, directories, status, menubar, scrollbars, resizable) {
    getURL ("javascript:var myWin; if(!myWin ||
    myWin.closed){myWin = window.open('" + url + "','" + winName +
    "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar +
    ",location=" + location + ",directories=" + directories +
    ",status=" + status + ",menubar=" + menubar + ",scrollbars=" +
    scrollbars + ",resizable=" + resizable +
    ",top='+((screen.height/2)-(" + h/2 +
    "))+',left='+((screen.width/2)-(" + w/2 + "))+'" +
    "')}else{myWin.focus();};void(0);");
    Any idea why my dynamic url is not being recognized?

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • I get a pop-up window that says "URL cannot load." What gives?

    At random, well known sites, I randomly get a pop-up window that says, "The URL is invalid and cannot be loaded." Firefox does load the site but I must click out of the pop-up to proceed.
    What gives? I'm running Windows 7 on a new HP laptop

    '''~ I HAD THE SAME PROBLEM WHEN TRYING TO WATCH NETFLIX MOVIES ONLINE SO I HAD TO SOURCE IT MYSELF BECAUSE NOONE ELSE HAD THE ANSWER, THESE ARE THE STEPS I TOOK: (MOZILLA FIREFOX 4)'''
    '''1.''' MAKE SURE YOUR NETWORK SETTINGS ARE SET TO "AUTODETECT SETTINGS FOR THIS NETWORK", (TOOLS--> OPTIONS--> ADVANCED--> NETWORK--> CONNECTION SETTINGS--> "AUTODETECT PROXY SETTINGS FOR THIS NETWORK"
    '''2.''' DISABLE ALL EXTENSIONS; (TOOLS--> ADDONS --> EXTENSIONS)
    (I ALSO HAVE AVG ANTIVIRUS, SO I HAD TO DISABLE THE AVG TOOLBAR EXTENSION)
    '''3.''' DISABLE MOST ADDONS EXCEPT ESSENTIALS LIKE SILVERLIGHT, SHOCKWAVE FLASH , & JAVA PLATFORM; (TOOLS--> ADDONS --> ADDONS)
    '''''~ NOTE: IF YOU HAVE MORE THAN ONE AUDIO/VIDEO PLAYER THERE MAY BE A CONFLICT.'''''
    '''4.''' IF YOU HAVE ITUNES IT WILL INSTALL QUICKTIME AS THE DEFAULT HANDLER OF APPLICATIONS IN YOUR BROWSER, SO I HAD TO UNINSTALL QUICKTIME WHICH I NEVER USE.
    '''5.''' IF YOU HAVE REALPLAYER, IT MAY ALSO CAUSE CONFLICTS WITH YOUR ADDONS & OTHER AUDIO/VIDEO PROGRAMS, SO I UNINSTALLED IT SINCE I WAS ONLY USING IT TO RECORD & DOWNLOAD INTERNET VIDEOS (OPTING FOR A SIMPLER DOWNLOADER)
    '''6'''. I FINALLY HAD NO PROBLEMS WITH INSTANT WATCHING OR URL INVALID PAGES ON NETFLIX, ETC., AFTER FOLLOWING THE PREVIOUS STEPS.
    '' ''' GOOD LUCK'''''

  • A bank weBank b site was pop up windows. What a set the url the bank has pop -up

    A bank were pop up windows. A detail . Firefox 4 a option pop up

    Thanks cor-el but the problem is not in my web development but is a new issue/problem in FireFox which was not present in all versions up to and including version 3.6.8 and was only introduced in version 3.6.9. I have also established that the same problem also exists in FireFox version 4 beta 6 and have therefore also raised a second question today.
    My understanding was that I should raise these issues in this forum, but I will also check out the other forum.

  • Problem in creatign pop up window

    hai gurus i am using the following code for creating a pop up window wehn i press button but when press a button it is giving exception  can any one help me out if anything missing
    i am calling this method on button action
    the exception
    Das Window TESTWINDOW existiert nicht innerhalb der Komponente ZPOPUP
    data :  l_window_manager type ref to if_wd_window_manager,
            l_cmp_api type ref to if_wd_component,
            l_window type ref to if_wd_window   .
            l_cmp_api  =  wd_comp_controller->wd_get_api( ).
            l_window_manager  = l_cmp_api->get_window_manager( ).
            append 'it is pop up window' to lt_text.
            CALL METHOD l_window_manager->create_window
              EXPORTING
               MODAL             = ABAP_TRUE
                window_name       = 'TESTWINDOW'
                 TITLE            =  'my window'
                 CLOSE_BUTTON      = ''
               BUTTON_KIND       =
               MESSAGE_TYPE      = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
               CLOSE_IN_ANY_CASE = ABAP_TRUE
              receiving
                window            = l_window
       regards
    afzal

    Hi Mohammad,
    The error says that the window TESTWINDOW that you are passing to the window_name attribute of create_window does not exist. I guess that you would have created a view to be displayed as the popup. So now right click on the WINDOWS node on your left hand side & select "Create". Create a new window TESTWINDOW. Then double click on this newly created window & go to the "Window" tab & embed the view within this window. It should be working fine.
    Regards,
    Uday

  • Want to design a "clean" pop up window

    I would like to create a pop up window that is basically a music player.  I want this because I would like people to be able to turn on the music and listen continuously as they browse the site (it's a local music site).
    I created a separate html file for the pop up and added a behavior and set the size.  Here is what I get:
    It's pretty ugly.  What I would like is:
    1)  player should open in the left corner of the page
    2)  No url bar
    I'm not opposed to doing it another way - any suggestions?
    Thanks,
    Gary

    Sorry, but you can't remove browser default address bars from traditional pop-up windows.  They're ever present to protect your site visitors from interacting with unknown sites/pages. 
    For clean pop-ups, use a modal window like floatbox:  http://randomous.com/floatbox/demo
    The only downside here is that your site visitors cannot interact with pages while the modal window is in focus.
    In terms of copyright, you need WRITTEN permission from the recording artists / composers before you post their songs on your site.   This is to protect you and the site owner from costly litigation later.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Pop up windows in SharePoint 2013

    hello expert...
    i have a report that has drilled through action (open subreport on click) in a new window. i have deployed the same report on the SharePoint 2013 however when i performed drill through action and expected the subreport to open in new window
    but nothing happens.
    i want to ask how can i perform pop up window in sharepoint 2013?

    For some reason I thought I ran into this problem but it's been so long ago. One thing you might end up having to do is link directly to the sub report using paramaters passed via URL. So something like
    https://sharepoint.domain.org/reports/report1.rpt?parameter1=x;parameter2=y so it loads the report using those parameters.
    Basically try to do a click link in the report to google using the pop up code and see if you can at least get like google to come up separate, then you can just build a URL link to a report with the paramets to get into the report with the data needed.

  • How to pass value from main window to pop up window?

    I want to pass a value from the main window (1st form) to pop-up window (2nd form). The first form is of name booking.jsp and 2nd form is of name Fund_booking.jsp. I am using window.showModalDialog to open the window. I think, I have written right code in main window to pass the value but even then I am not able to get it on pop-up window. I am not even able to display an alert on pop-up window saying "hi" by writing a function on save Button in pop-up window. The code is as follows:
    On booking.jsp:
    <script>
    function popup()
    var aForm;
    aForm = D_requisition_id.options[D_requisition_id.selectedIndex].text;
    \\Here I have captured value from a drop down box in my main window form and assigned it to the variable.
    alert(aForm);
    var myObject =new Object();
    myObject.Brandcode = aForm;
    alert(myObject.Brandcode);
    window.showModalDialog("Fund_booking.jsp",myObject,"dialogHeight:400px;dialogWidth:420px;");
    </script>
    <button name="B_FundBooking" tabIndex=4 style='POSITION:absolute;LEFT:393;TOP:292;WIDTH:100;height:24;BACKGROUND-COLOR:buttonface' onClick ="popup()">Fund Booking</button>
    On Fund_booking.jsp:
    <SCRIPT>
    var oMyObject = window.dialogArguments;
    var sBrandcode = oMyObject.Brandcode;
    alert(sBrandcode);
    </SCRIPT>
    Even the following alert is not getting displayed in pop-up window;
    <script>
    function ValidateData()
    alert("Hi");
    </script>
    <button name="B_Save" tabIndex=1 style='POSITION:absolute;LEFT:255;TOP:315;WIDTH:75;height:24;BACKGROUND-COLOR:buttonface' onClick ="ValidateData()">Save</button>
    I am using DIV instead of frames in my both forms. I just want to get that value in my pop-up window to write a query based on which data will get displayed in my table of pop-up window.
    Plz help me to solve this problem.

    just attach the value with its url for example
    String names="java";
    <a href="# onclick="window.open('file.jsp?name='+names);"></a>

  • Help,how close pop-up window ,and open another view

    Hello,
    How click the pop-up window button ,then close the pop-up window .
    At the same time open another VIEW,and  transfer PO number to the VIEW.
    thanks

    Hi,
    First step is set the SCREEN TYPE as "Modal Dialog Box" in screen property tab.
    Then in PBO of the popup screen take a new GUI status and select DIALOG BOX as status type.
    Then assign some function code in 'X' button say 'CANCEL'.
    the put ur logic like below :
    PBO
    module gui_status.
    PAI.
    module user_command.
    module gui_status.
       set pf-status 'ZPOPUP'.
    endmodule.
    module user_command.
      if ok_popup = 'CANCEL'. " Where ok_popup is the ok_code variable in ur popup screen , also define it in TOP include
        leave to screen 0.
    endif.
    endmodule.
    Hope this will solve your problem and help you to put your logic.
    Thanks

  • How to Pass Variables from One Application to Another Pop Up Window

    Hi,
    I am wondering if anyone on the list has tried calling up a
    pop up manager, and have two other variables imported for secondary
    usage. I have tried using [Bindable], but this does not seem to be
    working, and I am still getting errors that tells me that the
    variables are "not defined" when it gets passed to another
    HTTPService. I tried embedding the Pop Up Manager in the same
    application as the one that is supposed to "pass the variables,"
    but it no longer acts as a pop up window.
    Could anyone please tell me where I can find the answers for
    this?
    Thanks in advance.
    Here is the code of what I have for my pop up manager:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical"
    title="New Scenario"
    showCloseButton="true"
    width="325"
    height="145" horizontalScrollPolicy="off"
    close="titleWindow_close(event);">
    <mx:Script>
    <![CDATA[
    import mx.events.CloseEvent;
    import mx.managers.PopUpManager;
    import mx.controls.Alert;
    [Bindable]public var message:String;
    [Bindable]public var message2:String;
    private function titleWindow_close(evt:CloseEvent):void {
    PopUpManager.removePopUp(this);
    private function submit_click():void {
    Alert.show(scenario_name.text, "Alert");
    new_scenario.send();
    PopUpManager.removePopUp(this);
    var win:Hello = PopUpManager.createPopUp(this,Hello, true)
    as Hello;
    PopUpManager.centerPopUp(win);
    private function reset_click():void {
    scenario_name.text = "";
    ]]>
    </mx:Script>
    <mx:HTTPService id="new_scenario" method="POST" url="
    http://localhost/simulator/scenario.php"
    useProxy="false">
    <mx:request xmlns="">
    <scenario_name>{scenario_name.text}</scenario_name>
    <message>{message}</message>
    <message2>{message2}</message2>
    </mx:request>
    </mx:HTTPService>
    <mx:Form>
    <mx:FormItem label="Scenario Name:">
    <mx:TextInput id="scenario_name"
    text=""
    maxChars="45" />
    </mx:FormItem>
    </mx:Form>
    <mx:ControlBar horizontalAlign="right">
    <mx:Button id="submit"
    label="Submit"
    click="submit_click();" />
    <mx:Button id="reset"
    label="Reset"
    click="reset_click();" />
    </mx:ControlBar>
    </mx:TitleWindow>

    Hi,
    I am trying to display some data on the Child window that
    would need to take the data from the parent titleWindow, which
    could be drop down menus, text labels or combo boxes. I would need
    to use a HTTPService on the child dialog box to accomplish task I
    think, but the problem is, how would I get the information from its
    parent window? The example I have are all about how the text input
    from the child window gets feed back to the parent.
    Would I need to create a "reverse" declaration or something
    so I can access the information from the parent in the child
    window?
    I hope this makes sense.
    Thanks for your help.
    Alice

  • Pop-up window for eBay

    I use dreamweaver to make some eBay adds for work, so I can
    just copy the code into eBay’s web site. This also allows me
    to input more pictures and links in my advert.
    Is there a way to set a behaviour so a picture will open up
    in a new smaller pop up window once the link is clicked without
    having to write “javascript:;” in the links bar and
    still keeping the original page below.
    eBay’s web site will not allow any Javascript!

    Just link to the larger image using it's full URL.
    You might also be able to use the (deprecated) "target" tag
    to laynch it in
    a new window?
    Cheers,
    Rob
    http://robgt.com/ [Tutorials and
    Extensions]
    Skype stuff:
    http://robgt.com/skype
    SatNav stuff:
    http://robgt.com/satnav

Maybe you are looking for

  • Using airplay with multiple devices and different apple IDs

    I have Apple TV, iPod touch and iPad utilizing 2 different apple IDs. I can't seem to get airplay working on both devices. Help appreciated

  • Ituneshelper was not installed properly error 7, help!

    i have uninstalled and installed many times, gone through how apple says to do the process, both manually and using the revo program, have done every step possible on the revo program more than once, and every time i install itunes it says ituneshelp

  • How to see all previous keystrokes?

    How can I see all the previous keystrokes on my mac? the mac is a new IMAC Intell. Is there a way to see all of the keys that were used? Let me know. Thanks.

  • Storing my catalog on separate fast internal drive...?

    I'm curious as to whether certain performance issues with Lightroom 4 are related to my setup...I am on Windows 7, 12GB RAM, 2 750GB 7200rpm hard drives (internal) and several external drives. The way I have it set up is: C: - Where Lightroom is inst

  • OADP-MSS Reports-Report selection drop down

    All Experts, I am publishing few important reports in MSS portal where Teamviewer option is major challenge for me. I can publish the team viewer dropdown in the defined  selection criteria option with the help of OADP org. structure view node. Now I