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

Similar Messages

  • 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

  • Firefox randomly opens an existing page in a new window

    I open Firefox with no problem - it opens all my existing tabs. When I choose a tab, and run the cursor over a page (no button pressed) Firefox will randomly (not always) open that page in a new window. VERY annoying!

    The problem occurs with no clicking or dragging, but thanks ...
    ~pete

  • [ADF Faces] How to open a jsf page in a new window.

    I need to open in a new window a page....
    I have used the Dialog Framework, but it does not work, because the objects is never reseteds, the frameworks was saving the states of it.....
    Then I need only to open the page in a new window, a pop up.
    The CommandButton has not the Target property :(
    thanks

    I discovered it
    private String goPohecamp() {
            FacesContext context = FacesContext.getCurrentInstance();
            // Create the dialog UIViewRoot
                ViewHandler viewHandler = context.getApplication().getViewHandler();
                UIViewRoot dialog = viewHandler.createView(context, "/access/ecamp.jsp");
                HashMap properties = new HashMap();
                //properties.put("width", new Integer(250));
                //properties.put("height", new Integer(150));
                AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
                afContext.launchDialog(dialog,
                                        null, // not launched from any component
                                        null, // no particular parameters
                                        true, //show in dialog
                                        properties);
            //return "goPohecamp";
            return null;
        }Like this is better to me

  • How to open the navigated page in a new window???

    i a report when we click on properties and then go to Column format tab.
    there if go to navigate option it jus asks only the target request or dashboard and opens that in the same window on dashboard.
    i want to open that in a new window.
    how to do that?????

    I have an example here http://oraclebizint.wordpress.com/2007/11/26/oracle-bi-ee-101332-same-page-navigation-drills-and-passing-parameters/. You basically need to put it inside an iframe or Embedded Section.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • Opening Default Topic page in a new window

    Hi there,
    I am new to RoboHelp HTML. I have recently started using it
    for work and was asked to look into something.
    I am using version 7.
    The problem we have is that the RoboHelp html files are being
    incorporated into a web application. There is a link in the
    application called "User Guide". This link opens up the RoboHelp
    html files in the same browser window as the application.
    Therefore, when the user wishes to go back to the application or
    close the help files, he/she can't because it's all in one window
    and the application has session (so it wont let you go back to the
    application if you are in the help).
    I know it's possible to simply add a Target="_blank" to the
    actual "User Guide" link on the application side - for it to open
    the help files in a new browser window.
    However, I wanted to know if there is any way to configure
    the RoboHelp HTML to start the inital page - default topic in a new
    window from the actual RoboHelp software.
    Can someone shed some light on this please?
    I hope my question is clear enough, like I said, I am new to
    RoboHelp so my apologies if I haven't explained myself clearly
    enough or used the right words.
    Anyways, let me know.
    Thanks!

    Hi Estel-mm and welcome to our community
    Your requirement cannot be met with simple use of RoboHelp
    HTML. It will likely require hand crafting some special JavaScript
    function to make it work. And here's the rub. Assuming you get it
    to work, it may have an adverse effect in that if you configure the
    default topic to open this way and your end user just happens to
    land on that Default topic again, poof! Another new window.
    Just a thought... Rick

  • Having widgets open a web page in a new window

    Everyone,
    Is it possible to have a widget open a webpage in a new window? I can get it to work when I publish as .html, but not when I publish as a widget.
    Is there any way around this?
    Thanks for ALL of your help!
    Tara

    The widgets options is for Apple iBooks.
    https://www.youtube.com/watch?v=5QPCaGZjL-w
    http://helpx.adobe.com/edge-animate/using/publish-your-content.html
    Darrell

  • Each time I click on a link, firefox opens up the page in a new window, how do I prevent this from happening, ie. view the page in the current window?

    Until I installed an Adobe update, my firefox worked fine, I have had to restore my computer and restart firefox due to advertising which was installed along with the update. Now each time I click on a webpage, a new tab opens and I can no longer view the webpage in the current tab. As you can tell, I am not that computer savy, but I have tried to change all the settings in the options and nothing has worked. I hope this makes sense, please help as it's driving me mad having all of these tabs.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • 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 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

  • 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

  • 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

  • When I left-click the home button, how can it open my home page in a new tab?

    I thought it used to do that. I had to do a clean install of Windows, I believe I was only on FF 22 or 23 when this happened. Now I'm on FF 26 and obviously all my settings are gone.
    I'm 99% sure that when I left-clicked on my home button, it opened my home page in a new tab. I know I can middle-click to get that affect, but it used to be left-click and I do that automatically now. But I don't want to lose the current window I have up, so something's wrong.
    Anyone know how to fix this? Or an add-on to do this?

    If you hold down the Ctrl key while left clicking the Home button then the home page opens in a new tab.<br />
    You can also middle-click the home button like you can with any other link

  • Opening a web page in a new tab appear web page from the history

    When I like to open a web page in a new tab, is opening a BLANK page and in the new tab's address bar appear a random web page address from history .

    Try performing a clean reinstall.
    Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thanks,
    cyborg4

  • 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>
    <%

Maybe you are looking for

  • Connecting Crystal Reports to unicerse

    I am trying to connect to a SAP universe through Crystal Reports 2008. The connection to the universe is made and all the universes in the repository are seen. But when objects are selected to form a query it shows a error message called 'logon faile

  • File Name error when creating file in Solaris C locale

    Background Info: 1.In Java, we can use new File(filename) to create a new file. The filename there is a string denoting the name of the new file. 2.As mentioned in bug4409965, "The 'C' locale in a 7-bit ASCII locale, the 8bit characters enteredn are

  • J4680 WiFi printer and Ubuntu Linux?

    Hi, I use Ubuntu Intrepid Ibex 8.10 and I was wondering how I go about setting up the WiFi for my new printer so I can print wirelessly? This is the first WiFi printer that I have ever owned so this is all new to me for the most part..(well for the b

  • My search bar is not working

    when i type something in my search bar at the top right of the page and hit enter or click on magnifying glass, nothing happens. it doesn't matter what search engine i select. can you help?

  • Applet memory leak in IE 6.0?

    Hi : I am using the following tag to declare an applet, but when I load the page in IE each time I refresh the page, IE memory goes up by ~10MB!! And finally after 5-6 refreshes Microsoft's cunning browser crashes :-)). Any clues? -Sanjay. <OBJECT cl