Problem using target="_blank" in hbj:link

Hello,
we are having some problems when using "link" with the next piece of code:
<hbj:link id="<%=objAccountStatus.getAccountNo()%>" text="View Inventory" tooltip="Download as an Excel Spreadsheet document" reference="" onClick = "onInventoryLinkClick" target = "_blank">Download Excel</hbj:link>
The target is set to _blank but the Excel generated by using the link is opened in the same page. This problem occurs by using the Internet Explorer; on the other hand, this works fine in Firefox (in this case is opened in a blank screnn.
Thanks in advance.
Regards,
Raúl.

Thanks for you reply Pankaj, but the version I am using is IE 6.0.29.
I have fixed the problem by modifying some code used in the event handled in the JSPDynPage becuase we were doing some things in the HTTP header that could have destroy the effect of the "target" parameter in the link.
It was solved by other way.
Thanks a lot for the help.
Regards,
Raúl.
Message was edited by:
        Raul Rodriguez

Similar Messages

  • Custom button to URL using target="_blank" RH9

    Hi,
    Ive got a custom button in my Navigation toolbar that links to a web site. I'd like the site to launch in a new tab/window, but I can't seem to use target="blank" when modifying the code in whskin_tbars.htm
    Does anyone have a JavaScript action that would do this, or is it not possible?
    It would be nice for the user not to lose the help when being sent to the site.
    Mark

    Sorted it after a bit of looking around (my JavaScript knowledge is a bit limited!). If anyone needs to do this, enter the following in the OnClick field:
    window.open('http://www.mysite.com', '_blank');
    Mark

  • Problem using target disc mode

    I have 2 iMacs. One is a 2.1 GHz G5 running OS 10.5.8 and the other is a 2 GHz Intel core duo OS - unknown (but at least 10.4.x and most probably 10.5.x). I want to use the G5 as the TDM host and Intel as the target.
    The Intel iMac appears to go into target disc mode (dancing firewire symbol on the display), but it's HD icon never appears on the G5's desktop.
    I've followed the instructions from (http://support.apple.com/kb/HT1661)and I know the cable connecting them is good. Any ideas?
    More background - the reason I need to use TDM is that the Intel iMac won't boot. After hitting the power button it gets to the Apple logo screen with the circular timer and stays there. It doesn't really "hang" - the timer keeps going around & around. Does the same thing when I try to boot from a DVD.
    Thanks in advance,
    Tom

    It might be an idea to boot the Intel Mac from it's system disk (start up holding the "C" button and insert the system disk at the startup chime).
    After selecting "English" you have a "Utility" menu - select "Disk Utility" choose your hard disk and, if you "see" your Mac's Hard Disk, run Repair Disk Permissions and Repair Disk in the First Aid tab.
    If the Intel Mac's hard disk isn't showing up you may have a problem and the disk may need to be replaced.

  • Problem using Apple TV with TP-Link Wifi Extender

    Hi,
    I have been having problems connecting my Macbook Pro to my Apple TV via airplay and I believe it is due to the new wifi extender that I have installed in my home. Basically, the wifi extender uses the powerlines in the walls to extend the connection from my office at one end of the house, to my living room at the other. I am sitting here with my Macbook Pro in front of the TV using Apple TV, both connected to the same wifi SSID but still no option to mirror or extend my desktop onto the Apple TV. Can anyone help? Please? This is also affecting my Homesharing. It's as if the wifi extender is actually technically a second wifi network and my devices are getting confused and not finding each other.
    Joe

    I have the same Activity set up for my Harmony One.  (First, I believe you mean "Devices," not "Components.")  You appear to have some of your buttons customized wrong for the Apple TV Activity, since you said other Activities work fine, like Watch TV, etc.  Within the Harmony software, go to the Activities (NOT Devices) tab, choose Watch Apple TV (or whatever you have named this activity), and then choose Customize Buttons.  Then click the Standard Buttons tab, and then go down the whole list (of dropdown menus) to assign, re-assign, or confirm that all the proper Commands are assigned to all the proper Devices.  For example, to correct your volume control issue, choose your Receiver to control the volume up and down Commands, etc.  If this is done correctly, you won't have to go to Devices (for the receiver) any more on your remote to control the volume. It will all be controlled within the remote's Activity function, as you've requested.  It has to work, since your other Activites are finding your receiver properly.  If not, then Logitech's Harmony support has been helpful to me in the past, assuming you're still in warranty, etc.  I hope this helps.  Good luck!

  • Problems using a formatted search to link order lines to order header

    Hi,
    I'm having a nightmare trying to get the main lines table to populate the header within a sales order using a formatted search.
    I have created a UDF on the header for total value, and where items entered onto the order are of a certain type I need the header UDF to be sumated.
    Basically I have three parts for packaging (PACK1, PACK2 and PACK3), and the header has a UDF called U_TotPack
    Someone did sugest the following query, but this doesn't appear to work either:
    select sum(t0.linetotal) from rdr1 t0 inner join ordr t1 on t0.docentry = t1.docentry
    where t1.docnum = $[ORDR.DocNum] and t0.itemcode in ('PACK1', 'PACK2', 'PACK3')
    If it is a problem for me to use the line total field (as it is a variable calculation) I am happy to total the quantities for the items found, but I just can't seem to build any form of relationship between the header and lines.
    Hope someone out there is able to help as this one has really got me stumped.
    Cheers,
    J

    Hi Julian,
    I'm assuming you are trying to populate the header UDF before the Order is added to the system? If yes then it is not possible to achieve this via a formatted search, only SDK. A header FS cannot properly access line information, it only works the other way around - header info to line level.
    I presume the reasoning is that which line should your header FS take a value from? The FS syntax also doesn't allow you to loop throught all lines.
    The SQL that someone else suggested would only work for a sales order already added to the database. Hope this helps.
    Regards,
    Andrew.

  • Cflayout, cflayoutarea and cfform - can't use target _parent?

    CF9 - I'm using a cflayoutarea within cflayout, then inside of that I have a cfform for login. When I submit my cfform it loads my login page (submitted) inside of the cflayout window, which I don't want. I've tried using target _blank, _parent, etc but it changes nothing. If I use plain old form instead of cfform with target _parent, it works fine. So does something within cfform clash with cflayout or cflayoutarea that I don't know about?

    I'm bumping my own thread because I left this alone for awhile but want to revisit.
    <cflayout name="articleManagement"...>
    <cflayoutarea name="tabAdd" source="mysourcefile.cfm" title="blah">
    <cfform action="myactionpage.cfm" method="post" name="mypage">
    </cfform>
    </cflayoutarea>
    </cflayout>
    cfform processes myactionpage.cfm and hits the cflocation at the end of the processing page, it loads mysourcefile.cfm back into my cflayout articleManagement which shows one form on top of the other. My cflocation should direct it to the main page that holds the cflayout.
    Is there a way to break out of cflayout/cflayoutarea when using cfform? Using a regular form tag does not have this problem but I like using the cfform validation.

  • Removing Address Bar from target="_blank"

    From what I understand this is not possible to remove the
    address bar via
    Javascript when opening a new window simply using
    target="_blank" - correct?
    This was posed to me as a question from a fellow at work.
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================

    Thought so - thanks Thierry!
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "Thierry | www.TJKDesign.com" <[email protected]>
    wrote in message
    news:ea33el$gd1$[email protected]..
    > Shane H wrote:
    >> From what I understand this is not possible to
    remove the address bar
    >> via Javascript when opening a new window simply
    using target="_blank"
    >> - correct?
    >
    > Correct
    >
    > --
    > Thierry
    > Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    > The perfect FAQ page:
    http://www.TJKDesign.com/go/?9
    > CSS-P Templates:
    http://www.TJKDesign.com/go/?1
    > CSS Tab Menu:
    http://www.TJKDesign.com/go/?3
    >
    >

  • Hyperlinks (target="_blank") and buttons on same page problem.

    Another interesting problem.
    I have a hyperlink that is set to open in a new window (target='_blank') and execute the 'hyperlink1_action' on the server.
    The framework executes the javascript function 'hyperlink_submit' (in the formElements.js library) when a hyperlink is clicked. This function sets the 'target' property on the form and also creates a hidden field that identifies the hyperlink that was clicked.
    This works fine and a new window open up with the required data.
    However, now if I click a BUTTON on the ORIGINAL page, a NEW WINDOW pops up and the WRONG DATA is displayed due to the form target setting and hidden field that were created by the 'hyperlink_submit' function called prevously - ie. the changes to the form made by the 'hyperlink_submit' function are NOT rolledback/overwritten when the button is clicked. How annoying!!!
    Am I doing something completely wrong or what?
    Anyway, I feel better now. Have a nice day!
    Message was edited by:
    thepigs2
    OK. In the absence of any replies, I've come up with this superhack that I put at the end of the page which fixes the form...
    <f:verbatim>
    <script>
    var f = document.getElementById('form1');
    f.oldsubmit = f.submit;
    f.submit=function() { setTimeout(function(){resetForm(f);},250);return f.oldsubmit(); }
    function resetForm(f)
    f.target='';
    for( var i=f.childNodes.length-1; i >=0; i-- ){
    var n = f.childNodes;
    if (n && n.name)
    if (n.name.indexOf('_submittedField')>-1)
    f.removeChild(n);
    </script>
    </f:verbatim>

    Guillaume,
    The built-in tabular form feature only supports one tabular form on each page. You'll have to put the two forms on separate pages. Or use simple reports as the detail reports with edit links to an edit form page.
    Regards,
    Marc

  • In Firefox 5 links with target="_blank" don't open in new window or tab. Is there a way to make them do that?

    I've search some info about this and it seems like there's a lot of people that are annoyed by links opening in new window/tab and that the 'target="_blank"' is not valid in strict XHTML. I'm guessing this could be reasons why Firefox 5 ignores the 'target="_blank"'. But in some cases you really want to open a new widow, in my case I'm using a flash application and want to open links in new windows from there and then the ctrl-click doesn't work. When opening the link in the same page and then go back the application is reloaded and it's state is lost. Probably should try to find out if there's some other way to open links from a flash application, but I'm wondering if there's a way to make Firefox 5 open 'target="_blank"' links in new tabs.

    I don't know how to delete my question, anyway I'm not having this problem anymore. In our organisation the IT department deploy Firefox updates with certain settings and limitations, in the tap-options the checkbox for opening new windows in new tabs where checked but disabled. They made some changes to make this checkbox enabled and now it works as expected if it's check new windows open i new tabs and if it's not in new windows. They never opens in the same tab as they did before.

  • HTMLB - hbj:link - TARGET Parameter

    Ok Everyone..
    I have another issue..
    I am trying to be a good SAP Portal citizen and use the developement framework I have been given and not going out on my own. But I am have an issue, which hopefully someone has sovled already.
    I would like to use  hbj:link (with an OnClick) to create a link which will open up in a new browser window. I have tried to use the TARGET="_blank" command to open the result up in a new window. But it appears that you cannot use the TARGET parameter when you are using an onClick..
    How have you guys solved this in the past?
    Thanks

    Hi Craig,
    I haven't understood what you're actually wanna do, but here is some abstact that might clarify the issues.
    onClick
    Defines the event handling method that will be processed when the user clicks on the link. If 'onClick' is specified, the event handling routine is called.
    onClientClick
    Defines the JavaScript fragment that is executed when the user clicks on the link. If both events ('onClick' and 'onClientClick') are specified, the 'onClientClick' event handling method is activated first. By default the 'onClick' event handling method is activated afterwards. In the JavaScript fragment you can cancel the activation of the 'onClick' event handling method with the command
    htmlbevent.cancelSubmit=true;
    The 'onClientClick' event is useful to preprocess the form and only send the form to client if the preprocessing was successful (for example, date validation, valid number format etc.) to save client/server interaction.
    target
    Specifies the name of the frame where the document is to be opened.
    -> onClick defines the event handler for server side processing
    -> onClientClick calls an event handling method on client side (here you could place a window.open to open a separate window, e.g.)
    -> target concerns only what's defined in the href attribute

  • URL link with target _blank

    Is it true that is not possible to insert in wiki pages a link to an external page with target set to "_blank" (new page)? If possible, how to do this?

    adobe1kenobe066 wrote:
    Site with the SWF with the link with target="_blank":
    http://solarinkgraphics.com/web.htm          • clicking on the IMAGE or the "ENLARGE" link should take you to a target="blank" url
    Site it should go to:
    http://thehoneymoonphase.com
    First off that first link to the graphics site does not work.  Getting a page not found error.  Although I was able to do a quick lucky guess and added an "l" to the end of the address and it worked.
    Second, because the link is embedded within a Flash document, your problem will lie within the ActionScript code as opposed to the HTML.  Thus you would be better off posting this in the Flash forum with your ActionScript code to get better troubleshooting responses.
    http://forums.adobe.com/community/flash

  • Url link with target="_blank" hangs in Internet Explorer 7 BUT works fine in IE6, FF, Safari?

    Okay, so I have a SWF embedded on a page, which has a link to a target="_blank" url, and it works in every other browser, INCLUDING the notorious ie6, but NOT in IE7?
    IE7 just opens a blank page (without the address in the address field) and displays 'connecting...' and stays there forever.
    • I even manually typed in the adress of the site I'm trying to access with the link, and the page opened just fine in IE7.
    But when I click on the link from the SWF, it hangs again and doesn't open. I manually typed in both addresses with and without the 'www' (i.e. http://somewebsite.com and http://www.somewebsite.com) and both opened in IE7.
    But the link from the SWF ONLY opens a blank page with the 'connecting...' and stays there forever.
    • I feel like it was working previously, but I could be wrong. Besides that, it is working in ie6, of all things. So I don't get it?
    • This also happens with other website that have a link with target="_blank" in IE7, so it's not only my site.
    As always any leads are greatly appreciated.
    Site with the SWF with the link with target="_blank":
    http://solarinkgraphics.com/web.htm          • clicking on the IMAGE or the "ENLARGE" link should take you to a target="blank" url
    Site it should go to:
    http://thehoneymoonphase.com

    adobe1kenobe066 wrote:
    Site with the SWF with the link with target="_blank":
    http://solarinkgraphics.com/web.htm          • clicking on the IMAGE or the "ENLARGE" link should take you to a target="blank" url
    Site it should go to:
    http://thehoneymoonphase.com
    First off that first link to the graphics site does not work.  Getting a page not found error.  Although I was able to do a quick lucky guess and added an "l" to the end of the address and it worked.
    Second, because the link is embedded within a Flash document, your problem will lie within the ActionScript code as opposed to the HTML.  Thus you would be better off posting this in the Flash forum with your ActionScript code to get better troubleshooting responses.
    http://forums.adobe.com/community/flash

  • With FF15 on Win7, when I click a Google Reader link (that open in a new tab when clicked, target="_blank" style), the new tab opens for a second, then closes.

    The tab will not crash if I right-click, open in new tab, or middle click. Other sites with target="_blank" seem to be ok with left click (Google+ links for example). But Google Reader links seem to be completely broken.

    Seems to be an adblock plus issue in my case. When I disable adblock it never happens. When I enable it this occurs on most links on google, twitter or reddit. Somehow seems them as pop ups I guess. Probably will have to fiddle with adblock plus.

  • When ever I try to watch any video, from a link or YouTube say, using Firefox, I get a message 'An error as occurred. Please try again later'. It has been this way for some weeks. I don't have this problem using Safari or Opera.

    When ever I try to watch any video, from a link or YouTube say, using Firefox, I get a message ‘An error as occurred. Please try again later’. It has been this way for some weeks. I don’t have this problem using Safari or Opera.

    I believe that our “Werbung problem” adds an additional second hyperlink to the pop-up window. This second link is activated whenever you trigger a saved hyperlink to a Mail.com site.
    I had the same problem and eliminated it by deleting all bookmarks, hyperlinks and automatic links that take firefox to a mail.com address. So I just deleted all bookmarks I had saved for mail.com. I also changed my home page link because it also went to my email at mail.com. I then did a warm boot, opened firefox and re-saved my bookmarks and homepage to the desired addresses. Good luck.

  • How do you make a link open on a new page (typically the target="_blank" command) in MUSE?

    how do you make a link open on a new page (typically the target="_blank" command) in MUSE?

    Newer version does not have the same interface.  I'm stuck trying to understand how to add a "blank" target to a hyperlink...  See how your screenshot has a dropdown associated with the "Hyperlink" object?  Mine doesn't...

Maybe you are looking for

  • Eventlog: Given key not found and resource missing

    Hello at all, I having a strange issue in one of my customers environments. My eventlog is filled with many many error saying either "The given key was not present in the dictionary." and "Resource is missing". Here are the full details on both event

  • Can't publish - help!

    Hi everyone, I can't publish. I have a variety of backups of my Domain file, including some from months ago. These backups of my Domain all used to publish fine, but now I can't get any of them to publish. Currently I am trying to publish to a local

  • SG 200-08 All LED lights flashing green after power failure

    Thinking back, about a month ago I updated the firmware (sorry I can't check version at the moment). The switch has been working fine since then. Today I needed to move some power cables and the switch lost power. Now ALL of the LED lights are flashi

  • Service Order settlement to GL

    Hi, I want to settle the service order created for customer under warranty to a - Warranty Claim GL. I have maintained the settlement rule in the service order for Gl and have given the - Warranty Claim Gl also. Settlement in KO88 is also happening w

  • 10g Rel2  How to clone a database in another machine suggestions

    Hi All, We have 2 solaris boxes(prodn & backup) and our new requirement is to clone the production on the backup server. a) If my understanding is correct , does the cloning helps to backup the changes in the production database automatically ? b) If