Call form in new browser window

Hello all,
I am trying to call a form that will appear in a new browser window, but be part of the same forms application. I am able to call the applet by using web.show_document, however you must log on to the forms services before you can access the form. I would simply like to click a button and have it call a form that opens in a new window. I am doing this for our data entry techs that need to utilize dual monitors looking at 2 separate tables.
Thanks in advance,
-Jordan

Be aware that there are limitations with Forms if you are trying to run the application on the secondary monitor. Known issues related to dual monitors have been corrected in the upcoming patch set for 10.1.2. This patch is due for release soon (exact date unknown). A one-off patch is also available for 9.0.4.3.
Take a look at this thread for more details:
Users with two monitors

Similar Messages

  • Open calling form in new browser window

    HI,
    I am using forms 9i. From menu item, i am calling a form using call_form, the called form is opening in same window, my requirement is the called forms want to open in new browser window. I am using mdi window.
    Any idea ?
    Regards
    Ramesh babu

    If you look in your browser address field, you will see your current forms has a (probably very) long url, one section of which is the form name. Now, you can use this as the URL argument in a WEB.SHOW_DOCUMENT() call. However:
    (1) if your URL doesn't include the userid, etc. (very likely in a production situation) you will have to log in again.
    (2) as (1) might lead to suspect, you are in a new database session.
    Why do you want to do this?
    Cheers, APC

  • Load balancing 10g forms - Connection from new browser window not supported

    Load balancing 10g forms - Connection from new browser window not supported
    We're experimenting with using webcache to load balance between multiple applications servers running OC4J forms processes.
    We currently have one machine with infrastructure and mid-tier (BI & Forms) installed, which is being used for the webcache functionality, this is load balancing between 2 other servers each of which just have the mid-tier (BI & Forms) installation
    In order to get this to work, I had to follow the instructions in the Forms deployment guide : http://download-uk.oracle.com/docs/cd/B14099_11/web.1012/b14032/tuning.htm#sthref707
    The main gist of this is that you need to set the following in the orion-web.xml file in order that the sessions are maintained:
    <session-tracking
    cookies="enabled">
    </session-tracking>
    This all works fine in most cases.
    The problem I am having is if I do one of the following on the client machine:
    1) From IE6 / IE7 run a copy of a forms application. Then open a new window using the "New Window" menu option, and attempt to run another forms application.
    2) In IE7 or Firefox 2.0 open a copy of the forms application, and then open a new tab and try and open another forms application.
    If I try either of these I get a FRM-92101 error, and the following is displayed in the java console:
    oracle.forms.net.ConnectionException: Connection from new browser window not supported
    From trawling various forums (including metalink and otn) it looks like a problem with the way coockies are handled.
    Unfortunately the usual workaround is to ensure that the session tracking option in the orion-web.xml file is disabled.
    The problem is that I need this enabled in order for the load balancing to work.
    Does anyone know of any other workarounds or patches that might help resolve this?
    We're using Application server 10.1.2.0.2 running on windows 2003 servers.

    You were right. Carriage returns were stopping it from working (the document is laid out over separate lines, so I assumed it would make no difference...).
    I've now managed to get it so the forms at least run, but they are all being run in the forms OC4J instance on the same machine as the OHS.
    Has anyone actually managed to get this to work, or am I doing something wrong?
    I did wonder if using an OHS instance on a machine with no forms installation would make any difference?
    I had raised a support call via metalink on this subject, but they eventually came to the conclusion that the only way to do this is with a hardware load balancer (Despite several documents suggesting that webcache is the way to go (including the forms deployment manual)).
    I'm at the point now of giving up and writing some custom scripts to do the job instead...

  • Calling web report in new browser window

    I have one Web-based Oracle report where I am calling another report in a FormatTrigger as:
    http://myserver/cgi-bin/rwcgi60.exe?key1+:param1
    I want to run this second report in a new browser window. I tried using TARGET="_blank"
    but I get syntax errors. I know that without the cgi parameters, it is easy to include the TARGET after the URL. But can anyone tell me the correct syntax for the above case (with parameters)? I tried putting the TARGET before '?' and after the param but both failed.
    Thanks
    null

    try this in your format trigger:
    web.show_document('http://myserver/cgi-bin/rwcgi60.exe?param1=value+param2=value', '_blank');

  • Calling a new Browser Window from Web Dynpro Application - Empty Context

    Hello,
    I want to open a view in a new browser window, and followed the same way which is described in this thread:
    Open view in new browser window
    My first try was creating two applications, which refer to the same Component Controller. The opening of a new browser window is triggered by an action, which is called in the other application. As both applications have the same Component Controller, I thought, the context content has to be the same, but actually the context attributes are empty after opening of the new window.
    In my second try I created two applications with two different Component Controllers, mapped via embedded Interface Controller. The effect is the same - I have no context content in the view.
    Please, can anybody help me?
    Thank you in advance.
    Ilona Seifert

    I done something like this:
    [code]
    try {
    strURL =
         WDURLGenerator.getApplicationURL(
                        "$<b>PROJECT_PATH</b>$/$<b>PROJECT_NAME</b>$",
                                            "$<b>APPLIC_NAME</b>$");
    } catch (WDURLException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
    strURL += "?par1=";
    strURL +=  var1;
    strURL += "&par2=";
    strURL +=  var2;
    strURL += "&par3=";
    strURL +=  var3;
    [/code]
    and after i retrieve them:
    [code]
    Var1Value= WDWebContextAdapter.getWebContextAdapter().getRequestParameter("var1");
    [/code]

  • Calling a new browser window with WD Abap and passing data via POST

    Hi there,
    does anybody know whether passing data via POST method is possible when opening a new browser window from within a Web Dynpro Component? In my case I use method IF_WD_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW for opening a new browser window. Now I want to pass a big amount of data which is only possible via POST method. How can I achieve that or is it not considered inside the Web Dynpro Framework?
    Kind regards,
    Albert

    Hi Priya,
    can you please explain a little bit more what you mean? I didn't get it..
    Kind regards,
    Albert

  • Conditionally opening a new browser window from a JSP page

    When the user clicks on a button in my JSP page, I'd like to launch a new browser and display certain things in that browser window while leaving the original browser window open. The new browser should only be displayed if certain conditions are met.
    My thought was to invoke a javascript method in 'onLoad' which would determine if the new window needs to be launched.
    This is kinda what my page looks like:
    <jsp:root version="1.2" ................>
        <jsp:directive.page import="java.util.*, com.test.Configuration" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
         <ui:body binding="#{Page1.body1}" id="body1" onLoad="launchWindow();">     
         </ui:body>
       </f:view>
       <script type="text/javascript">
            function launchWindow(){
             if (Configuration.openWindow()) {
              window.open("hello.jsp", "newWindow", 'toolbar,width=400,height=400');            
        </script>     
    </jsp:root>
    My problem is that the call to "Configuration.openWindow()" does not resolve correctly. If I remove that call and simply make a call to "window.open()" all works. But once I put the condition in, nothing happens. I do not see an exception in my browser window but a new browser window does not open.
    Is my syntax correct. Can I make a call to the static method 'openWindow()' in my class 'Configuration.java'.
    I posted this same query on the JSF forum but received now replies. My question is more suited to the JSP forum and hence I'm posting this question here.
    thanks,
    tsc

    I have made some changes so that I do not directly access the 'Configuration' class in my javascript.
    I have a hidden field on my form and when the user clicks the button, in my back bean, I set a value for the hidden field. In the javascript function 'launchWindow()' I check if a value has been set for the hidden field and if yes, I open a new window.
    <ui:body binding="#{Page1.body1}" id="body1" onLoad="launchWindow(document.forms[0]);">
    <h:inputText id="hiddenField" value="#{formBean.hiddenValue}" />
    <script type="text/javascript">
            function launchWindow(form){
                alert("in lw");
                var test = form["form1:hiddenField"].value;
                alert("got test");
                if (test !=  "")
                    window.open("hello.jsp", "newWindow", 'toolbar,width=400,height=400');            
                alert ("done test");
    </script>When my page is first loaded, the launchWindow() is called and all the alerts popup as expected.
    When I click on the button (the back bean sets the value on the hidden field), my page is reloaded but this time its blank.
    Any ideas as to why this maybe the case?
    thanks,
    tsc

  • Using web.show_document the first time makes new browser window lose focus

    Hi,
    In our application we use show_document(url, '_blank') to open our reports (as pdf) in a new window.
    Our environment is Application Server 10g Release 2 with Forms 10g Release 2 and jinitiator 1.3.1.22.
    The first time I call a report, the new browser window containing the pdf is shown but loses focus after about 1 second. The focus is then returned to the applet window. When calling a report again it always keeps the focus.
    After closing the applet window and restarting the application, the same thing happens: first report called loses focus, all others keep the focus.
    Does anyone have any idea why this is happening? We want the focus to stay on the new browser window every time...

    Hi Jeroen,
    I m also facing a problem something similar to yours. If you got any solution please let me know.
    Problem-
    Currently my application is running on Forms 9.0.4.2 and my form calls another third party which displays the image in image viewer in new browser. When user clicks on the button to display image, then I m using the following Code -
    -- Method: displayDocuments ([Ljava/lang/String;)Ljava/lang/String;
    FUNCTION displayDocuments(
    obj ORA_JAVA.JOBJECT,
    a0 ORA_JAVA.JARRAY) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(1);
    JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'com/hli/imaging/adapter/LK_FormsImagingAdapter', 'displayDocuments', '([Ljava/lang/String;)Ljava/lang/String;', args);
    END;
    Image is displaying fine but the focus is staying on the newly opened browser. I want it to get back the focus to the forms window.Is this possible ???
    Thanks in advance
    Sai                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Opening a new browser window from flash

    Does anyone know of a method fo opening a link in a new
    window in firefox from within flash that isn't blocked by the popup
    blocker. It seems like the security in FF 2.0.0.6 (I'm on 2.0.0.11)
    has been tightened to prevent any _blank or window.open calls from
    flash getting through. I've tried the standard getURL, fscommand
    and ExternalInterface call to a javascript window.open method.
    Nothing now works.
    I understand the need for the popup blockers, but this is a
    legitimate popup only invoked on user interaction (click) - the
    same window.open call in an onClick event outside of flash works
    fine and I guess it is blocked from within flash because there is
    no way of knowing if the call is invoked from user interaction or
    automatically - but seems a shame.
    So any other way of getting a new browser window to open from
    within flash in firefox?

    Use target="_blank" in your form declaration.<FORM METHOD=POST ACTION="someAction" TARGET="_blank">The _blank keyword tells the browser to load the results in a new window.
    If you need more control over your window (size, address bar, etc.) you'll need to use javascript.<SCRIPT>
    function submitForm(windowName){
       newWin = window.open("",windowName, "menubar=no,resizable=no,...");
       document.myForm.target = windowName;
       document.myForm.submit();
    </SCRIPT>
    <FORM NAME="myForm" METHOD=POST ACTION="some.jsp" TARGET="">
    <INPUT TYPE=BUTTON VALUE="Submit" onclick="submitForm();">
    </FORM>

  • Start in New Browser window

    Does anyone know how to get a creator project to always start in a new browser window?
    Conversly, I would also like to add a button to close the browser window and end the session.

    I guess I should clarify my question.
    I have a five page web application that aceeses a database. I log the user in as part of the init of the session bean. I would like to log the user out, close the database connection and return the user to wherever the started from in their browser.
    I figure the easiest way to do that is to always open a new browser window when the session bean starts up. This would allow me to close the session and the browser window, forcing a new session to be started the next time the user selects the application form the main web pages.
    What you appear to be saying is that the control of starting the deployed project in a new window would be done from the logic of the main page using javascript, php,html or whatever the main web pages are written in.
    You suggest that my close be controlled through a javascript call. I was hoping to do it within my creator code which is written in java and jsp. Is there a java call to close the browser window?

  • Title in new browser window

    Hello,
    I wonder if someone can reproduce that one.
    I'm using this code to open a new browser window
    <af:commandMenuItem text="blabla" useWindow="true" action="add"
    id="dialogTrigger" windowWidth="800" windowHeight="600" />In that new window, the jspx page includes a template.
    Here is the starting code of that page:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:trh="http://myfaces.apache.org/trinidad/html"
              xmlns:tr="http://myfaces.apache.org/trinidad">
        <jsp:directive.page contentType="text/html;"/>
      <f:view>
        <af:document title="blabla">
          <af:messages/>
          <af:form>
            <af:pageTemplate viewId="/WEB-INF/templates/popup.jspx">
    ...Every tag is closed at the end (double checked).
    The new browser window has for title "http://127.0.0.1:8988/app/index.jspx - Mozilla Firefox" but I think it should have "blabla - Mozilla Firefox".
    Correct me if I'm wrong?
    Also, the resulting HTML does not seem to be valid as an orphan closing tag </head> is found just after the opening <html> tag...

    Which tag library is referenced by your "afh" ?
    I can't see it in jdeveloper 11 ...
    According to the reference documentation for tag <af:document />:
    The UnifiedDocument creates each of the standard root elements of an HTML page: <html>, <body>, and <head>, but by abstracting away from those components, can be used in non-HTML pages as well. ...
    title
    String
    Yes
    the title of the document. (This title doesn't have to match the title on any contained panelPage. More on that:
    The generated HTML has a frameset included that points to the real page. Inside "onload" event, that frameset has a call to fixDialogTitle(). The embedded html page has the <title> defined by the <af:document title="fds">, so this works fine... so I guess the fixDialogTitle() function has to transfer the title from that embedded page to the parent one ?
    Message was edited by:
    Jean-Philippe Melanson

  • JavaScript to open new browser window

    I have an intranet page from which users can select various
    Captivate 2 movies. When they select the link I use a simple
    JavaScript function to open an appropriately sized window to run
    the movie in, as they are of various sizes and some so large I need
    to do away with toolbars and the like.
    To save the users having to return to the Intranet page to
    open another movie I want to offer them a button at the end of a
    movie which would have the same effect - open a new browser window
    appropriately sized for the particular movie they choose.
    This should be easy: create a button, choose Execute
    JavaScript and put the script in the box. Only it doesn't work.
    Scouring the forums I found a few potential answers, of which
    the most promising seemed to be to put the function in the
    standard.js file that Captivate 2 creates and then call the
    function from the Execute JavaScript dialogue. I also tried putting
    the function into the HTML that is created when the Captivate is
    published. Also didn't work.
    I've tried various permutations in the Execute JavaScript
    dialogue too. Do I or do I not need to preface the line with
    javascript: or javascript:function? I tried all options without
    success.
    It would help my nerves if every time I republish a new
    attempt it didn't overwrite standard.js!
    If I could solve this I could also probably solve my other
    requirement to close the browser window when the movie stops - I
    gave up on that last year as not being worth the effort.
    Any help will be very gratefully received.
    WizardOfWellingboro

    Hi again
    Loved your statement:
    The more one learns the more one discovers one doesn't know!
    A former co-worker once shared this with me. It was shared
    with him by a former college professor. It's quite amazing when you
    think about it. I refer to it as
    The Circle of Knowledge
    Draw a small circle on a piece of paper. Everything that fits
    inside the circle represents your total knowledge of any given
    field. The edge of the circle represents everything
    you are currently
    aware of that you
    don't know about it.
    Now let's assume you learn a vast amount about the subject.
    Just look at how large your circle has become! But look at the
    other effect. Look at how much more
    you are currently
    aware of that you
    don't know about it.
    If you would like to ship something my way, I'll be happy to
    see if it runs without issue on my PC or if I see what you are
    seeing. If not, that's cool too. Just thought I'd toss out the
    offer. rstone75 (at) kc (dot) rr (dot) com. Address intentionally
    altered in order to obfuscate scammers.
    Cheers... Rick

  • Calling Forms inside a browser

    Can any one help me, how to call forms 5 or forms6 or forms4.5
    inside a Browser. I have used Jinitiator and sucessfully called
    forms through the browser but it opens up a seperate window
    instead of openeing in the same window.
    Has any one done that if yes can u help me.
    mobeen
    null

    Ihtesham Uddin (guest) wrote:
    : Hi Mobeen,
    : As of Dev/2000 Server Rel 2.1, OWAS 3.0 there is no mechanism
    to
    : call the form in the same browser window. The form applet will
    : always be opened in a new applet Window. May be in future
    : releases of D2K Server and OWAS, it might be possible.
    : Ihtesham uddin
    : Mobeen (guest) wrote:
    : : Can any one help me, how to call forms 5 or forms6 or
    forms4.5
    : : inside a Browser. I have used Jinitiator and sucessfully
    : called
    : : forms through the browser but it opens up a seperate window
    : : instead of openeing in the same window.
    : : Has any one done that if yes can u help me.
    : : mobeen
    Interestingly the behaviour you want is the default if using
    Developer 6 and OAS 4. There you have a menu toolbar and the
    form inside the browser window (I'm using JInitiator).
    Frank
    null

  • Opening New Browser window for click event on an image

    hi all,
    I want someone to help me out solving the problem of opening
    a new browser window on the mouse click event of an image or a
    button etc.... The new window would contain the datagrid details
    from the main window, but in an expanded form. If at all there is a
    solution, I even want to know whether there is anyway for sizing
    the poped up window,because I dont want the new poped up window to
    cover the entire screen.
    For getting better idea of my problem, the best example I
    could give is the popup window that appears when we click on the
    preview button while posting the message to the forum.
    Someone please do help me out in this regard.
    Thanks,
    amar.

    I'd definitely try to use a Flex popup... but the
    flash.net.navigateToURL method is a simple way to open a popup
    window in a new browser. You can pass any data needed by the new
    page using the URLRequest and/or URLVariables. The URL you navigate
    to could, of course, be another Flex application if necessary. I
    use this only when I need to open a popup window on another site,
    or an HTML formatter report or something similar.
    Concerning yourself with the size of the popup window may be
    a bad design choice also. I, for example, have my browser
    configured to open all popups in a new tab regardless of sizing
    constraints imposed by the designer. If it is absolutely necessary
    for you to have control over the size of your popup window, you
    should follow the advice given by others and use a Flex
    popup.

  • Command to open a PDF generated Oracle Report in New browser window

    I know this is probably something for the Oracle Forums but I'll ask anyway because I can't find any info out there on this, without some extra work.
    I am generating a PDF file from 10g Oracle reports on Linux RHEL 5 and storing the PDF file to the server. I can send that PDF file directly to a printer with the "lpr" command and that part works fine.
    What I'm wanting to do now is "View" the PDF from within the server in a new window. We are using RHEL 5 (Linux) platform and I'm trying to see if there is a way to open the file with a "command line" command that will open it in a new browser window or new window period (opening it with Adobe Acrobat).
    Does anyone have a command that will do this? Otherwise, how has everyone else been handling this. The idea of just viewing the previously generated PDF Report file will save us overhead on our database servers because they won't have to re-run some of the same reports over and over.
    Any help and assistance is appreciated.
    Chris

    Several options:
    - If you only want to show the pdf to the client without printing, use destype=cache and use WEB.SHOW_DOCUMENT after the RUN_REPORT_OBJECT (for examples search the forms-forum, there are lots)
    -If you have to generate the pdf to a file to get it printed, you could
    +use WEBUTIL_FILETRANSFER.AS_TO_CLIENT after the printing to transfer the file to the client, then use CLIENT_HOST to view it.
    +map the appserver-directory you generate the report to as a virtual directory in the application-server then use WEB.SHOW_DOCUMENT to directly access the generated file via url.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Company code consolidation impact to BW

    Hello, Our company is going to consolidate 2 company codes.  The data in ECC will be changed at the database level.  the question is how do we sync up BW?  Do we have to do reloads of all the data?  This is a huge effort and risky with the LO extract

  • Migration of MD120

    hi, can anybody tell migration of MD120 its is migration of cuncurreny manger from one instance to other instance. please suggest?

  • Hi i have a macbook and I want to see if I can trade it in for a MacBook pro or a MacBook air

    hi i have a macbook and i want to see if i can trade it in for a macbook pro or a macbook mini

  • Anyone notice new subtitle options on the firmware upgrade?

    It's there for MP4. and mkv, and supports multiple subtitle tracks. Works through HDMI out, although the subtitle text falls at the very bottom of the screen and can be cut off by overscan. Anyway - very cool addition I didn't notice until a few days

  • ATT Early Termination Fee??

    Does anyone know what the early termination fee is for current ATT customers?  My fiance has ATT and loves his iPhone but hates their service--and their website is so confusing I can't find the early termination fee amount. I wonder if Verizon will o