Open the response in a new browser

hello everybody.
I've got a commandLink in my page:
<h:commandLink target="_blank" value="Consult the product ..." action="#{MyBean.consultAction}" />when the user click over the link "Consult the product ...", I'd like the browser open up a new window showing the product information. but the new page is showing in the same window.
the following code:
<h:outputLink target="_blank" value="/faces/ProductInformation.jsp">
    <h:outputText value="Consult the product ..." />
</h:outputLink>works fine. but I don't want to call directly the page, becouse it is needed previous operations.
is it a bug???
(sorry for my english)

Hi,
Did you find any solution so far?
I tried something like below and it worked partially.
In parent page I have:
<h:commandLink
onmouseup="document.forms['frmMap'].target='_blank';"
action="#{myBean.showScnrDetails}">
</h:commandLink>
it sets the form's target to _blank for all later actions, not just for this link.
I was thinking after loading the new page, I can reset the parent form's target to _self in the new page. But it did not work.
In the new popuped page I have:
parent.document.forms["frmMap"].target="_self";
*** frmMap is the name of the form in the parent page.
I am not familiar to Javascript. Maybe some grammers here.
Pls let me know your solutions or some new ideas.
Thanks,
Guangming

Similar Messages

  • Adobe keeps crashing, you can be on a web page reading and the browser opens the page in a new browser. I did not have this problem the older versions. What can I do to fix this problem.

    adobe keeps crashing, you can be on a web page reading and the browser opens the page in a new browser. I did not have this problem the older versions. What can I do to fix this problem.

    See [[Firefox keeps opening many tabs or windows]]

  • Open the HTML attachment in new browser window

    Hi all,
    There is a Bsp application in which the table view has list of all attachmnets.
    When I click on a cell a popup opens asking whether the file is to be opened , saved or cancel.
    When I click on open then if it is a TXT attachment it opens in a notepad but if it is an HTML attachmnet it gets opened in the same browser window instaed of a new one.
    What do i do to open the HTML attachment in a new Beowser window.
    Regards,
    Sweta.

    Hi Durairaj,
    The thing is that I did not get the desired answer to my query and the thread was posted in a wrong forum thus I have the query again inthe correct forum.
    Regards,
    Sweta.

  • How to open the URL in a new window

    Hi,
    i have created a web template with hyperlinks in it. when i click the link in the browser it opens it in the same window.
    how can i open the link in a new browser. we are in BW 3.5
    Thanks
    Krishna

    Try adding this to your URL at the end:
    target=_blank
    Hope this helps...

  • How to open the url in a new tab of the Browser

    Hi ,
    Am using jdev 11.1.1.2.1
    I have a commandLink in a jsff page and on click of that i want to open a new tab with the url given in the action listener.
    I have the action listener code below:
    FacesContext fctx = FacesContext.getCurrentInstance();
    ExternalContext ectx = fctx.getExternalContext();
    Url="/faces/Home.jspx";
    ectx.redirect(Url);
    For now it is redirecting in the same window and so wen i press the back button in the browser the session gets invalidated ,
    so i want to open it in a new tab.
    Please help.
    Thanks,
    Hari
    Edited by: Hari on Oct 15, 2012 2:23 AM

    Hi,
    You can try using "goLiink" and then use the property targetFrame set to "_blank"; below are some for ur references:
    targetFrame          
    _blank: The link opens the document in a new window.
    _parent: The link opens the document in the window of the parent. For example, if the link appeared in a dialog window, the resulting page would render in the parent window.
    _self: The link opens the document in the same page or region.
    _top: The link opens the document in a full window, replacing the entire page.
    Thanks,
    Pandu

  • Opening the OAF page in New Window on the responsibility list page

    Hi Gurus,
    I have a requirement where in I need to open the page on a new window.
    I have created the page,and attached the function to the menu,and attached the menu to a responsibility.
    When a user clicks on the responsibility it shows a list of fuctions available with the appropriate prompt.
    My recquirement is to open the page in a new window when a user clicks a function on the responsibility page.
    Is it possible to do so?If yes how?If not any document supporting this limitation.
    Any help would be highly appreciated.
    Regards
    Srikanth

    Hi Srikanth,
    This is not possible. However you can open the second page in the flow in a new window by setting Target Frame property to _blank.
    Anoop

  • Open another website in a new browser window

    I can't seem to create links to external websites that open
    as intended in a new browser window while leaving the main browser
    window unchanged. Except in Safari on a Mac. See sample code.
    In Safari on a Mac this opens the new window and behaves as I
    want. In Safari on a PC it opens a new window, but in back. In
    Firefox on Mac I get an error message in which, when the "OK"
    button is cliked on, a new window opens in back of the main window.
    Same thing on a PC. Internet Explorer on a PC opens a new window
    but displays an error message forcing you to clik the back button
    to return to the main page.
    If I specify the main page url in the link field, then the
    main page gets reset to the top, which I don't want.
    How can I get FireFox and IE to accomplish this gracefully?
    To observe behavior go to
    http://www.digifon.com/framesetal_id.htm

    Don't use Frames. However, the issue of opening a new window
    is still
    hotly debated. My own approach is to mark the link with an
    icon and
    then to open a new window (or tab if the user prefers). If
    done
    properly with javascript, this will not spawn a myriad of
    windows and
    Standards-compliant. (And further, if javascript is off, the
    new page
    will simply open in the current window.)
    Based on this philosophy, I offer a DW Extension that makes
    adding this
    behavior dead simple. Here is an example of a page that uses
    it to good
    advantage. Despite all the external links and pdf links on
    the page,
    the Extension only needed to be added once to the page,
    rather than
    adding it to each and every link. Links added to the page
    AFTER the
    Extension is applied are ALSO acted on, a great time saver in
    my
    opinion, and easy on the user:
    http://squamscott.org/scc_green.asp
    The DW Extension is available here:
    http://divahtml.com/products/divaPOPgold/open_popup_windows.php
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • When "Use Google Instant", "Open search results in a new browser window." does not function.

    In the "Google Search Setting", if select "Do not use Google Instant", then the selected search result of Google Search will be displayed in a new window, but if "Use Google Instant", the selected result will replace Google Search window. This problem does not exist when using Chrome Browser.

    That does what it says - even if Google tells the browser to open the page in a new window, you have told Firefox to ignore that and open it in a new tab. Uncheck the box and you should get the result you want.

  • Dreamweaver - Chrome open a video in a new browser window not working

    Hi guys, i'm pretty novice to dreamweaver and i've putting a site together recently...
    One thing i am trying to do is open a video in a new browser window when the button is clicked upon.
    I have done what i thought i needed to do this, and in safari and other browsers this works fine. In Google Chrome however this doesn't seem to want to work and rather then opening and playing the video it just automatically starts to download it.
    I'm sure it is a simple fix and i apologise for the thread all about it but any help would be appreciated.
    http://hauntingskateboards.co.uk/media.html
    if you click on Joe or Dean button you should see what I mean... anyway thanks in advance!

    Create Pop-Up Window in DW Behaviors Panel
    http://alt-web.blogspot.com/2012/03/create-pop-up-window-in-dreamweaver.html
    Nancy O.

  • Controlling the appearance of a new browser window coming from a weblink

    Hello all,
    I have a weblink. When the end user clicks on the web link a new browser window opens up.
    I would like to be able to control the appearance of the new browser window. I want to be able to hide url address bar, tool bar and all menus.
    Is there a way to do this by editing the weblink in CRM OnDemand ?
    Thanks,
    Trish.

    Trish, if it is possible it would need to be in the URL and I think you'll need to do a google search to find out how you pass IE attributes into a URL.
    cheers
    Alex

  • ADF EBS Integration - How to open the ADF page in new tab or window

    Hi,
        We are building ADF custom applications and want to integrate them with EBS R12 (12.1.3) through Responsibilities and Menus.
    We have achieved session sharing and launching the Custom ADF app from EBS menu. The problem is, the Custom ADF page opens in the same page.
    Is there anyway to open the ADF application in new tab or window while launching from EBS Menu ? 
    Highly appreciate your help on this.
    Thanks,
    Ananthakumar

    Bhaskar,
    Refer old threads by searching for "new window" / "_blank"
    - Senthil

  • How can I stop iMovie from making thumbnails of clips from past projects when opening the program to digitize new clips for new project. i have looked in the preferences and couldn't figure out what to disable.

    How can I stop iMovie from making thumbnails of clips from past projects when first opening the program to digitize new clips for a new project. It takes forever for it and is very annoying. I have looked in the preferences and couldn't figure out what would disable this problem.

    You do not need to move your cursor much when pressing the mouse button to cause the tab to tear-off/tear-away into a new tab. No "sensitivity" setting that I am aware of. The tab in the new window can be dragged back to the original window.
    To disable the feature, install this: https://addons.mozilla.org/en-US/firefox/addon/bug489729-disable-detach-and-t/
    *Read the information on the above page
    *Set options for the add-on: Add-ons > Extensions, click Options next to the specific Extension (the 2 options are defined/explained in the above page).
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • I upgraded to v3.6.22 today and have lost the ability to ctrl-click a link to open the link in a new tab; how do I get this back?

    I upgraded to v3.6.22 today and have lost the ability to ctrl-click a link to open the link in a new tab; how do I get this back?

    Strangely enough, putting my laptop into Hibernate mode solved the problem. It didn't even take a reboot.
    Running Windows Vista Enterprise SP2.

  • I click a link but it doesn't open. Instead I get a popup saying "Open the link in a new window," "Open link in a new tab," etc. How can I kill this popup or whatever it is forever?

    I click a link but it doesn’t open. Instead I get a popup saying “Open the link in a new window,” “Open link in a new tab,” etc. How can I kill this popup or whatever it is forever?

    That happens if the server sends the file as text/plain.
    You can see this if you open "Tools > Page Info > General": Content-Type: text/plain
    Files send this way will always open in a tab.
    *https://developer.mozilla.org/Tools/Web_Console

  • HT4927 I have just downloaded iPhoto from the app store. The photo library from my old laptop was backed up on an external hard drive and I retrieved the photos from there.  Now when I open the photos on my new Mac Book Pro, they are small - am I missing

    I have just downloaded iPhoto from the app store. The photo library from my old laptop was backed up on an external hard drive and I retrieved the photos from there.  Now when I open the photos on my new Mac Book Pro, they are small - am I missing something?
    I am using 10.8.2 Mountain Lion btw

    I dragged the Photo library icon from the backup drive on to iPhoto on the laptop
    That means you imported one Library to another.
    Never import one Library to another. Every version and thumbnail is imported like a distinct photo, you lose all your Albums, Keywords etc., the link between Original and Previews is destroyed, the non-destructive editing feature is ruined and so on. In summary: it's mess.
    So the reason you're seeing small photos is because you're seeing the iPhoto thumbnails from the back up library.
    So, what to do?
    Do you still have the back up? If so, trash this bunged up library and restore from the back up again. HOw to restore will depend entirely on how you made the back up, but no version of restoring includes importing the library.
    Regards
    TD

