How to Open Hyperlink in a New Browser?

Hi, 
I have a hyperlink in my report that takes the user to a webpage and from my ASP application, I want the hyperlink to open a new browser session or tab instead of taking over my current session and losing my report.  This will give the users the ability to flip back to the report and open another page if they need to. 
Interesting how right-clicking the hyperlink has Open in New Tab and Open in New Window greyed out. 
Windows application works fine and the hyperlinks open in their own tab. 
Is there a way to encapulate the url from the hyperlink in a javascript popUp? 
I'm using CRVS2010 in VS2010. 
Thanks,
Brian

Hi Brian,
On the properties page of the view find the Property HyperlinkTarget, default is set to _self, change it to _blank.
Have fun
Don
PS - Thanks to Dan P. For this.

Similar Messages

  • Open hyperlink in a new browser

    Hello,
    All of our crystal reports are posted on Infoview. I need to create a report that would have a hyperlink to a different report also posted on Infoview. I want the second report opened in the new window. What formula should I use to open a second report in the new window?
    Thanks!!
    Olga

    hello all,
    you can do this using opendocument syntax. unfortunately opendocument syntax information is not that common.
    1) please do a search on your system for report_viewers.zip or report_viewer.chm. this is the help file that has the information on opendocument.
    2) once you have opened the chm go to the Search tab and type in opendocument
    3) select "URL Reporting Using openDocument" and press the "opendocument parameters" link
    4) scroll down and there is a "sWindow" parameter and use the value New
    in the chm there are examples on each opendoc parameter....i have pasted this particular page below as well.
    in cr2008 there is an Enterprise Hyperlink wizard which has open in new window as an option.
    there are a lot of things you can do with opendocument:
    a) go to the top of a report page
    b) use an "index" at the top of a report page to go to, for example, groups that start with the letter "G"
    c) go to a specific part of the report or another report
    d) hide the drilldown tabs
    e) hide the toolbar
    etc.
    i will endeavour to blog about this in the near future and have some sample reports.
    here's the info from the chm
    OpenDocument parameters
    There are two implementations of the openDocument function. The exact syntax of the <platformSpecific> parameter depends on your implementation:
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    The first parameter of the link
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?
    The first parameter, as displayed in the example above, must precede all other parameters. After this information, the parameters can appear in any order.
    The parameters of the function are displayed in the following table. The mandatory column indicates whether the parameter is required in the link.
    Note:    The document containing the openDocument link is called the parent document, and it resides on the parent system. The document to which the link points is called the target document, and it resides on the target system.
    Parameter syntax Description of parameter Mandatory? Values accepted for parameter
    sPath
    The name of the Crystal folder and subfolder containing the target document.
    Yes if sDocName is specified and is not unique.
    Crystal folder and/or subfolder:
    [folder],[subfolder]
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sPath=SalesReports,SubFolder
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    sType
    The file type of target document or report.
    Yes
    wid
    rpt
    car
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sType=wid
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    sDocName
    Document name.
    One of sDocName or iDocID is mandatory.
    Document name.
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sPath=SalesReports&sDocName=Salesin+2005
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    iDocID
    Document identifier.
    One of sDocName or iDocID is mandatory.
    Document identifier.
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sType=wid&sDocName=SalesReport&iDocID=2010
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    Replace 2010 with the document ID.
    Tip:   
    To obtain the document ID, navigate to the document in InfoView, hover your mouse over the document name hyperlink, and look for the ID number in the browser's status bar. You can also obtain the document ID from the Central Management Console.
    sIDType
    Crystal object type.
    Yes if the target is a Crystal report or OLAP Intelligence report (sType=rpt or =car) in an Object Package (otherwise, use sPath and sDocName)
    CUID
    GUID
    RUID
    ParentID
    InfoObjectID (default)
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sPath=SalesReports&sDocName=Salesin+2003&sIDType=InfoObject
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    sReportName
    Indicates which report to open if target document is multi-report.
    No (default is the first report)
    Report name for Web Intelligence documents, sub-report for Crystal Reports, pages for OLAP Intelligence reports.
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sType=wid&sDocName=Salesin2003&sReportName=FirstReportTab
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    sOutputFormat
    Indicates the format in which the target document is opened.
    No (default is HTML if the parameter is not specified in the link)
    H (HTML)
    P (PDF)
    E (Excel)
    W (Word)
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sPath=SalesReports&sDocName=Salesin+2003&sOutputFormat=E
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    sReportPart
    Indicates which specific part of the target report to open.
    No
    Name of the report part.
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sPath=SalesReports&sDocName=Salesin+2003&sReportPart=Part1
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    sPartContext
    In Crystal Reports, a report part is associated to a data context.
    Yes if a value is specified for sReportPart
    Data context of the report part.
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sPath=SalesReports&sDocName=Salesin+2005&sReportPart=Part1&sPartContext=0-4-0
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    sInstance
    Indicates which specific instance of the target report to open.
    No (use with sDocName and lsS[NAME])
    User (Link to latest instance owned by current user)
    Last (Link to latest instance for report)
    Param (Link to latest instance of report with matching parameter values)
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sPath=SalesReports&sDocName=Salesin+2003&sReportPart=Part1&sInstance=User
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    sReportMode
    For Crystal targets only, indicates whether the link should open the full target report or just the report part specified in sReportPart.
    No (default is Full)
    Only applies if a value is specified for sReportPart
    Full
    Part
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sPath=SalesReports&sDocName=Salesin+2003&sReportPart=Part1&sReportMode=Part
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    sRefresh
    Indicates whether a refresh should be forced when the target document or report is opened.
    No
    Y (forces the document's refresh)
    N (note that the refresh on open feature overrides this value)
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sType=wid&sDocName=SalesReport&iDocID=2010&sRefresh=Y
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    sWindow
    Indicates whether the target report will open in the current browser window or whether a new window will be launched.
    No
    Same (current browser window)
    New (new browser window is launched)
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sType=wid&sDocName=SalesReport&iDocID=2010&sWindow=New
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    lsS[NAME]
    Specifies a value for a single prompt. [NAME] is the text of the prompt.
    No
    A single prompt value.
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sType=wid&sDocName=SalesReport&iDocID=2010&lsSSelectaCity=Paris
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    lsM[NAME]
    Specifies multiple values for a prompt. [NAME] is the text of the prompt.
    No
    Multiple prompt values, separated by a comma. If the target is a Crystal report, each value must be enclosed in square brackets. If the target is a OLAP Intelligence report, use the MDX WITH clause (refer to Specifying prompts for OLAP Intelligence report targets).
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sType=rpt&sDocName=SalesReport&lsMSelect+Cities=[Paris],[London]
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    lsR[NAME]
    Specifies a range of values for a prompt. [NAME] is the text of the prompt.
    Note:    Not supported by OLAP Intelligence
    No
    A range of values for the prompt, separated by a double period (..). If the target is a Crystal report, the range must be enclosed in square brackets and/or parentheses (use a square bracket next to a value to include it in the range, and parentheses to exclude it). If the target is a OLAP Intelligence report, use the MDX WITH clause (refer to Specifying prompts for OLAP Intelligence report targets).
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sType=rpt&sDocName=SalesReport&lsRTime+Period:=[2000..2004)
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    lsU
    Specifies a URL to which the user is redirected.
    Note:    Not supported by OLAP Intelligence
    No
    A URL.
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sType=wid&sDocName=SalesReport&iDocID=2010&lsU=http://www.site.com
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    lsC
    Specifies a contextual prompt if there is an ambiguity during SQL generation (Business Objects and Web Intelligence documents only).
    Note:    Not supported by OLAP Intelligence
    No
    A prompt value that resolves the ambiguity in the SQL generation.
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sType=wid&sDocName=SalesReport&iDocID=2010&lsC=Sales
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter.
    NAII
    Forces the display of the prompt selection page.
    Note:    Not supported by OLAP Intelligence
    No
    Y (all prompts whose values are passed with lsS, lsM or lsR are pre-selected)
    N (displays only the prompts whose values passed with lsS, lsM or lsR)
    Example:
    http://<webserver>/businessobjects/enterprise11/<platformSpecific>?sType=wid&sDocName=SalesReport&iDocID=2010&NAII=Y
    For Java implementations, use desktoplaunch/opendoc/openDocument.jsp in place of the <platformSpecific> parameter.
    For .NET implementations, use InfoView/scripts/opendocument.aspx in place of the <platformSpecific> parameter
    Edited by: Jamie Wiseman on Dec 3, 2009 10:01 AM

  • RoboHelp 8 HTML - Open Hyperlinks in a New Browser Window

    [email protected]
    Hi all,
    I’m new to the RoboHelp community and have an issue I have not yet seen addressed elsewhere in the forums. I’m working in RoboHelp 8 HTML and am generating webhelp. My question is regarding hyperlink options. The option for open in a new window opens topics and links in a new tab. Is there a method, hacking or otherwise, for having the links open in a new browser window?
    Much thanks in advance.

    Hi,
    Welcome to Adobe forum,
    As I understand you are trying to open the hyperlinks in a new window instead of a tab.
    Well it is possible in Robohelp 8 HTML
    Here are the steps which you need to follow.
    1. Select the text Right click on it and then select Insert Hyperlink.
    Once you click on the Insert Hyperlink another Popup window will appear in your screen.
    You need to check this screenshot and select the appropriate option.
    Try and generate the Webhelp and see if that helps you,
    I hope that will resolve your issue.Please reply if that resolves your issue.
    Thanks
    Priyank

  • How to open my Ireport in new browser tab window

    hi
    I'm using Jdev v 11.1.2.3.0
    Isucced in conneting and calling (ireport) generated report from my adf application in pdf file format
    All what I want to do now is to call or open the report in browser tab window
    I can call it in the same tab window
    using this line code
    response.setHeader("Cache-Control", "max-age=0");
    or
    make attachment download
    using this line code
    response.setHeader("Content-Disposition", "attachment; filename=\"report.pdf\"");
    please help me in this last setp
    here is my code to call ireport
    after adding nessesary jar files and Datasource in wedlojic
    maybe it help others
    ============
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.sql.Connection;
    import java.util.HashMap;
    import java.util.Map;
    import javax.faces.context.FacesContext;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import javax.sql.DataSource;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.type.WhenNoDataTypeEnum;
    import net.sf.jasperreports.engine.util.JRLoader;
    import oracle.adf.model.BindingContext;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.binding.BindingContainer;
    //import oracle.adf.model.binding.DCIteratorBinding;
    public class mainNew {
    private RichInputText copyFrom;
    private RichInputText copyTo;
    public mainNew() {
    public void setCopyFrom(RichInputText copyFrom) {
    this.copyFrom = copyFrom;
    public RichInputText getCopyFrom() {
    return copyFrom;
    public void setCopyTo(RichInputText copyTo) {
    this.copyTo = copyTo;
    public RichInputText getCopyTo() {
    return copyTo;
    public String cb3_action() {
    String s =(String)copyFrom.getValue();
    String d =(String)copyTo.getValue();
    // copyTo.setValue(s);
    // DCIteratorBinding empIter = (DCIteratorBinding) getBindings().get("Employees1Iterator");
    // String empId = empIter.getCurrentRow().getAttribute("DepartmentId").toString();
    Map m = new HashMap();
    System.out.println(s) ;
    System.out.println(d) ;
    // m.put("eployeeId", copyFrom.getValue() );
    if (s!=null) {
    m.put("whr", "Where department_id ="+s); }
    if (d!=null) {
    m.put("whr", "Where employee_id= "+d);}
    if (s != null & d==null)
    { m.put("whr", "Where department_id ="+s);
    if (s==null & d!=null) {
    m.put("whr", "Where employee_id= "+d);}
    if (s!=null & d!=null) {
    m.put("whr", "Where department_id ="+s +" and employee_id="+d);}
    if (s==null & d==null) {
    m.put("whr", "Where 1=2");}
    try
    // runReport("empRep2.jasper", m);
    runReport("empsDyn.jasper", m);
    catch (Exception e)
    return null;
    public BindingContainer getBindings()
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    public Connection getDataSourceConnection(String dataSourceName)
    throws Exception
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup(dataSourceName);
    return ds.getConnection();
    private Connection getConnection() throws Exception
    return getDataSourceConnection("hrDS");
    public ServletContext getContext()
    return (ServletContext)getFacesContext().getExternalContext().getContext();
    public HttpServletResponse getResponse()
    return (HttpServletResponse)getFacesContext().getExternalContext().getResponse();
    public static FacesContext getFacesContext()
    return FacesContext.getCurrentInstance();
    public void runReport(String repPath, java.util.Map param) throws Exception
    Connection conn = null;
    try
    HttpServletResponse response = getResponse();
    ServletOutputStream out = response.getOutputStream();
    /// response.setHeader("Cache-Control", "max-age=0"); // opens in same page
    response.setHeader("Content-Disposition", "attachment; filename=\"report.pdf\""); // genreat adownload file
    // response.setHeader("Content-Disposition", "inline; filename=\"" + "Report.pdf\"");//opens in same page
    response.setContentType("application/pdf");
    ServletContext context = getContext();
    InputStream fs = context.getResourceAsStream("/reports/" + repPath);
    JasperReport template = (JasperReport) JRLoader.loadObject(fs);
    template.setWhenNoDataType(WhenNoDataTypeEnum.ALL_SECTIONS_NO_DETAIL);
    conn = getConnection();
    JasperPrint print = JasperFillManager.fillReport(template, param, conn);
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    JasperExportManager.exportReportToPdfStream(print, baos);
    out.write(baos.toByteArray());
    out.flush();
    out.close();
    FacesContext.getCurrentInstance().responseComplete();
    catch (Exception jex)
    jex.printStackTrace();
    finally
    close(conn);
    public void close(Connection con)
    if (con != null)
    try
    con.close();
    catch (Exception e)
    }

    One solution would be to generate the report via an servlet which you then call with an af:golink with an target frame set to blank.
    For a sample how to do this check out http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/
    Timo

  • Opening a servlet in new browser window

    Does anyone know how you can make a servlet open in a a new browser window when clicking a link for that servlet.
    cheers

    Hi..
    do
    window.open("http://localhost:8080//yourservlet-path//servlet-name");
    you can also set window properties, they are passed as parameters to window.open
    see syntax of window.open. but this thing will open your servlet in a new window with default properties.

  • Link which should open up on a new browser

    Hi,
    I need to create a link on a self service page through OA frame work. My requirement is that when the user clicks on the link the new page should open up into a new browser. The link is embedded in a tip on the message. The tip is actually a AOL message.
    It should look like this...
    Tip: ----------------------------------------------------------------------------------------------------------.Click HERE to view.
    HERE should be the link to the new page.
    When I try to incorporate the blank or new tags in the html tags in the messgae itself and call it in JDEV...in the TIP...new page opens up in the same window.
    Have tried creating a LINK ITEM. But Placing the link ITEM on the page seems difficult. Are their attributes which control the placing, Fond, color of such LINK ITEMS?

    Welcome to the forums !
    Pl post your OS and EBS versions. Pl see if MOS Doc 416705.1 (How to Create Link With Customized CSS Style to Open a New Window?) can help
    HTH
    Srini

  • How to open hyperlink(target Webi report) in new tab in BOXI3.1

    Hi all,
    Currently we are using report link using hyperlink syntax between summary report and transaction report.
    We were able to open transaction report either new window or same window.
    *"<a href="http://<servername>:8080/OpenDocument/opendoc/openDocument.jsp?sType=wid;iDocID=108&sWindow=New&lsSEnterJOBID:="UserResponse([Query 1];"Enter JOBID:")"&lsSEnterAccount:="URLEncode([Account]) ">"[Description]"</a> * "
    Summary report(Source report) is having one parameter: JOBID
    Transaction report(Target report) is has two parameters: JOBID and Account
    Now our client requirement is target report needs to be shown in same window but in new tab.
    Is it posssible in BOXI3.1,if yes kindly provide me syntax.
    Thanks in advance,
    Subash
    Edited by: subaschandrabose sunkari on Aug 7, 2009 10:48 AM
    Edited by: subaschandrabose sunkari on Aug 7, 2009 10:50 AM
    Edited by: subaschandrabose sunkari on Aug 7, 2009 10:50 AM

    hi Bhargav,
    i have developed summary report in one tab and transaction report on other tab
    Summary report is developed on One data provider.
    ="<a href=http://Severname:8080/OpenDocument/opendoc/openDocument.jsp?sType=wid&iDocID=11234&sWindow=Same&sReportName=Transaction&lsSEnterJOBID:="UserResponse([Query 1];"Enter JOBID:")"&lsSEnterAccount:="URLEncode([Query 1].[Account]) ">"[Description]"</a>"
    sReportName=Tab name(report tab name we need to specify.

  • Opening sales order in new browser window

    hi experts,
    i have ALV table in which one of the columns is sales order number. I made the column as hyperlink so that user can click on it. when the user clicks on this i am calling an event handler method which is linked on_click event of the ALV interface controller . i am able to capture the sales order number in the method. Now i want to call va03 transaction for this sales order in a new browser window. we are going to integrate this application in portal. any ideas?. i heard something about the object based navigation. how to do this?
    thanks
    Edited by: sudhakar murthy on May 12, 2010 6:04 PM

    Hi Sudhakar,
    Check out the below code to open a Transaction from WD in an external window and pass the value in that Transaction. I am passing the value here in the VF03 transaction's Billing document screen field .
      DATA: url TYPE string,
            host TYPE string,
            port TYPE string.
    *Call below method to get host and port
      cl_http_server=>if_http_server~get_location(
         IMPORTING host = host
                port = port ).
      CONCATENATE host ':' port
      '/sap/bc/gui/sap/its/webgui/?~transaction='
      '*VF03 VBRK-VBELN=123456' " 123456 is the value you are passing into the Billing document screen field of the    
       INTO url.                                      "VF03   transaction
    *get the window manager as we are opening t code in external window
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_window TYPE REF TO if_wd_window.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    call the url which we created above
      lo_window_manager->create_external_window(
      EXPORTING
      url = url
      RECEIVING
      window = lo_window ).
      lo_window->open( ).
    Hope it helps you...

  • Open URL in a new browser from a JSF backing bean

    I want to use commandButton action in jsf to launch a new browser instead of using commandLink.
    How do you launch url in a new browser window by firing up a method in backing bean?
    So far I am able to launch a URL within the same browser window. Here is my code:
    In jsp file:
    <h:commandButton rendered="#{openDataList.valueModifiable}" value="link" action="#{openDataList.link}" />
    In backing bean:
    public void link()
         try{
         FacesContext faces = FacesContext.getCurrentInstance();
         faces.responseComplete();
         ExternalContext context = faces.getExternalContext();
         context.redirect("http://www....");      }
         catch(java.io.IOException e)
    ...

    with a commandButton i dont belive you can
    well there are ways you can use javascript window.open
    or you can use a commanLink ans set the target
    but from my understanding there is no way to open a new browser from the backing beans ( this is because this is a client function and your backing beans are on the sever )

  • IWeb link opening in a external (new) browser window.

    Dear members:
    After making several unsuccessful attempts to find this information I decided to post a questions here to see if anyone has the answer.
    I have created two web site with several web pages in iWeb but haven't been able to add links to a page that open not in that same page but to open in an extra (external) browser window. Is there a way to make a link open in a different browser window than the one that has the page with the link ?
    Another question I have refers to iWeb's display of some images. For my web sites I chose one of the templates offered with the program. In one of the pages there are small portions of text followed by a square image next to it. Some of the images in iWeb work as placeholders that are replaced by the final images once they are dragged and dropped over them. However, this small images following the text don't behave like that. They simply aren't replaced. I tried to "overlay" the final images over the template ones thinking that once the site was published they would be replaced. Actually, after posting the web site I noticed that when the pages load the template images show up first and them the ones I placed over them beginning to cover them.
    Why is this happening and how can I solve this problem ?
    Thank you in advance for your help.
    Best regards,
    Joseph Chamberlain

    Dear varkgirl:
    Thank you very much for your help and valuable suggestion.
    I've tried your suggestion but ran into some problems. The links I am trying to open in another window are actually PDF files that the viewer can download from my website.
    Since I was having problems I decided to try something else. After publishing the website to my desktop I then opened the pages where the links are in Dreamweaver. The layout view is great and displayed the image just the way it appears on the browser's window. I first selected the "link button" to the file and then in the inspector windows (bottom of the page) I chose under target the "_blank" option. This tells the software that the linked page or file is to be opened in a new blank browser window. I then saved the page (re-saved it over the existing file) to incorporate the changes. After this I proceeded to navigate through the website and everything works great.
    Thank you for your help and suggestions. I just thought I would post this here in case it may be of help to you as well as others.
    Best regards,
    Joseph Chamberlain

  • New website overwrites previous tab--how to open it in a new tab?

    When I open a new website, rather than opening a new tab, it takes the one that's already open. How can I make it open in a new tab?

    You can click on the link or bookmark using Ctrl+click or Ctrl+Shift+click.
    One of them will open in the foreground in a new tab the other in the background into a new tab. Depends on your options settings.
    Some items you might want to set in '''about:config''', see Firefox configuration variables relating to clicking on a link or on a bookmark. (#newtab)<br>http://dmcritchie.mvps.org/firefox/keyboard.htm#newtab
    You might want to try these settings in your about:config as described in the above link.
    :'''browser.search.openintab''' user set '''true'''
    :browser.tabs.loadBookmarksInBackground default false (***)
    :browser.tabs.loadDivertedInBackground default false
    :browser.tabs.loadFolderAndReplace user set false
    :browser.tabs.loadInBackground user set false (***)
    (***) you want these two to have the same setting so opening from a link will be the same as opening from a bookmark or opening from history.
    Google Search results > upper right corner gear/settings:
    Results Window: [x] Open search results in a new browser window.
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • Do NOT want to open link in a new browser window - iWeb '09

    I do not want links that navigate around my website to open a new browser window every time. Right now, for example, From my main page, I click a link to a secondary page, it opens it in a new window, I then click the link back to my main page, and it opens in a new window. I now have 3 windows open.
    I am not using the navigation bar as it set ups with iWeb (I have it hidden). I am using hyperlinks I attached to text boxes. Would this problem be remedied if I was using the navigation bar? If so, is there anyway to edit the appearance of the navigation bar and it's location on the page?
    Primarily though, I would like my text hyperlinks to just navigate my page and not open in new windows.
    Thanks!

    And that's the way it should be.
    If you look at this page about navigation you'll see that the main navigation uses eternal links and the sub navigation internal ones....
    http://www.iwebformusicians.com/WebMusic/Navigation.html
    Try the troubleshooting steps under "Fix iWeb" here.....
    http://www.iwebformusicians.com/WebMusic/iWebTips.html

  • Opening a JSP in new Browser window

    Hi friends i want to open a JSP into new Window.
    Mean from one jsp i want to call another JSP,
    which should open in another browser window, and it should fills the feild automatically with default values.
    Can any one give my an idea how to implement this.

    Hi..
    do
    window.open("http://localhost:8080//yourservlet-path//servlet-name");
    you can also set window properties, they are passed as parameters to window.open
    see syntax of window.open. but this thing will open your servlet in a new window with default properties.

  • 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

  • Open discoverer report in new browser window and without connections page

    Hi All,
    We are using Oracle 11g Discoverer 11.1.1.4.  Requirement is to open the discoverer report in a new browser window and without connections page.
    When we are running discoverer reports with this parameters we unwantedly get the connections page of the discoverer plus which we don't want.
    Went through the documentation given in this page and followed it still the issue persists, and i see couple of threads with my issue and no updates.
    This excerpt is from the documentation available in the link
    " _plus_popup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it "
    http://www.art2dec.com/documentation/docs/oas10g1012/linux/bi.1012/b13918/urlstart.htm
    and Here is what we use to invoke our reports.
    http://ipaddress:port/discoverer/plus?cn=cf_123&_plus_popup=TRUE&framedisplaystyle=EMBEDDED&wb=disc_wb_1
    Request the forum users from PRO discoverer group to help me out of this issue and expect a good discussion on this.
    Thanks in advance

    Closing the thread
    We were able to achieve by changing the browser settings in the IE 8 Browser. Disabled Tabbed browsing.

Maybe you are looking for