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

Similar Messages

  • Open a 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,
    Pls try the below logic :
    <htmlb:button id = "help"
    text = "Help"
    design = "standard"
    onClientClick = "window.open('http://www.sap.com')"
    tooltip = "Help"
    />
    This will work for you.
    Regards
    CSM Reddy

  • 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

  • How to redirect a page to a new window instead of the current one

    Can someone please tell me how to redirect a page to new window.
    I mean I am running a JSP with a button and on clicking it i am opening a new window (thru javascript offcourse),
    Now response.sendirect("New.jsp") should be opened in that new window opened.
    I tried it but the New.jsp page is opened in the current page (Even though new window is opened ! ).
    Please help.

    Hi,
    U can use the following code to Pop up in new window
    Jsp1.jsp
    <%
    if(action != "")
    response .sendRedirect("Jsp2.jsp");
    else
    %>
    <html><head><title>JSP 1</title>
    <script language="JavaScript">
    function View()
    window.open("Jsp1.jsp?action=view","View","");
    </script>
    </head><body>
    <form name="frm" method="post">
    <input type="button" value="View" onclick="View()">
    </form>
    </body>
    </html>
    <%

  • 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

  • How to open a swf in a new window

    I have a button in one swf that I'd like to open another swf
    in a new window. What's the easiest way to accomplish this task?

    Try to read this article
    http://74.125.39.104/search?q=cache:f8Iq_w8jem0J:kb.adobe.com/selfservice/viewContent.do%3 FexternalId%3Dtn_14192+flash+popup+window&hl=ru&ct=clnk&cd=1&gl=ua&client=firefox-a
    How is represented the list of mp3 files in your player? I
    have a similar task.. Do you use DataGrid?

  • How to open web pages in the same window

    When i click on a link in a search engine it always opens the web page in a new tab. Its annoying and i would prefer mozilla to open it in the current page. How can this be done?

    hello, this is a preference in your google search settings. go to google.com/preferences and disable the option to ''Open search results in a new browser window''.
    https://support.google.com/websearch/answer/425

  • Open a page in a new window when clicking a tab

    Hi everyone,
    I am developing an apex application with apex 4.1.1 and Oracle 11.2.
    I have a tab-set "TS1" in which I have a tab called "startpage". With this tab is associated a page. When logging in, this page is displayed. What I want is when I click the "startpage" tab when I'm in another page than the "startpage", the "startpage" is opened in a new window and the current page doesn't change. Only after a "login", the "stratpage" is displayed without opening a new window. I have tried several things such as an application process, etc but in vain! :-(
    Has anyone an idea how can this be possible?
    Thanks for help!
    Kind regards,

    Sounds a little complicated to do with APEX standard tabs because when you click on them they actually submit the page via javascript. It would take some javascript jujitsu to replace that with your own action. You may have better luck replacing your tabs with a list. Or a plugin like the Enkitec Navbar (disclaimer: I do work for Enkitec).
    However, would you mind explaining better when your trying to accomplish? It sounds a little strange. What is this page that needs to pop open? It wouldn't be a login window would it?
    Thanks
    -Jorge

  • 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

  • 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

  • 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

  • How to open WMV files in a new window

    I would like to open and play Windows Media Player files in a
    new window that is sized to the player window - not a full new
    page. I cannot seem to find an exension that would handle this.
    Anyone have a place I can look?

    Yes, and if you multiple windows to open, you can save time
    and effort
    with my divaPOPgold:
    http://divahtml.com/products/divaPOPgold/open_popup_windows.php
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • How to open a file in a new window

    I need to create a link to a file and have that file open in a new window. I do NOT want to have to create a page for each of about 600 files! And yes, it has to live on MobileMe and be created in iWeb, so save the comments about using other tools and/or hosting services.
    I can create the link just fine but the bloody thing opens in the same window. I thought I used to be able to do that in iWeb 1 but that's moot now.

    It depends on where you put the file on your iDisk. For some reason I can't use the Documents folder on the iDisk However the Pictures folder works and you would use this link:
    http://homepage.mac.com/yourMMe_account_name/.Pictures/filename. (Note the period before Pictures)
    The code for the snippet is:
    <script type="text/javascript">
    function open_win()
    window.open("http://homepage.mac.com/YOURMME_ACCOUNT/.Pictures/FILENAME","blank","toolbar=no, location=yes, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=yes, width=580, height=500") }</script>
    <form><input type="button" value="Click to Play" onclick="open_win()"> </form>
    Click on the Demo Page link above to see the example at the bottom of the page.

  • How to open portal favorites in a new window?

    Hi,
    we want that when a user clics in a portal favorites link, the iview gets opened in a new window.
    I have been searching in the forums and tried all the "solutions" but none of them worked,
    I tried: 
    - Setting the portal favorites iview property ¨Launch in new window : display in a headerless portal window¨
    - Tried setting the parameter ¨Targe Window Type: blank¨ in the collection renderer of the layout set of the favorites iview
    any hints?
    (using EP 7.0 SPS 20)
    best regards,
    Marco.

    Hi Marco,
    I have checked this issue and there it is not possible to force the
    iview which are opening portal content or portal pages as this is
    hardcoded.
    In PortalFavorites iView, portal pages are opening always in the portal
    area, when iView is in the portal area, or into another window, when the
    iView is called as standalone ( see 'Organize Entries' link from tray
    option).
    So there is no way to open into a new window portal pages direct from
    Portal Favorites.This works as designs unfortunately .
    Regards
    Shrikant

  • Opening a page in a new window...

    I have discovered that if a page is being opened by clicking a link rendered using the Destination URI and the target frame is self, then it opens up in a new window. Why can't I duplicate this behavior using the pageContext.setForwardURL method?

    Hi
    OAF gives no ways other than target frame "_blank", to open pop up windows. Also OAF only supports read only pop up window. But if your requirement is a pop up window.... u can do it via javascript. You can see this link...
    http://mukx.blogspot.com/2007/07/javascript-in-oa-framework.html
    Ajay

Maybe you are looking for

  • Cisco ASA 5505 doesn't forware incoming connection to LAN

    Hello everybody. I just got a Cisco asa 5505 with the next OS and ASDM info ASA 5505 OS 8.4(3) ASDM 6.47 I configured and enter all rules to allow incoming traffic to LAN but it's not working also, I have one host inside that is configured in a secon

  • Generating a PDF in Web Dynpro without using InteractiveForms

    Hello All,   I have been following this tutorial <a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial%20on%20working%20with%20the%20pdf%20document%20objec

  • Dreamweaver TEmplate

    I created a webpage using the dreamweaver template when I open it in the browser in a maximize screen its perfect but when I adjust the size the content on the middle 'div' is going to the bottom at the page. How can I do it like if I resize the page

  • Worse signal strength/consistency since 1.1.1?

    Trying to figure out if this is just me. What I am experiencing is: - My signal bars fluctuate more than before 1.1.1 while I am otherwise stationary - It takes longer to restore strong signal after emerging from a parking garage or elevator - EDGE s

  • How to select data from table having date in timestamp

    hi All, I have table and having one field date in type (Timestamp(6)) Date Timestamp(6) I want to select the data from this table for yesterday or current date or someother day Please let me know the query for the same. Regards Kumar