Open a page in a different window from an action

Hi all.
I have a problem.
I know that I can redirect an action to a page called Page.jsp, but I would like to know if there is a possibility that I can open this Page.jsp in another browser, using window.open from the action.
I can't do it from the page directly, because if I use an onClick instruction, the values of the parameters of the form are not going to be setted, because the form hasn't been submitted.
Any help will be really appreciated.
Thanks in advance.
Engineer Jose Quijada Molina
[email protected]
System Analyst Developer
Lynqus Corporation
Caracas, Venezuela

You can do that by following this example:
http://apex.oracle.com/pls/otn/f?p=31517:216
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------

Similar Messages

  • ForwardImmediately to open new page in a new window

    Hi,
    Is it possible to force the forwardImmediately method to open the specified page in a new window? Like the Target Frame = _blank on the Link item.
    I am unable to use JavaScript to do this.
    Can forwardImmediately be modified to do this or can I create a link item on my page and dynamically fire it from with the processRequest method of my controller?
    Any help will be appreciated.
    regards
    DG

    How to open new window  in CO programitically in OAFramework
    opening a page in a new window using code
    Thanks
    --Anil
    http://oracleanil.blogspot.com

  • Open a URL in a new window from Flash

    Looking for the simplest way to open a URL in a new window from Flash using AS3-CS3, Thank you.

    The following line of code will do that...fill in the URL
    navigateToURL(new URLREquest("http://www....", "_blank"));

  • After I have opened a page in a new window Firefox after a few secs return to the previous page.

    I click on a link in one page to open another page in a new window. This happens and I am brought to the new window, but after 1-3 secs I am brought back to the original window.
    To go to the new window I have to move the cursor to the list at the bottom of the screen and click on the entry for the new window.
    This behavior started a few weeks ago (say early September).
    The problem is consistent.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Is it possible to open drill down chart in different window ?

    Dear expert
    Is it possible to open drill down chart in different window ?
    Regards
    imansyah

    HI imansyah,
    Can you try doing what you want in first instance and then try posting your problem you face.
    Regards
    Rana

  • Opening the Visualizer into a different window

    Hello every body
    I would like to open the Visualizer into a different window, for example in the graphic window.
    The idea is that I want to project the Visualizer but I want to keep one eye onto the list.
    So to have two different windows. One for managing the play lists and one to show album artworks or Visualizer.
    Is there any possibility?
    If one of you have one idea thank you.
    Filipe

    Hi
    In the XML coding in Pop up window objects we have to code the default size of the pop up window.
    Regards
    N Ganesh

  • Open a page in a new window on clicking a button

    Ver: Application Express 4.1.1.00.23
    Hi,
    I have a button which opens up another page and I am passing values through the button. But I want the new page to open up in a new window.
    I know that we can make the button action type Redirect to a URL and put the target as blank, but in that case, I have to hard-code my entire website link in the URL, which is what I am trying to avoid.
    Is there any way around this?
    Thanks.
    Parth.

    Hi,
    I'm trying to understand exactly what you expect to happen for the page/window operation.  Anytime a page/window is opened, I think there's a URL called.  (I could be wrong.)  I think you must have a URL.  I suppose there are a couple different ways to open a page/window.  You could call javascript from a Dynamic Action fired by the button.    For example, I have
    javascript:callMyPopup(42,'42:P42_GOBACK_PAGE,P42_ROWID,P42_DSD_ID,P42_PROC_NM:&APP_PAGE_ID.,#ROWID#,#DSD_ID#,#PROC_NM#');
    Where callMyPopup function defined in the Page's Header Text -- I'm on APEX 4.1.
    <script language="JavaScript" type="text/javascript">
    // Start script
        function callMyPopup (pageID,parms) {
        var url;   url = 'f?p=&APP_ID.:'+pageID+':&APP_SESSION.:::'+parms+':';
    // alert('url = '+url);
        Page42 = open(url,"","Scrollbars=1,resizable=1,top=600,left=100,width=925,height=250");
    // End script   }
    </script>
    Does that help any?
    Howard
    (more)
    Google with "oracle APEX open popup window"
    See especially: http://www.nullskull.com/q/10182263/how-to-create-a-popup-page-in-oracle-apex.aspx

  • How to Open BSP page in a new window?

    Hi All,
    I am creating a BSP application wherein i have a htmlb button for "help".
    I want to open this help page in a new window, so that alongwith the help page the user can
    view other pages also simultaneously.
    Is there any way by which i can open this BSP page into a new window without loosing
    the contents of the current page on which the help button is present.
    A sample code for opening page in new window will be of great help.
    Thanks in Advance for your help.

    Hi Mahima,
    Use the onClientClick event of the button.
    on_Client_Click="callwindow();"
    <s cript>
    function callwindow()
    win_dow.o_pen("www.sap.com");
    </s cript>
    Please remove the underscores from code.
    Regards,
    Anubhav

  • Open a page in a new window passing him some parameters

    Dears all,
    System used : SAP WebAs 6.20
    I have a link in my application which will open a contact form in a new window. This occurs by this mean :
    a href="#" onMouseDownMethod="pop()" class="fontNavRIS">CONTACT US
    script
    function pop() {
    window.open('order.htm', 'nom_popup',"menubar=no, status=no, scrollbars=yes, menubar=no, resizable=yes,width=480, height=680");
    /script
    When we click on the linh CONTACT US, we will open a new window with the page Order.html inside.
    In this page, we will fill a form and will send it by e-mail. All that is Ok.
    What I would like, is to be able to pass some values to the new window so that it fills some fields in the contact form. With JavaScript I don't know how to pass the parameters to another window.
    I tried too with cookies, but I don't have any knowledge in this domain.
    Thanks by advance if someone can help me.
    Regards,
    Nelson
    To post the message I was obligated to remove the "<" and ">" from my code, and rename onMouseDown to onMouseDownMethod...

    Hi,
    Sorry Arun but I don't understand one point.
    this code :
    navigation->goto_page( 'third.htm' ).
    is ABAP code right ?
    Today I use this :
    window.open('order.htm', 'nom_popup',"menubar=no, status=no, scrollbars=yes, menubar=no, resizable=yes,width=480, height=680");
    because I call my new window from a JavaScript function.
    navigation->goto_page( 'third.htm' ).
    is not javascript code, I can't replace my code by this one. This give me an error.
    Like explained, I've tried to do this :
    function pop() {
    <%
       navigation->set_parameter( name  = 'username' value =  '123' ).
    %>
    window.open('order.htm', 'nom_popup',"menubar=no, status=no, scrollbars=yes, menubar=no, resizable=yes,width=480, height=680");
    But I have this message : The field "navigation" is unknown, but there is a field with the similar name  "_m_navigation"
    I do all this manipulation always in the Layout section of my page

  • Opening remote page in new browser window

    Hi there,
    my applet used the browser window as its frame, that means there is nothing else but the applet. I need to call a page from the same server as the applet resides, but to display the page in a new browser window. The following code could do the job, but caused the browser to block the popup.
    applet.getAppletContext().showDocument(new URL
                            ("http://mydomain/mypage.jsp"),"_blank");I'm wondering whether I could access a servlet from my applet and let the servlet accomplish this and how to.
    It would be also of interest whether it is possible to do the same with a page from a remote server and triggering the client to display the page in a new window.
    Any help is highly appreciated.
    Thanks in advance.
    Stephan

    Sorry, mixed up my versions a bit. The following code doesn't open a new window.
    try {
                JSObject window;
                window = JSObject.getWindow(this);
                URL url = new URL(this.getCodeBase(), "mydomain/mypage.jsp");
                window.eval("window.open(" + url +")");
            catch (Exception e) {
                e.printStackTrace();
    }It doesn't do anything, instead I'm getting the following output in the trace:
    liveconnect: the url of the applet is http://localhost:29080 and the permission is = false
    liveconnect: JavaScript: UniversalBrowserRead enabled
    liveconnect: JavaScript: UniversalJavaPermission enabled
    liveconnect: JSObject::eval(window.open(http://localhost:29080/mydomain/mypage.jsp))
    liveconnect: the url of the applet is http://localhost:29080 and the permission is = falseI'm testing this code on Linux, FIrefox 1.5.0.3 and JDK1.5.0_07.
    What I'm doing wrong?
    Thanks.
    Stephan

  • Safari not opening any pages, just a white window screen.

    Safari isn't opening any pages, the window just opens to a white screen. The wifi is working and says it is connected, i have as hooked an ethernet cable but its still just a white page.

    Download the Safari 7.0.3 installer package and run it. You can download it in another web browser, if you have one, or on another computer (not an iOS device, but not necessarily a Mac) and transfer it to the affected machine via the network or an external storage device. Otherwise, if you have mail access, open the email notification of this comment, then see below.
    Triple-click the word "curl" in the line below on this page to select the whole line:
    cd Desktop; curl -LO http://swcdn.apple.com/content/downloads/15/41/031-3451/fovoxh8xl01wpditg1tngu3wsl6rdg1ypd/Safari7.0.3Mavericks.pkg
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing the key combination command-V. You may have to press the return key after pasting.
    The Safari installer package will be downloaded to the Desktop. The Terminal window shows the progress of the download. When it's complete, quit Terminal and open the package.

  • Open a Form in a popup window from a PL/SQL portlet

    Hi,
    I have a form that I want to open in a popup window from a URL in a PL/SQL portlet. What is the easiest way to do this? Are there any examples in here or on Metalink as to how to achieve this?
    Thanks,
    Steve West

    Is it a HTML page somewhere on a server with a HTML form on it? You can use javascript tags in ur link to do this maybe?
    javascript:window.open('http://<server name>/page.htm','mywindow','width=400,height=200')
    Obviously if this is a portal form you can also link directly to the show procedure no problems.

  • Open only page/iView in new window

    Hi,
    How can I publish a porta page (or iView) in a way that I can open the page/iView without the role menu? Or what kind of URL should I use to call the page (or iView).
    In other words I want to achieve the same functionality which I get when I test the page or iView with the preview button in the portal content directory.
    I assume that I still need to assign this page (or iView) to a role and then assign this role to the user (in order to get this working), but I don't want certain types of users to see the role menu. They just need to open the needed application from our Intranet.
    I thought I could achieve this by using "URL navigation" but it still shows the role context menu.
    Regards
    Pa

    Hi,
      You say you have already checked with NavigationTarget option? What kind of iVIew it is? Why not pick the url link from the preview page itself? That will not show role based menu. The url u picked can be added as link to ur intranet page. You have to decide on authentication though. If you want user to click the link and enter portal username and password to see the iView, then u can keep default settings. Else you can make the iView as anonymous iView by setting it in iView properties.
    Hope that helps.
    Regards,
    Harini S

  • UIX question: Open printable page in a new window

    I am using 10.1.2 version of JDeveloper with UIX/ADF.
    In one of the UIX pages, I am using a submit button to fire an event named printMe to open the uix page in a printable format.
    <event name="printMe">
          <showFacet name="printable"/>
        </event>But, understandably this takes out all the links in the page and the only way to go back to the original page is to use the back button (which users might find unintuitive). I was wondering if there is a way to make the printable page to open in a new window?
    I don't think using the destination or onClick attributes of the submitButton with the javascript:openWindow() function would achieve this. Because this still loads the page in a 'printable' format in the same window and opens a new window in the 'non-printable' format.
    I would like to know, if there is a way to direct the printable facet to open in a new window leaving the original page as-is, so the users can print, close the new window and resume using the application.
    Or is there a better way to handle this, as I am open to ideas if there is a better way to address this usability issue.
    Thanks in advance,
    Karthik

    Dear Sir...
    assume that in order to view the report in the page, you should change the where clause of a view object for example (this is dependent on how and what settings you want to make for the page. it does not have to be like this, it is dependent on how you prepare data, perhaps you do not have to prepare anything at all, i do not know what code you have).
    So, assume that in order to view the print report, your code was something like this:
    public void onViewReport(DataActionContext ctx)
    ViewObject V=GetView(); //
    V.setWhereClause("myfiled=123"); //
    V.executeQuery(); // these steps used for preparing data
    ctx.setActionForward("printpageforward"); // go to print page
    Now you remove this code , go to the print page, and override the print page prepareModel method with something like this:
    protected void prepareModel(DataActionContext actionContext) throws Exception
    super.prepareModel(actionContext);
    ViewObject V=GetView();
    V.setWhereClause("myfiled=123");
    V.executeQuery();
    Now you add the script to your button to show the print page in a new window, and that is it. your print page should work fine.
    best regards

  • Linking a page as a browser window from a drop-down menu item

    I have tried to link from a drop-down menu item to link to a small browser window instead of a full page.  I tried using the "behaviors" but I got both the regular page and the browser window.  Is there a way to make it just the browser window.
    Thanks.

    I tried that target=_Blank" but I still got the regular page plus the small browser window .  I got rid of the Behavior for now.  My aim is to would display the page in a simple 450 wide x 450 long browser window with a scroll bar with nothing else.  If you can give me a code hint to do that, It would be appreciated.  I'll figure out the rest.
    My HTML coding skills are limited, as I'm used to using FP.(FP seems to be to the Web circles as the Bard's Scottish Play is to the theatrical world)

Maybe you are looking for

  • Changing the work order concept .

    While creating  PM Order IW31 , I get responsible work center and profit center populated once I select the main work center . My question is if I change the Main work center should the responsible work center and profit center change automatically ?

  • G5 wont boot past white screen,or if it does keyboard&mouse don't work

    Before it had this mega crash it had been having trouble starting up - the fan was making jet engine noises and taking forever for it to get to my desktop. It then proceeded to crash a few times during the week when using Illustrator. Then last week

  • Problems reading non-english fields from database on Unix platform

    Hello! I am trying to get some data(not in English) from the database and write it to the file. I use ResultSet for that perpose. On PC the program runs all right, but when I run it on Unix, I get garbage instead of letters in my output file. I tried

  • Create Info objects after extracting ds from ecc

    Hi All, I have replicated ds from ecc to bi and executed the infopackage. Now the data is upto psa level. How to create info objects after loading data to psa level to load the info objects to data targets like infocubes and dso. I have done to suces

  • Linking contiguous copy into InDesign

    Hello. I have a job that has say 10 different paragraphs of copy turning into a lot of variants. For instance: Letter 1 has copy 1, 2 and 3 Letter 2 has copy 1, 2 and 4 Letter 3 had copy 1, 4 and 8 Is there a way to import copy into InDesign and if i