Maybe you are looking for

  • Problem with business place and section code in miro screen

    hi experts, i have done the following config. for validate the b/place and section code at the time of invoice and payment. in prerequisite-com.code=l001 and (posting key=31 or posting key=29 or posting key=21  in check-business place=1001 and sectio

  • Issue of Incompltency in sale Order

    Hi experts we are working on ECC 6.0 with Varaint configuration, we are facing issue when we created  a Draft/enquiry through quality profile which we use during exceptions, WRT Draft  with Qnty-100tons we craeted Sale Order for 75 Tons & we created

  • Why won't my security update go through and is it even necessary?

    Whenever I try to download an app or make an in-app purchase on my iPhone, I always get a pop-up that says "Improve Apple ID Security please enter Apple ID and password, then tap security info and answer the questions." so I do that and then when I c

  • Update OAS from 9.0.2.3 to 10.1.2

    Hi, we are going to update our OAS version 9.0.2.3 to10.1.2. Do you know any note or documentation. Many thanks.

  • Enhancements in Program SAPMV60A

    Hi! We' re running SAP R/3 4.7 Enterprise and would like to place some custom coding in program SAPMV60A after a new invoice has been persisted in tables VBRK and VBFA, which is done within function module RV_INVOICE_DOCUMENT_ADD via call of FM RV_IN