Error: Open popup window failed

Hi,
I'm opening a web page in an StageWebView and by trying to click a link that should open a window, I receive this error:
[StageWebView] Error: Open popup window failed
This is the link "Invite your friends" at Google:
https://developers.google.com/+/web/share/interactive#myBtn
How to fix that? I hope anybody got an idea!

This is a javascript/html question, and has nothing to do with Java/JSP.
You could do it with plain javascript/html using window.opener.
I would recommend using something like a [YUI 2 Panel|http://developer.yahoo.com/yui/container/panel/] to do it.
Opening new windows is a thing of the past.

Similar Messages

  • Export the pdf from indesign some error Pop Up window (Failed to Export the PDF file). How slove the

    Export the pdf from indesign some error Pop Up window (Failed to Export the PDF file). How slove the problem
    Please some one help on this

    You need to try exporting the first half of the book.
    If that exports ok then export the other half of the book.
    Whatever half it fails on - keep dividing the book in half to find the culprit page or pages.
    For example if your book is 128 pages long:
    1. Export pages 1 - 63
    2. If these Fail to Export then
    3. try exporting1-32
    4. If these Fail to Export
    5. then try exporting1-16
    If it doesn't fail (step 2)
    Then export pages 64-128
    and 64-90 etc.
    until you find the pages causing the issues.

  • How to create a button to get File Open popup window and select a file

    Hi,
    I have an applet that contains Browse button. When user clicks on that, a File Open popup window should be displayed to enable user to select the input file. This file path should be given back as parameter.
    How to do this? I have tried using LoadFileData but not able to get the desired result.
    Any pointers would be helpful.
    Thanks,
    Lalitha Dandibotla

    Do you need only the path or also the file back into Siebel?
    If you need both, the have a look at any attachment applet, that will give you a good start.
    Are you using Siebel in High Interactivity (HI) Mode or Standard Interactivity (SI) Mode?
    If you are in SI Mode have a look at the html type
    <input type="file">
    http://www.w3.org/TR/html401/interact/forms.html#h-17.4
    Axel

  • Error saying that windows failed to start 0xc000014c on my toshiba satellite A210

    On my Laptop, a Toshiba A210, I get an error saying that windows failed to start. File:\boot\bcd status: 0xc000014c. i already put in a windows recovery disc and it still came up with this message. I removed the HDD and restarted the laptop, and it brang up windows install but it cancels that out before the install starts, even if i stick the HDD in after start-up.
    Can anyone help me with this issue please?

    Which A210? Which Windows? Which service-pack level?
    Maybe you are resuming from hibernation? Press and hold the power-on button until the computer shuts off to get out of this state.
    Maybe you have Windows Vista?
       Error message when you resume a Windows Vista Service Pack 1-based or Windows Server 2008-based comp...
    -Jerry

  • Open popup window and redirect user to home page in sandboxed solution

    i've created a sandboxed solution visual webpart and it has submit button so when user fills the information in the text boxes availble in webpart and clicks submit button so I want to open popup button containg success message and ok button so when user
    clicks ok button in popup window i want user to be redirected to the home page of the site.
    i tried to open popup and showed success message by below code
     string gotohomepage = "http://sp2013:1111/Pages/home.aspx";
                    ScriptManager.RegisterStartupScript(this, this.GetType(), "message", "alert('Your Record has been submitted successfully,you will be redirected to home Page shortly');location.href =
    '" + gotohomepage + "';", true);
    but it's not opening popup window can anyone help how do i open popup window and redirect user to home page in sandboxed solution

    Page class and script manager are not supported in sandbox solution
    You can create model popup to achieve this
    below are the reference links
    http://blogs.msdn.com/b/chaks/archive/2011/09/14/modal-dialog-box-in-sharepoint-sandbox.aspx
    http://social.msdn.microsoft.com/Forums/en-US/9427db4d-60f2-4b2a-8db6-b50d01ac4f23/how-to-create-modal-popup-using-sandboxed-solution

  • Open popup window and bring text to opener window jsp [help~]

    how to click a button then open popup window.
    and add somthing in the popup window, that can bring the text in the popup window to opener window in jsp.

    This is a javascript/html question, and has nothing to do with Java/JSP.
    You could do it with plain javascript/html using window.opener.
    I would recommend using something like a [YUI 2 Panel|http://developer.yahoo.com/yui/container/panel/] to do it.
    Opening new windows is a thing of the past.

  • Open popup window; using struts

    function showPopUp() {
    window.open('/PrepareAddAction.do', "", "resizable, height=200, width=200");
    I am try to open a popup window but the above code getting exception.
    A new window opens but getting error
    The requested resource (/PrepareAddAction.do) is not available
    what is missing and how to fix this?
    Thanks.

    What you are missing is your "context" as part of your URL.
    The webserver treats "/" as the root of the webserver. Presumably you want it to be the root of your web application context. You need to add the context path to all urls generated into HTML. The struts tags can help you do this.
    Couple of solutions:
    window.open('<%= "/" + request.getContextPath() + "/PrepareAddAction.do" %>', "", "resizable, height=200, width=200");
    or using the struts html:rewrite tag:
    window.open('<html:rewrite action="PrepareAddAction"/>', "", "resizable, height=200, width=200");
    Both should have approximately the same result.

  • Open popup window from non graphic window

    Hi All,
    i'm trying to open a popupwindow of one of my classes, but i
    have no parent reference in the current class that i'm working
    with, how can i refer to the main application window?

    If you have a model for your application state, use this:
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    applicationComplete="this.onApplicationComplete()">
    <mx:Script>
    <![CDATA[
    private function onApplicationComplete():void
    // Component map
    this.model.map["app"] = this;
    ]]>
    </mx:Script>
    </mx:Application>
    You will be able to refer to this.model.map["app"] as the
    parent of your popup window from anywhere in the application.

  • Session lost (IE5 & IE6) when opening popup window.

    Ok, I've been struggling with this problems for days and spent countless hours with google without finding any decent solutions.
    I'm building a ecommerce site and if the user want to see additional information + pictures from a product, he/she can open a popup window that also has "add to cart"-submit field.
    UserID and some other necessary data is kept in sessions but IE5 / IE6 seems to loose these in this new window when opening it via javascript (popup).
    If I have understood right, the session is lost because IE considers the new window as a new task and therefore it is out of the "session scope".
    Ok, one might say that using encodeUrl()-method should fix this problem, but no it doesn't. encodeURL()-method writes the session to URL only when user has disabled the cookies and in my situation it's not the case.
    Has anyone here been struggling with the problem above ? I've been considering if I encode the UserID and other information manually to the URL and decode it back in the popup, but that brings n+1 security issues to my mind and doesn't really sound like a decent solution.
    Thanks in advance,
    - Roni
    p.s: Sorry about my crappy english.

    Hmm,
    I did a small test and managed to get the sessions to work with IE.
    the main page:
    <%@ page language="java" %>
    <%
    session.setAttribute("foo", "bar");
    %>
    <html><head><title>sessiontest</title>
    <script language="javascript" type="text/javascript">
    <!--
    function popUp(URL) {
    options="toolbar=no,directories=no,location=no,status=no," + "menubar=no,scrollbars=yes,resizable=yes,width=416,height=465, left = 362,top = 184";
    var Infowindow=window.open(URL, "Infowindow" ,options);
    Infowindow.focus();
    -->
    </script>
    </head>
    <body>
    sessionattribute <b>foo</b> has value <b>bar</b><p>
    <a href="javascript:popUp('<%= response.encodeURL("sessiondebugpopup.jsp") %>')">link to popup</a>
    </body>
    </html>popup:
    <%@ page language="java" %>
    <html><head><title>sessiontestpopup</title>
    </script>
    </head>
    <body>
    attribute value is:<p>
    <b><%= (String)session.getAttribute("foo") %>
    </body>
    </html>This works just fine, but the code in the actual application does not differ from this.
    Only difference I can figure out if that the .js popup() function is located in header.jsp and the call to the popup is in other .jsp that includes the header.
    Here's the call to the popup in the application:
    <a href="javascript:popUp('<%= response.encodeURL("pop.jsp?prod="+ rs2.getString("tuo_tuonro") +"&img="+ cnt.getPictureURL(rs2.getString("tuo_tuonro"), cnt.getUserId(user)))%>')">link</a>And the above code works just fine with firefox/opera/etc, but not with IE5/IE6 (haven't tried other IE versions though).
    This is really getting annoying.

  • Can't open popup window in item renderer

    I have a datagrid with two columns. Each column has it's own
    itemRenderer. The itemRenderers have there own class. In one
    itemrenderer I have a link button and it has a click event that is
    associated with it in the script block of that class. Inside the
    click event I have the following code to create a popup:
    var popup_win:MyWindowType = MyWindowType
    (PopUpManager.createPopUp (this, MyWindowType , true));
    When I click the linbutton I will see a flash and a blur
    affect as if the window is trying to open but never does. I've
    traced "this" and it's the renderer... So I tryed to reference back
    up the that class that has the datagrid control... which is
    this.parent.parent.parent... but that doesn't work either. I'm
    basically trying to open a window that allows the user to choose
    some stuff from a radio button and then when they click ok on the
    popup window it does some validation and then the contents get's
    changed in the cell that it came from. I want the popup to open
    upon clicking of the link button or else I would use the editor
    functionality. Any ideas of how I could do this?

    Good Day
    I had the same idea for an itemrenderer....but I'm using the
    mouse_over event.
    A titlewindow pops up when moving over a row in the datagrid,
    and closes when moving out.
    The intent of the popup is to show some charts and additional
    links.
    However, when the popup shows, and I move my mouse into the
    popup box, the mouse movements are still being registered by the
    datagrid row below the popup box...hence making a new popup box
    appear every time I move the mouse.
    I tried to set focus on the popup alone...but still doesn't
    work.
    Here's the itemrenderer code:
    <mx:Text xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="_OnCC()" mouseOut="_mOut()">
    <mx:Script>
    <![CDATA[
    import mx.core.Application;
    import flash.events.MouseEvent;
    import mx.managers.PopUpManager;
    //import mx.controls.Alert;
    private var pop1:_popup_gridb;
    public var currentColumn:String = "";
    public function _OnCC():void{
    var currentXml:XML = new
    XML(data..field.(@columnname==currentColumn));
    text = currentXml.@value;
    text = text.toUpperCase();
    addEventListener(MouseEvent.MOUSE_OVER, _mOver);
    //addEventListener(MouseEvent.MOUSE_OUT, _mOut);
    private function _mOver(event:MouseEvent):void{
    //Alert.show("Hello World");
    pop1 = _popup_gridb(
    PopUpManager.createPopUp(DisplayObject(this.parentApplication),_popup_gridb,false));
    //PopUpManager.createPopUp(Application.application as
    Sprite,_popup_gridb,false));
    //PopUpManager.createPopUp(this,_popup_gridb,false));
    pop1.showCloseButton=true;
    pop1.id = "_pu" + Math.random();
    //pop1.dataView = dv;
    pop1.title = pop1.id.toString();
    PopUpManager.centerPopUp(pop1);
    //removeEventListener(MouseEvent.ROLL_OVER,_mOver);
    private function _mOut():void{
    PopUpManager.removePopUp(pop1);
    //addEventListener(MouseEvent.ROLL_OVER, _mOver);
    ]]>
    </mx:Script>
    </mx:Text>
    Currently, the popup is just a titlewindow w/a datagrid
    inside.
    thx
    j

  • Open PopUp Window without Title

    Hi all,
    How can I open a PopUp window without title?
    I have only one command related to window title:
    window.setTitle(string);
    But I need it without title at all.
    Any idea?
    Thanks,
    Michael

    Hi
    Very First tell the version of NWDS?
    Second  have a look on this [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c6132f-4ea3-2b10-4d8f-e68d2e96113d]
    (Here context is different but we can say based on this article that some workaround we can do(applicable only  for CE EHP1))
    Third We can give not exactly  but a little different solution to this (your )  problem
    1. By using  buttons with has no text only standard icons provides by sap ( X ) in red color.with associating action which close the popup.(button will be at right corner of popup with red signal will gives a intuitive feel like normal window )
    2. Some places i have seen(in CE version) that SAP uses this options(normally when they provide some kind of help).
    Best Regards
    Satish Kumar

  • Javascript to open popup window and disable parent window

    Hello,
    Can anyone please help me the javascript issue.
    I have a button which opens up a pop window and when this popup window is opened i want to disable the parent window and enable it when i close the popup window.
    can anyone please help me with a possible approach.
    Thanks,
    Orton
    Edited by: orton607 on Aug 25, 2010 2:19 PM

    jari,
    I have a problem with this modal window approach and I have noticed. The thing is I am able to open up a popup window which is a simple data entry form. In this form i have the button Create which calls a javascript function and then an pl/sql insert process.
    Below is the javascript function for the button create
    function createNew()
    doSubmit('CREATE');
    alert('Successfully inserted the record. Click OK to close popup window and to \n view details of the new inserted record please select the table on parent window.');
    window.close();//close the popup window
    window.opener.doSubmit('REFRESH');
    //call doSubmit function on the parent window to cause the page to refresh.
    }The problem, i have is when i open up a popup window in this window when I click on the create button, its again opening up a new empty window. i don't understand what might be the problem.
    can you please help me out with this one.
    thanks,
    orton
    Edited by: orton607 on Aug 25, 2010 4:19 PM

  • Using same opened popup window

    Hi,
    I have a scenario where I have 4 button in a view and I have to open same external URL window for all 4 buttons.
    Now user wants to use same popped up window (if already opened). He doesn't want to open same window again and again.
    Currently I am using non-modal external window code to open this window.
    wdComponentAPI.getWindowManager().createNonModalExternalWindow(DAS_URL).show();
    Can you please tell me how do I achieve this req?
    Please help.
    Thanks and regards,
    Amey

    Modify your code to have a handle for your window:
    IWDWindow window = null;
    //when button is clicked:
    if (window == null) {
        window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(DAS_URL).show();
    else {
        // do nothing, window is still open
    window.destroyInstance(); //this will close your window
    window = null;
    Hope this helps!
    Best regards,
    Robin van het Hof

  • Linking PDFs to open popup windows

    I am working on a project at work in which we have PDF graphics in-line within a web page.  I want to add a link to one of the graphics to call a custom javascript function that is in the page to display a special popup window.  First off, is this possible?  And secondly, if it is, how do I tell it to call the javascript that is in the html page?
    Chris Cote

    In MVVM LIght 5 there is a dialogService you can use for this
    http://marcominerva.wordpress.com/2014/10/14/dialogservice-in-mvvm-light-v5/

  • Add "*" infront of the label  in the error message popup window

    Dear all,
    I am new in ADF, I would like to add an "*" infront of the Salutation label in the error message popup,
    does anybody know how to do it? pls help me out in this...thanks
    PS: The Salutation is a af:selectOneChoice component with required validation,
    and if I modified the Salutation to af:inputText with required validation the "*" is shown automatically.
    http://dl.dropbox.com/u/11032207/screen%202012-12-18.jpg
    Edited by: user5638657 on Dec 18, 2012 6:04 PM

    Here is the jsf, thanks
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core">
    <af:panelBorderLayout id="pbl1">
    <f:facet name="start"/>
    <f:facet name="bottom">
    <af:panelGroupLayout id="pgl3">
    <af:popup id="p1">
    <af:noteWindow id="nw1">
    <af:outputText value="#{particularsBundle['TEXT.GENERAL.NOTE.SURNAME']}"
    id="ot13"/>
    </af:noteWindow>
    </af:popup>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="end"/>
    <f:facet name="top">
    <af:group id="g1">
    <af:outputText value="#{particularsBundle['TEXT.PARTICULARS.PAGE']}"
    id="ot2" inlineStyle="color:Black; font-size:large;"/>
    <af:spacer width="10" height="10" id="s3"/>
    </af:group>
    </f:facet>
    <af:panelGroupLayout id="pgl4" layout="vertical">
    <af:outputText value="#{particularsBundle['TEXT.GENERAL.REQUIRED']}"
    id="ot5"/>
    <af:spacer width="10" height="10" id="s5"/>
    <af:panelFormLayout id="pfl1" labelAlignment="start">
    <af:panelLabelAndMessage label="#{bindings.UserId.hints.label}"
    id="plam1" inlineStyle="color:Black;">
    <af:outputText value="#{bindings.UserId.inputValue}" id="ot1"/>
    </af:panelLabelAndMessage>
    <af:selectOneChoice value="#{bindings.UserSalutation.inputValue}"
    label="#{bindings.UserSalutation.label}"
    required="true"
    shortDesc="#{bindings.UserSalutation.hints.tooltip}"
    id="soc1">
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.MR']}"
    id="si1" value="Mr."/>
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.MRS']}"
    id="si2" value="Mrs."/>
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.MISS']}"
    id="si3" value="Miss"/>
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.DR']}"
    id="si4" value="Dr."/>
    <af:selectItem label="#{particularsBundle['SELECT.SALUTATION.PROFESSOR']}"
    id="si5" value="Professor"/>
    </af:selectOneChoice>
    <af:inputText value="#{bindings.UserSurname.inputValue}"
    label="#{bindings.UserSurname.hints.label}"
    required="#{bindings.UserSurname.hints.mandatory}"
    columns="#{bindings.UserSurname.hints.displayWidth}"
    maximumLength="#{bindings.UserSurname.hints.precision}"
    shortDesc="#{bindings.UserSurname.hints.tooltip}"
    id="it6">
    <f:validator binding="#{bindings.UserSurname.validator}"/>
    </af:inputText>
    <f:facet name="footer">
    <af:spacer width="10" height="10" id="s4"/>
    </f:facet>
    </af:panelFormLayout>
    <af:spacer width="20" height="10" id="s11"/>
    <af:panelGroupLayout id="pgl0" layout="horizontal">
    <af:commandButton text="#{particularsBundle['BUTTON.CONTINUE']}"
    id="cb1"
    action="#{updateProfileBackingBean.actionContinue}">
    <af:setActionListener from="#{bindings.UserEmail.inputValue}"
    to="#{bindings.email.inputValue}"/>
    </af:commandButton>
    <af:spacer width="20" height="10" id="s2"/>
    <!--af:resetButton text="#{particularsBundle['BUTTON.RESET']}" id="rb1"
    inlineStyle="height:19.0px;"/-->
    <af:resetButton text="#{particularsBundle['BUTTON.RESET']}" id="rb1" inlineStyle="background-position:center top;
    background-repeat:repeat-x;
    margin:0;
    padding-bottom:3px;
    padding-top:1px;
    text-decoration:none;
    white-space:nowrap;"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    <af:spacer width="20" height="10" id="s1"/>
    </af:panelBorderLayout>
    </jsp:root>

Maybe you are looking for

  • Checkin error with sql server as backend database

    Hello, I get regulary the following error messages (attached as screenshot) when I'm try to checkin my current model. The message states, that my database is in single user mode, but this isn't the case. I checked the many times. My repository databa

  • HCM PF - Skip employee and processes selection

    Hi , In HCM PF we can skip the employee selection . Can we also skip process selection. We place the HCMPF link on sharepoint where it says something like "change employee group" as an example. There is no point in selection the processes again on SA

  • Imovie-how do i get the new version on my new mac???

    Sounds strange I know but when I transfered the contents of my old imac to my new imac via the cable it has also transfered across the old version of imovie. If I set up a new user I can open the new version of imovie but my profile doesn't recognise

  • Understanding bug ID and release notes documentation

    Hi ! we planned to upgrade IOS switch on some switches, most switches are running 4 to 10 or more IOS release in late in compare to the most recent one.  We would like to upgrade because we had some issue with port flapping and spanning-tree portfast

  • Apex processes question

    APEX - 4 DB version - 10g Web server architecture - OHS Browser - IE8 Theme - 5 Hello I have audit fields on my records, example "last_changed_by" and "last_changed_date". I created an "On submit and before compulation" process and set the values as