IFrame in a PopUp

Hi,
I have a component, that I use as a PopUp. Inside this
component I have an iFrame.
If I call the PopUp it opens and the url I want to load open
up in a new Browserwindow and not inside the IFrame. Could this be
bacause of a wrong reference to the window, when I call the URL?
This the actual code inside the iFrame component:
navigateToURL( new URLRequest( source ) ,
'myPopUp.theIframeIDinsideMyPopup' );
regards - Michael

This post is old but still thought a reply could do other wanderers/newbies some good.
The newer version of Iframe should have fixed it. Anyways the navigateToUrl method is used to open a new window.
Set the source attribute of your Iframe to the url that it should contain.

Similar Messages

  • Blank popup is displayed after popup is displayed

    Hi,
    Am calling an application from a link in another application. Both the applications are in the same component. The application that is being called is being displayed in an IFRAME and am just opening the view containing the IFRAME in a popup. The problem am facing is whenever am opening some popup in the popup (application 2) there is some other blank window named SAP Popup Window. Am not sure how to attach that screen shot here but anyone has any idea how to eliminate this.
    Thanks in Advance,
    Kiran.

    So you are running another WD Component/Application within an iFrame of a parent WD Application?  This is not a recommended or supported appraoch.  You should not use iFrames to intgrate WD Components.  Instead use Component Usages to embed the component within another component (use the ALV as an example).

  • Play audio/video/swf/flv in jsp

    Hi All,
    I am working on education site. I have a following requirement.
    1>User will search the educational resource
    2>Application will provide available resource list . Resource will be any of the following.
    a>video
    b>audio
    c>pdf/doc
    e>flv/swf
    3>User will click on any of the resource and then application will play/load the resource in iframe or in popup .
    Question: 1>How can we play audio/video/flv in jsp?
    2>If the resource is pdf/doc then how to open in iframe so that user can read only?

    "Update" to 11.5?
    Considering that 11.5 was last updated more than a year ago... that's hardly an update.
    You should be using the latest Flash Player:
    Flash Player 12.0.0.70 for ActiveX (Internet Explorer)
    Flash Player 12.0.0.70 Plug-in (All other browsers)
    Flash Player 12.0.0.70 Plug-in (Mac OS X)

  • Remove window title

    Hi
    I have an an IFrame within a popup window.  I do not wish to see the window title on the popup window.  Can it be made invisible or removed?
    Cheers
    Ian

    Hello
    ..or you can initilize the title when creating the window with lv_title = initial:
    l_window = l_window_manager->create_window(
                         window_name = 'TRANSPORT'
                         title       = lv_title
    Kind regards,
    Carola

  • In the Firefox browser, when i click button in ADF page, then popup  the OAF page in iframe tag,and then when i  click the PPR bean in  OAF page, then Firefox  browser reload to ADF page. This is not the right response,browser should not reload the ADF pa

    In the Firefox browser, when i click button in ADF page, then popup  the OAF page in iframe tag,and then when i  click the PPR bean in  OAF page, then Firefox  browser reload to ADF page. This is not the right response,browser should not reload the ADF page.It should stays in OAF page or goto another OAF page. and in other browser such ad IE,We get the right response.

    hello, normally such issues are caused by a firewall/security software which doesn't recognize & therefore blocks new firefox versions. please remove all program rules for firefox from your firewall and let it detect the new version of the browser again.
    [[Fix problems connecting to websites after updating Firefox]]

  • Dynamic Popup iFrame Problem

    Hi,
    I'm adding a dynamically created iFrame tag to my main page using javascript to function as a popup page instead of faces-config navigation rules. It dramatically furthers data/page load rendering performance. However, I've got a problem with values I want to pass to my main page since there's no dialog:popup or ReturnListener facility.
    I'm using Jdev 10g.
    Here is the javascript code to fire the iframe in my page:
    <script language="JavaScript">
    function newwindow(address) {
    var w= screen.width;
    var h = screen.height;
    var load = window.open(address,'','scrollbars=yes,menubar=no,height='+h+',width='+w+',left=0,top=0,screenX=0,screenY=0,resizable=yes,toolbar=no,location=no,status=yes');
    function openPopup (popUpUrl,popUpTitle,popUpWith,popUpHeight){
    document.getElementById("mainModalPopBg").style.display = "block";
    document.getElementById("mainModalPopBox").style.display = "block";
    var neww= screen.width;
    var newh = screen.height;
    var boxw= popUpWith;
    var boxh = popUpHeight;
    var boxleft = (neww-boxw)/2;
    var boxtop = (newh-boxh)/2;
    document.getElementById("mainModalPopBox").style.left = boxleft+"px";
    document.getElementById("mainModalPopBox").style.top = 60+"px";
    document.getElementById("modalPopBoxFrameContainer").innerHTML = "<iframe allowTransparency='true' id='popUpFrame' frameborder='0' src='" + popUpUrl + " '> </iframe>";
    document.getElementById("popupTitle").innerHTML = popUpTitle;
    document.getElementById("popUpFrame").style.width = boxw+"px";
    document.getElementById("popUpFrame").style.width = popUpWith+"px";
    document.getElementById("popUpFrame").style.height = popUpHeight+"px";
    document.body.style.overflow = "hidden";
    function closePopUp (){
    document.getElementById("mainModalPopBg").style.display = "none";
    document.getElementById("mainModalPopBox").style.display = "none";
    document.body.style.overflow = "auto";
    </script>
    Finally, the function openPopup is added to 'Onmousedown' javascript event of a commandlink in my main page.
    I would be thankful if you guys could help me out with some handy solutions in my case.

    Hi,
    Thanks for the reply. I suppose I'll encounter a problem accessing data in the popup page which is a row of a table. Could you clarify how I should reference Attribute Values/SelectedRowsData in the destination page with opener reference?
    I'm embedding a html Iframe tag in the main page when clicking on a commandLink. It adds a <div> tag containing an iFrame which fires a .jspx page that renders a viewObject's data as a readOnly table. I merely need to return some attribute values of the corresponding viewObject or SelectedRows of the table. I cannot use traditional returnListener method of my commandLink since the page is opened with javascript using an iframe tag.
    Great thankfully

  • IFrames and Popup Menus

    I have a popup menu and I want the options when
    selected to open in an iframe, however there seems to be no way to
    do this in Dreamweaver. I guess it need to be had coded to work.
    Any help one this issue please?
    Mr. Confused

    GeoffDear wrote:
    > SAXParseException: The sequence ']]>' is not allowed
    in character data
    > (contacts_notemplate_1.xsl, line 81, column 4)
    ]]> is the closing sequence of a CDATA tag. Presumably,
    the opening
    sequence is missing.
    <![CDATA[ This is a character data section that allows you
    to use < and
    & without driving an XML parser crazy. ]]>
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Iframe sandbox is not supporting allow-popups in FF version 29.0.1

    my FF version is 29.0.1. I am trying to open a website that have popups in IFRAME. Poup bliker is off and site is working properly when open directly in browse but not when open IFRAME. My I frame tag is formated as given below
    <iframe src="url"
    seamless sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-pointer-lock "></iframe>
    Regatds,
    Mahesh Gothi

    my FF version is 29.0.1. I am trying to open a website that have popups in IFRAME. Poup bliker is off and site is working properly when open directly in browse but not when open IFRAME. My I frame tag is formated as given below
    <iframe src="url"
    seamless sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-pointer-lock "></iframe>
    Regatds,
    Mahesh Gothi

  • Maximise Task Pages in iFrame popup Window when opened From ADF Task List

    All,
    We have built a custom worklist application that implements the Out of the Box Task list ADF Task flow. For application reasons, we have disabled the preview window (bottom section of task list) by using the Task Flow paramters.
    When navigating from the tasklist, it launches a new browser window for the applicable task.FYI the browser url seems to take the pattern of that below.
    http://<Server>:8001/LVWorkspace/faces/__ADFvDlg__?_adf.ctrl-state=fpkt030re_18&_vir=/LVWorkspace/faces/adf.dialog-request%3F_adf.ctrl-state%3Dfpkt030re_18&loc=en-US&_minWidth=750&_minHeight=600&_rtrnId=1355238885906&_afrLoop=1204852572759076&_afrWindowMode=1&_afrWindowId=ADFDialog10
    My question is is it feasible to control the size of this window? It allows seems to open a set size. The ideal would be to maximise the window to a full screen. This would save the users having to do this manually. Does anyone know if this is feasible? Or have any ideas suggestions for items you have done to perform similar functionality.
    Any help would be appreciated to see if this is feasible.
    FYI, we are using SOA/BPM 11.1.1.6.3
    Many Thanks
    Dave

    Hi,
    Sorry to reply to my own threads. If anyone doesn't have a resolutin for this, has anyone experienced issues like this with your own custom workspaces?
    Also in IE, when the tasklist page is closed (prior to it launching completely) the workspace reamins in model form.
    Has anyone experience this issue?
    Regards Dave

  • How to display a IE page in a view ,not popup  ?

    Hi! All
    Question 1st:
    I have create a html page by webdynpro,
    I want display this page in a view ,
    but when run this code,
    the IE page popup ,
    can you help me set the IE page in current view ?
    public void wdDoInit()
       //@@begin wdDoInit()
       String text = "<html><head></head><body>this is my test</body><html>";
       try
           IWDCachedWebResource resource = WDWebResource.getWebResource
             text.getBytes("UTF-8"), WDWebResourceType.UNKNOWN
            resource.setResourceName("test.html");
            IWDWindow window =
    wdComponentAPI.getWindowManage().createNonModalExternalWindow(
            resource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal()), 
            resource.getResourceName());
            window.show();
        catch(Exception ex)
            wdComponentAPI.getMessageManager().reportException( new WDNonFatalException(ex), false );
    Question 2nd:
      I have create a value context attribute under context.
      it's  name is "mywindow"
      it's  type is "com.sap.tc.webdynpro.services.session.api.IWDWindow"
      Do you know how to display  "mywindow" in a view ?
      I try to put mywindow in a InputField or a IFrame,
      but all failed !
    Thanks!

    Hi,
    This is the code to open up a window
        IWDWindow win = wdComponentAPI.getWindowManager().createModalWindow(wdThis.wdGetAPI().getComponentInfo().findInWindows(<window_name>));
        wdContext.currentContextElement().set<window_context>(win);
        win.setWindowPosition(WDWindowPos.CENTER);
        win.setWindowSize(250,150);
        win.setTitle("New Window");
        win.show();
    This will open up as a pop-up. If you want to open a html page on the same window then put an iframe in your view and set its source property correspondingly.
    Regards,
    Murtuza

  • Task flow-call  as a Dialog with inline-popup issue JDev 11.1.1.2.0

    I have a very serious issue with task flow-call running as a Dialog with inline-popup
    have bunch of data driven table components pointing to pageDefs with Iterators
    the problem is, the dialog comes first with nothing in it (blank) and it takes 3-5 seconds to fetch all views,
    this is useless, there is no option to control taskflow-call activation , like you do for af:region
    For reference : I am talking about this : http://jobinesh.blogspot.com/2010/08/refresh-parent-view-when-in-line-popup.html
    Download the workspace , connect as HR Schema and you will see what I am talking about
    looks really dumb, it would make sense to show dialog with data all at once, rarther than looking at blank screen to wait for the data to show up
    Edited by: user626222 on Sep 20, 2010 8:57 AM
    can I call this a bug?
    Edited by: user626222 on Sep 20, 2010 1:58 PM
    sometimes I wonder if anyone tested this, as soon as you have some data driven components on your page, you get all sorts of problems in ADF
    But something simple, Adf client side invokes the Dialog as a popup first, and then it thinks oh ya I get massive pageDef to load, so end-user customer will stare at the blank screen for 10 secs , hoping that something will come up or program is crashed
    Well, I am afraid to say you lost your customer :(
    Edited by: user626222 on Sep 20, 2010 2:29 PM
    Edited by: user626222 on Sep 20, 2010 2:35 PM
    Edited by: user626222 on Sep 20, 2010 2:35 PM
    Edited by: user626222 on Sep 20, 2010 2:36 PM

    ok, knowing this fact, I want to show some kind of status indicator during the wait time.
    Unfortunately, putting af:statusIndicator does not work untill after entire page loads
    <?xml version="1.0" ?>
    <?Adf-Rich-Response-Type ?>
    <content action="/EmpApp/faces/displayEmployees.jspx?_adf.ctrl-state=5plp6ahes_72">
    <fragment><![CDATA[<span id="f1::postscript"><input type="hidden" name="javax.faces.ViewState" value="!-e8tyzkiuc"></span>]]>
    </fragment>
    <fragment>
    <![CDATA[<div id="afr::DlgSrvPopupCtnr::content" style="display:none"><div id="j_id12" style="display:none">
    <div style="top:auto;right:auto;left:auto;bottom:auto;width:auto;height:auto;position:relative;" id="j_id12::content">
    <div id="j_id13" class="x142"><div class="x157" _afrPanelWindowBackground="1"></div>
    <div class="x157" _afrPanelWindowBackground="1"></div><div class="x157" _afrPanelWindowBackground="1">
    </div><div class="x157" _afrPanelWindowBackground="1"></div>
    <table cellpadding="0" cellspacing="0" border="0" summary="" class="x146">
    <tr>
    <td class="p_AFResizable x148" id="j_id13::_hse"> </td>
    <td class="p_AFResizable x14a" id="j_id13::_hce"><table cellpadding="0" cellspacing="0" border="0" width="100%" summary=""><tr>
    <td><div id="j_id13::_ticn" class="x151"><img src="/EmpApp/afr/task_flow_definition.png" alt=""></div></td><td class="x14e" id="j_id13::tb">
    <div id="j_id13::_ttxt" class="xz8"></div></td><td>
    <div class="x153"><a href="#" onclick="return false" class="xz7" id="j_id13::close" title="Close"></a></div></td></tr></table></td><td class="p_AFResizable x14c" id="j_id13::_hee"> </td></tr><tr><td class="p_AFResizable x14j" id="j_id13::_cse"> </td>
    <td class="p_AFResizable x14g" id="j_id13::contentContainer">
    <div id="j_id13::_ccntr" class="x14h" style="width:700px;height:430px;position:relative;overflow:hidden;">
    <div id="j_id14" class="xne" style="position:absolute;width:auto;height:auto;top:0px;left:0px;bottom:0px;right:0px">
    <iframe _src="javascript:'<html&gt;<head&gt;<title/&gt;</head&gt;
    <body/&gt;
    </html&gt;'" src="javascript:''" frameborder="0" style="position:absolute;width:100%;height:100%">
    </iframe>
    </div></div></td><td class="p_AFResizable x14l" id="j_id13::_cee"> </td></tr><tr><td class="p_AFResizable x14n" id="j_id13::_fse"><div></div></td>
    <td class="p_AFResizable x14p" id="j_id13::_fce">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" summary=""><tr>
    <td class="p_AFResizable x14u" id="j_id13::_fcc"></td><td align="left" valign="bottom"><div class="p_AFResizable x14y"><a tabIndex="-1" class="x14w" id="j_id13::_ree" title="Resize"></a></div></td></tr></table></td><td class="p_AFResizable x14r" id="j_id13::_fee">
    <div></div></td>
    </tr></table></div></div></div></div>]]>
    </fragment>
    <script-library>/EmpApp/afr/partition/gecko/default/opt/frame-SHEPHERD-PS1-9296.js</script-library>
    This is how it launches the taskflow-call, so there is no way to control this behaviour from the calling taskflow's jspx, feels very closed system,why ADF is not making this behavior Open by some kind of client listener,
    <script>
    <![CDATA[AdfDhtmlLookAndFeel.addSkinProperties({"AFPopupSelectorFooterStart":"x11b","AFPopupSelectorHeader":"x114","af|panelWindow-tr-open-animation-duration":"300","AFPopupSelectorHeaderStart":"x115","AFPopupSelectorContentEnd":"x119","AFPopupSelectorContent":"x117","af|panelWindow::resize-ghost":"x144","AFPopupSelectorContentStart":"x118","AFPopupSelectorFooter":"x11a","AFPopupSelectorFooterEnd":"x11c","AFPopupSelectorHeaderEnd":"x116","AFPopupSelector":"x110",".AFPopupSelector-tr-open-animation-duration":"200"});AdfPage.PAGE.addComponents(new AdfRichPopup('j_id12',{'_dialogURL':'/EmpApp/faces/adf.dialog-request?_adf.ctrl-state=5plp6ahes_76&_rtrnId=1285074907739&__ADFvDlg__=true','_inlineFrameId':'j_id14','_launchId':'r1:0:cb2','_panelWindowId':'j_id13','_rtnId':'1285074907739','contentDelivery':'immediate'}),new AdfRichPanelWindow('j_id13',{'modal':true,'resize':'on','stretchChildren':'first'}),new AdfRichInlineFrame('j_id14',{'source':'javascript:\'\x3chtml>\x3chead>\x3ctitle/>\x3c/head>\x3cbody/>\x3c/html>\''}));AdfPage.PAGE.clearMessages();AdfPage.PAGE.clearSubtreeMessages('r1');]]>
    </script>
    AdfDhtmlRichDialogService.getInstance().launchInline there is no way for me to put af:statusindicator for the wait time using this way
    <script>AdfDhtmlRichDialogService.getInstance().launchInline('j_id12');*</script>
    </content>

  • Best way to implement an EULA popup (imprint) in RH 9

    Hello there ,
    I have a question about RoboHelp 9. The fact is my help page is divided into 2 iframes.
    A left sidebar iframe containing a navigation menu, and a right sided iframe, the main one, containing the data. (index, content, ...)
    The fact is I want, when the user load my helpdesk, to pop up a message, asking him if he agree to the legal terms of our society (EULA).
    If he answer Yes, the popup is closed, and he can navigate freely in the menu, but if he answer No, I want him being redirected on our official website.
    Is there a simple way to implement this kind of popup, with the following features :
    focus locked on the popup (the user cannot naviguate until he didn't agreed)
    the redirection have to take over the whole window, including the iframes (because if he is redirected only on the main iframe, he still can load pages from the left sidebar menu)
    I tried :
    to use BSSCPopup(), but it loses focus as I click outside the popup, and it cannot be closed properly.
    I tried to use jQuery, but RoboHelp don't appreciate the library, and reformat the code (impossible to make it works).
    I tried to use simply javascript, was the best results, as I could keep the focus, close the popup, but the redirection was always made on the main iframe, whatever I tried.
    Thus, that leads me to begging for help, 'cause I just don't get why it's that hard to implement this in RH.
    Thank you for any suggestions or help

    Actually, it is a bit more complex than you think. For example, when the user leaves the page and returns an hour later, you don't want to show the popup (overlay, because you can close a popup) again. This means that you need to save the acceptance in a cookie. The content files should also check whether the terms are accepted and whether the navigation frame is not shown. If the navigation is not shown, the content must show the EULA acceptance overlay as well.
    Note that there will be a way to circumvent this with web development tools if you are using JavaScript (just disable the overlay with the tool). Or even the possibility that JavaScript is turned off. The only reliable way would be server side scripting (PHP etc.) and RH doesn't support that. So make sure that your EULA contains some information on this possibility as well, such as a link in your topics stating that using the pages means that you accept the EULA. This may even be easier to implement, but I have no idea of the legal implications.
    You can use jQuery for RoboHelp (I've used it quite a bit.) In my experience, RoboHelp doesn't reformat the code when it is in an external script file. I use a lot of script files and I have never seen this behaviour before (though that doesn't mean it doesn't of course).
    Such a requirement is a lot of work and the best I can do on the forum is point you in the right direction.
    If you require professional support, contact me via my site: http://www.wvanweelden.eu/ and we can talk about your options. Note that this is not associated with my forum contributions nor is it in any way affiliated with Adobe.
    Greet,
    Willam

  • Document not opening in same iframe window --MS2013 in IE10/IE11

    A MSWord2013 document has to be opened in an iframe window. But its not opening in the same iframe window(in the same browser window). Rather its asking for Opening/Saving Option in a separate popup. This issue is in IE10 and IE11.
    Earlier same kind of issues in MS2007 and M2010 versions in IE7/8 were fixed by using MicrosoftFixIt registry.
    plz suggest a way to make the document open in the same window
    here is a standalone code we used to check it --
    <html><body>
    <iframe src="Sample.doc"></iframe>
    </body></html>

    Hi,
    In order to analyze your issue, please let us know which "fix it" tool fix your previous issue.
    Meanwhile, read this thread to see if it's helpful to you:
    http://help.lockergnome.com/office/Strange-Behavior-opening-Word-Document-iframe--ftopict920454.html
    Karen Hu
    TechNet Community Support

  • New window popup does not open on Windows

    hi,
    when I open an new window in a Premiere HTML5 extension on Mac, it works,
    but no window opens on Windows.
    newwindow = window.open('www.adobe.com','name','height=200,width=150');
    Trying to apply moveTo() or focus() after open() returns Cannot call ... method of undefined.
    I wonder what causes this, probably it just gets blocked. By Windows? Premiere on Windows? Chrome in the extension on Windows?
    Is there something I can do about this?
    I cannot open it in the default browser because ultimately the window popup is a Paypal popup
    opened by a webpage loaded in an iframe- which gives the same result as trying to open a window directly from within the extension as described above,
    thanks,
    Jeff.

    This is a known issue of CEP; we disabled these methods (with window.open() or <a href=url >) to open a new page. A work around is using API CSInterface.openURLInDefaultBrowser(url) to open it in system default browser. I am afraid that CEP does not provide other work around methods if openURLInDefaultBrowser() cannot suit your requirements.

  • Display BW report in WD IFrame

    Hi All,
    I have a WD application.
    The application shows BW reports by selecting dates
    I create the reports dynamically by creating URL and setting the URL in IFrame UI element.
    This works, but the first time I try to see a report I get a Internet Explorer pop up window for user and password.
    I have a SSO configured for BW in the portal but when using IFrame in WD I don't use the system.
    How can I prevent the popup for the user and password (except for sending them directly in the URL...)
    Can I use BW template URL (which is bind to a system) with dynamic parameters?
    thanks,
    Omri

    Hi Deng,
    Goto Start-- All ProgramsBusiness ExplorerQuery designer..
    It will ask you choose the BW server and ask for details.
    Once connected you need to create the query that will give your report.
    Execute the query there and you will get the URL.
    Type the same url in the PDA browser...
    it will show your report.
    I forgot to mention...Business explorer is only seen on the start menu if you have installed it during SAP Gui installation.
    Also i believe your BW server is in the same LAN which your comp is connected.
    Regards,
    akhil
    Edited by: Akhil Rastogi on Feb 2, 2009 8:54 AM

Maybe you are looking for

  • Ffmpeg ERROR: audio conversion failed: Unknown encoder 'libmp3la

    While i use youtube-dl script with -x --audio-format mp3 option i get this error: ERROR: audio conversion failed: Unknown encoder 'libmp3lame' [bahaa@Bahaa ~]$ pacman -Qs lame local/lame 3.99.5-2 A high quality MPEG Audio Layer III (MP3) encoder loca

  • Interruption of sound in a downloaded sequence

    I have transfered several video sequences into my project. One of them (the last one) has an interrupted sound  in its second part while the sound is present throughout this sequence in the original file saved. This happened once already in a sequenc

  • Ipod classic with video but no sound on music

    I can not get any of my songs to make noise, my volume is set all the way up w/o a lock. The video and music viedos plays with sound but the songs don't!!help?!?

  • SM37 issue

    Hi Experts, I found one job getting cancelled with error "No archive information found for object type  and document type".This job is running for RSBTONEJOB2 which in turn using program RBDAPP01. While debugging batchjob, i am getting error "No job

  • 1080p 30fps or 1080i 60fps?

    I just shot a party with my SONY Z5U at 1080p, 30 fps. It all looks very jittery. Also the SD DVD I burned from the raw footage has a strange floating effect, i.e. when I zoom in on the names on a paper, they appear to be floating around the surface.