Hyperlink open in new page

We have Oracle 10g and we are getting hyperlinks to work, but we would like to have them open in a new browser. From what we can gather, this code is supposed to open the hyperlink in a new page, but it doesn't:
srw.set_hyperlink_attrs('target=_blank');
srw.set_hyperlink(v_string);
srw.set_hyperlink_attrs('target=_blank');
Please help.

Hello,
You can create an hyperlink for DESFORMAT in HTML , HTMLCSS and PDF , but the builtin SRW.SET_HYPERLINK_ATTRS will work only for HTML / HTMLCSS :
This procedure applies additional HTML commands to the hyperlink specified in the Property Inspector or SRW.SET HYPERLINK procedure.
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_lay_add_hyperlink_attrib.htm
Regards

Similar Messages

  • Can't stop hyperlink opening in new page

    I've got active hyperlinks that link to other pages within my site. Most of them don't open in a new page, but a couple of them do. I've no idea why. The 'Open in new page' check box isn't enabled when linking to internal pages, only external ones. How do I prevent the link opening in a new page?

    Solved! The hyperlinks were images. They were copied from other pages, where they linked to external sites. In that incarnation, they were set to open in a new page. I had to convert them back to external links, uncheck the new page box, then revert them to internal links. They now work fine.

  • Menu bar button hyperlink to open a new page?

    I want to know if there is a way to add a hyperlink to a Menu bar button to open a new page showing a pdf file?

    To open url on button click, you can use the following example, that I used in one of my cases...
    Z P/L analysis
        ls_button-text     = 'P/L analysis monitor'.
        ls_button-tooltip = 'P/L analysis monitor'.
        lv_string1 = 'javascript:window.open( "'.
        lv_string2 = '" );'.
        CONCATENATE lv_string1
        lv_url2
        lv_object_id
        lv_string2
        INTO lv_string3.
        ls_button-on_client_click = lv_string3.
        ls_button-page_id  = me->component_id.
        ls_button-enabled  = abap_true.
        APPEND ls_button TO rt_buttons.
        CLEAR ls_button.
    Comments:
    - lv_string3 represents the URL
    - lv_url2 contains the url of bsp component, which you can build manualy or read from any table with select single statement
    - lv_object_id represents the id of opportunity which you can read from BOL or with one of crm_order_read function modules
    Regards.

  • How to open a new page from a Spry Table click, with element info?

    Hello, Spry experts!
    This is probably simple, but I've searched for hours and can't find what I need. I'm using Dreamweaver CS4 and Spry 1.6.1 to create a simple Spry Table from an XML data set using PHP as my back end.  I've used Dreamweaver's Insert->Spry->Spry Data Set to create everything, and the table is working fine.  Colors, clicks, sorts, etc., are all working correctly as expected.
    What I want is to be able to add a behavior such that when a table row is clicked, I can open a new page.  Moreover, I want to pass a parameter from the table to the new page, like http://www.mydomain.com/newpage.php?aid=12345 or whatever.
    So, for example, my table has two columns, "a_id" and "a_name", and my repeat region looks like this:
    <div spry:region="xml_assignments">
    <table width="500">
    <tr>
    <th spry:sort="a_id" class="spry_header">ID</th>
    <th spry:sort="a_name" class="spry_header">Assignment</th>
    </tr>
    <tr spry:repeat="xml_assignments" spry:setrow="xml_assignments" spry:odd="spry_odd" spry:even="spry_even" spry:hover="spry_hover" spry:select="spry_select">
    <td>{a_id}</td>
    <td>{a_name}</td>
    </tr>
    </table>
    </div>
    What I want is to be able to open an entirely new URL, passing the value of the {a_id} in the selected row as a parameter to the new URL, as in something like:  http://www.mydomain.com/newpage.php?aid={a_id}
    So my questions are: 
    1. How best to apply the action to the table?  Add an onclick to the tr tag?  Something else?
    2. How to extract the {a_id} value from the current row and pass it as a parameter to the action?
    Or maybe just take another approach entirely?
    I know that I can make the actual text in the table cells hyperlinks, and use them to link to the new page, which is fine.  The desire here is just to make it so that the user can click "anywhere" on the table row (as they can currently do with the spry:select behavior) and have the link kick off, whether they actually click on the linked text or somewhere in the row where there is no text.
    I'm sure this is obvious and simple, but I'm new to this level of Spry detail, and my brain is fried from hunting.  Any guidance will be gratefully appreciated!
    Glen Barney

    I found the answer myself, after posting this, of course!
    I changed:
    <tr spry:repeat="xml_assignments" spry:setrow="xml_assignments" spry:odd="spry_odd" spry:even="spry_even" spry:hover="spry_hover" spry:select="spry_select">
    to
    <tr spry:repeat="xml_assignments" spry:setrow="xml_assignments" spry:odd="spry_odd" spry:even="spry_even" spry:hover="spry_hover" spry:select="spry_select" onclick="window.location.href='./newpage.php?aid={a_id}';">
    Basically just added the onclick parameter...
    And it all just worked!

  • Cannot open favourites using the Firefox tag that usually opens up the menu and a new page.. Now I get the dropdown menu but cannot open a new page, losing the homepage every time I explore, can you say WHY? all other versions worked fine!

    I cannot open a new page from the Firefox favorites menu, it worked before in other versions and this new 5.1 version, but stopped working a few days ago, uninstalled, downloaded a fresh program.. same problem exists. I usually leave my 'Home Page' as a stable page and just open 'new' pages for i.e. Google, Internet Banking etc. the '+' sign on my home page or other loaded pages does not operate, hate having to now constantly sign in to my hotmail home page if and when I open new pages, can you help?

    Websites remembering you and automatically log you in is stored in a cookie.
    * Create an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    Make sure that you do not run Firefox in Private Browsing mode.
    * https://support.mozilla.com/kb/Private+Browsing
    * In [[Private Browsing]] mode all cookies are session cookies that expire if that session is ended, so websites won't remember you.
    * Do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    * http://kb.mozillazine.org/Cookies

  • All of a sudden I can no longer open tabs by clicking "+" or right clicking on the tool bar. To open a new page, I have to open a whole newFirefox window. How can I fix this?

    All of a sudden I can no longer open tabs by clicking "+" or right clicking on the tool bar. To open a new page, I have to open a whole new Firefox window. How can I fix this?
    Also, Firefox crashes frequently. Is there a fix for this also?

    Uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox 3.6 that prevents new tabs from being opened.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons
    For the second issue, the [[Firefox crashes]] support article may help.

  • Clicking on a link to open a new page or tab gives me a blank page.

    If I click on a link to open a new page or a new tab, the page that opens is always blank and no address is in the address bar. Also, occasionally, my refresh button is "grayed" out so I can't hit that either. I think this is some sort of security setting blocking it. Can anyone help.

    Thanks Jason, I had the same problem and did exactly the steps above. Problem solved! You rock! :)

  • I have an iPad 2, and every time ii attempt to open a new page "about blank" appears. What can I do to get rid of this from my system baring in mind that I am not particularly computer literate.  Many thanks

    I have an I pad 2, and when I attempt to open a new page "about blank" appears. What can I do to remove this from the system baring in mind that I am not particularly co outer literate.
    Many thanks

    Is this in safari?
    try going into settings, safari and clear history. You may also want to clear cookies (means you will need to sign back into sites)
    It's possible that that page is a popup ad of some sort that can't run, for example a flash based ad.  You may have picked the cookie up browsing the internet and now that it's in there the only way to get rid of it is to clear your history and cookies.

  • How do I change from AVG Secure Seach to Goggle as the default search enging bor the the search bar and when I open a new page?

    When I load Firefox, the default search engine goes to AVG Search. I'd like to change it so that the default search engine on the search bar is Google. In addition, when I one a new page, the new page home page defaults to AVG Search. I'd like opening a new page to default to Google. My initial home page goes to the Wall Street Journal, which I want to keep, but want to change for the search bar and when a new page is opened to Google.

    See:
    * https://support.mozilla.org/en-US/questions/810780#answer-185599

  • In Indesign I would like to be able to have the tools and the controls open automatically when I open a new page or document. Now I have to select them in the windows drop down.

    I do not want to have to choose these two controls or tools in InDesign each time I open a new page or doc. How can I make them open automatically?

    With nothing open, try pressing the tab key, and/or resetting the workspace.

  • When I click a link to open the page in new tab, it open the new page beside my page.

    After I update FireFox to version 3.6.8, I could not open the new page in the last tab, it always opens the new page in beside the tab.
    Mmm…I could not make sure the new page or new tab I said is the same with you…?? (I use Chinese version so that I don’t know if it’s the same or not…)
    A window could open several pages with different tabs, and I could click different tab to different page, right?
    If I right clicked a link to open the page to “new tab” in the same window, the new tab opened in the last tab of my window.
    But after I update FireFox to version 3.6.8 and I click a link to open the page to “new tab” in the same windoe, the new tab will open beside my page. (Mmm…Open on right of my page.)
    I would like the “new tab” open to the last tab in my window, not “beside” the tab I used. How could I change the setting??)
    == This happened ==
    Every time Firefox opened
    == After I update FireFox to 3.6.8

    That feature isn't new to 3.6.8, it was changed in 3.6.
    Type '''about:config''' in the URL bar and hit Enter.
    ''If you see the warning, you can confirm that you want to access that page.''
    Filter = '''browser.tabs.insertRelatedAfterCurrent'''
    Double-click that preference to change the value to '''''false'''''

  • Opening a new page in valuechange of selectonechoice

    I want to open a new page on value change event of selectonechoice.
    Is it possible then how to do that.please let me know

    Hi,
    Try with this code inside your valueChangeListener
    FacesContext ctx = FacesContext.getCurrentInstance();
    UIViewRoot newPage = ctx.getApplication().getViewHandler().createView(ctx, "/yourPage.jspx");
    ctx.setViewRoot(newPage);
    ctx.renderResponse();or this
    FacesContext.getCurrentInstance().getExternalContext().redirect("/faces/yourPage.jspx");
    FacesContext.getCurrentInstance().responseComplete();Pedja

  • Open a new page  in new window programatically.

    Hi all,
    I am able to open the new page in new window by setup (setting up the distination URI and and target fram as balnk), my requirememet is to do it programatically, from CO i have to call the new page on some conditions, how can i achive this?

    Hi
    You can open a new page in new window programmatilcally like this :
    for this we have created a Static Styled Text Bean of Id item1
    import oracle.apps.fnd.framework.webui.beans.* ;
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAStaticStyledTextBean ost = (OAStaticStyledTextBean)webBean.findChildRecursive("item1") ;
    ost.setLabel("Click here for my website");
    ost.setDestination("http:\\XX.com");
    } Ajay
    Edited by: Ajay3107 on Jul 19, 2010 9:53 PM

  • Open a new page

    Hi!
    In my application, I've an html file and i want saving or opening .
    With IE, when i open it, it opens in the same page, instead i want to open it in a new page.
    Basically i know how to open a new page, but i don't want to open it when i choose to save.
    How can i do?
    Thanks

    Thanks, but this doesn't solve my problem.
    If i try to save the file, the window i've just opened with _blank, remains opened.                                                                                                                                                                                                                                                           

  • Open a new page from a button of table view

    Hello,
    I search how to open a new page when i click on a button of a table view. I already tried to use navigate connector but i have an error when I compiled it (flash doesn't support). Do you know a workaround or tips ?
    Thanks,

    Hi Aurelien,
    Why don't you try creating a pop up iView on clicking the button on your table view.
    You can have a look at this link for understanding how a pop up iView works:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a88c4b3c-0a01-0010-afa4-a6eeb859d8d2
    You can also see page 50 of this doc:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f2052e-0c01-0010-b9a2-e1f7457a7fbe
    Bye
    Ankur
    Do reward points if it helps!!

Maybe you are looking for

  • Won't play in home audio system

    My wife's 5th generation Nano will not play through my home audio system connected with a monster rca cable at the system end and connects to the ipod through the ipod connector (no sound comes through my system, only sound is from the nano speaker).

  • QuickTime 10.1 Screen Recordings are Blurry Once Imported into Premiere Pro CS6

    I am doing some screen recordings on my Mac using QuickTime 10.1, but when I try to import them into Premiere Pro CS6, they are poor quality and blurry. It's difficult to read text and logos on the recordings are showing up fuzzy. Anything I can do t

  • CSCut90579 - Workflow imports fails with missing mappings for custom inputs

    Hello Team, Do we know if this bug is also present in UCS-D 5.3 release? Is the fix planned to be integrated in 5.2(0.3) release? Thank you

  • ERROR MSG 4960.

    I TRIED TO DOWNLOAD PRO 11 TRIAL ON MY MAC AND GOT AN ERROR MSG 4960.  WHAT DOES THIS ERROR MSG MEAN?

  • Geforce 7800 gtx power plug?

    im getting a geforce 7800 gtx and it comes with i guess its a power cord where do i plug it into my late 05 dual core 2.0 g5? i know the card goes into the pcie slot but what about the little cord so it gets it power? thanks roger