Redirect, open web page

Hi,
I'm using JSF ADF BC, I just need to know how to open some web page from backing bean and target = _blank. I have a button and this is code from backing bean:
public String doSomething() {
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("doSomething");
operationBinding.getParamsMap().put("inputVariable","Something");
Object result = operationBinding.execute();
String temp = (String)result;
String[] data = temp.split(":");
FacesContext context = FacesContext.getCurrentInstance();
Application app = context.getApplication();
ValueBinding vb1 = app.createValueBinding("#{valueHolder.orderID}");
vb1.setValue(context,data[1]);
FacesMessage fm = new FacesMessage();
fm.setSeverity(fm.SEVERITY_INFO);
fm.setSummary("" + data[0]);
FacesContext.getCurrentInstance().addMessage(null, fm);
if (!operationBinding.getErrors().isEmpty()) {
return null;
try{
ExternalContext exContext = context.getExternalContext();
exContext.redirect("http://bla.bla.bla:15101/xmlpserver/blabla.xdo?orderID=#{valueHolder.orderID}");
// I JUST WANT TO OPEN THIS IN ANOTHER WINDOW (target = _blank) PLEASE HELP, HOW CAN I DO THIS
}catch
(Exception e) {
e.printStackTrace();
}finally{
context.responseComplete();
return null;
Thanks in advance,
Tomislav

Hi Frank,
I'm aware of goLink button, but go link button cannot have any action associated, and I need to perform some action (method from appModule) and after completion open xml publisher in another tab or window to print document which was generated. Is there a way to achieve this, I dont know how to fire goLink from backing bean, thanks for your help.

Similar Messages

  • Can't open web page because too many redirects

    Get the message Can"t open web page because too many redirects

    Try clearing Safari and restart the iPad.
    Go to Settings>Safari>Clear History, Cookies and Data. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • The list of open web pages just flipped from right to left. How do I get it back on the right? Thankyou.

    The list of open web pages, which normally sits bottom right on my screen, flipped to the left. How can I move it back to the right?
    I clicked Alt + tab and saw 'Deplacer' (Reposition - I'm in France). Then the cursor became a thing like a crossroads and I clicked where I wanted to put the list of open pages but nothing happened.

    You may have placed the bookmarks icon on the Navigation Toolbar to open the bookmarks in the sidebar instead of the bookmarks menu button that opens a drop down list.<br />
    There are two icons available for opening or accessing the bookmarks that both have a star.<br />
    The icon with the drop marker opens the drop down list with the bookmarks (Bookmarks Menu button).<br />
    The other, without the star, opens the bookmarks in the sidebar, just like the Ctrl+B shortcut or View > Sidebar > Bookmarks
    See:
    *https://support.mozilla.org/kb/Back+and+forward+or+other+toolbar+items+are+missing
    *http://kb.mozillazine.org/Toolbar_customization

  • TS3276 i am unable to open web pages from email links on my ipad

    I am unable to open web pages from email links on my ipad

    A few more details might help, if nobody else recognizes this.   
    What happens when you try to open the links?
    Can you post an example of a link that doesn't work?
    Is there any particular source for the mail with the (bad) links, or is mail from all sources failing?
    If you happen to know it, what's the format of the mail message?  (Maybe the message is an image?)
    Do the embedded links work as expected from an OS X system running Mail.app, or some system and some other other mail client?
    To view the link in iOS: if you press on and hold your finger on an embedded link in most contexts, iOS will show a pop-up with the link contents, and will offer to copy it.  You can use that to acquire and post the link.  If pressing and holding on the link doesn't offer the pop-up, the format of the link itself may not be valid, or it might not really be a link.

  • How to open web pages from japplet??

    Hi
    Does anybody know how to open web pages from java japplet??
    Any help is apreciated!
    zick

    the getAppletContext() method of the Applet class will get you an AppletContext, with which you can call the ShowDocument(URL url) or ShowDocument(URL url, String target) method...
    check it out at http://java.sun.com/j2se/1.4/docs/api/java/applet/AppletContext.html
    have a good one :)
    Jay

  • Firefox 4.0.1 closes with no error message. When I restore the session I get: Well, this is embarrassing. Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened web page. What can I do?

    After opening certain websites, pogo, firefox 4.0.1 closes with no error message. When I restore the session I get: Well, this is embarrassing. Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened web page.
    I have had this problem before and had to reinstall an earlier version of firefox.
    The error console has a long list of errors, many of them end with: does not implement nsIObserver. Is there a way to send the information on the error console to firefox support?
    Redownloading Firefox 4.0 will fix my problem until I either close firefox or turn off my computer. The problem recurs when I open firefox again.

    See:
    * http://kb.mozillazine.org/Firefox_crashes
    * https://support.mozilla.com/kb/Firefox+crashes
    It is also possible that there is a problem with the files [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/sessionstore.js
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.<br />
    Deleting sessionstore.js will cause App Tabs and Tab Groups to get lost, so you will have to create them again (make a note).
    See:
    * http://kb.mozillazine.org/Session_Restore

  • How can I get a list of open web pages in Firefox (in Linux)?

    I would like to know how to get a list of open web pages in Firefox (in Linux), because I have a shortcut to open a web page and I want to get it to see if Firefox has the page open first so that it doesn't open duplicates.

    You see the "List All Tabs" button in current Firefox versions if there are that many tabs open that you get the Tab bar scroll buttons appearing.
    Add code to the userChrome.css file below the default @namespace line.
    *http://kb.mozillazine.org/userChrome.css
    The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.
    *http://kb.mozillazine.org/Editing_configuration
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #tabbrowser-tabs ~ #alltabs-button { visibility:visible!important; }
    </nowiki></pre>
    * Permanent List-all-tabs Button: https://addons.mozilla.org/firefox/addon/permanent-listalltabs/

  • I'm not able to access the thumbnails of my open web pages. Why?

    I'm not able to access the thumbnails of my open web pages. Why?

    Oh ok, that explains it. Thank you so much. I'm still getting use to my ipad2. I've only had it for about three weeks

  • IS THERE ANYONE LEGITIMATE THAT KNOWS WHY I CAN CONNECT TO INTERNET WITH A IBOOK G3 AND NOT OPEN WEB PAGES?  ONLY HAPPENS WITH MY LANDLORDS ROUTER THAT HE HAS PROVIDED THE PASSOWRD FOR. ONLY WAY I CAN CONNECT TO HIS SERVICE IS IF HE HAS FIREWALL DOWN. WE

    PLEASE ONLY RESPOND IF YOU KNOW HOW TO CORRECT THE PROBLEM. I'M CONNECTED TO MY LANDLORDS INTERNET VIA AN EXT NETGEAR ROUTER, PASSWORD PROTECTED, THAT HE HAS PROVIDED WITH A G3 IBOOK. FULL SINGAL, CAN'T OPEN WEB PAGES. HAS NEVER HAPPENED BEFORE.

    That's because your landlord probably is using WPA2 encryption or 802.11g or 802.11n wireless.  The iBook G3 lacks support for WPA2 encryption, which is much stronger than WEP and the original WPA.   It also only has support for 802.11b.     If you want to join a newer router with a secure firewall, get an 802.11g or better wireless ethernet bridge.
    P.S. Please avoid from using all UPPERCASE.     It is hard to read, and in internet etiquette it means you are attempting to shout and be rude.  I'm sure that was not your intent.  So please avoid from doing that again.  Thank you.
    P.P.S.  10.7.1 can't run on an iBook.   Are you sure you have an iBook and 10.7.1 is on it?  If it doesn't say iBook on your screen frame, or Apple menu -> About This Mac doesn't say Mac OS X 10.7.1, it is not 10.7.1, or an iBook.    MacBooks, which replaced iBooks in 2006, and later came out with Core2Duo and Core i processors, are the only Apple notebooks that can run 10.7.1.

  • Is there a keyboard shortcut to open the presently open web page in another tab? It used to be Ctrl + N.

    Is there a keyboard shortcut to open the presently open web page in another tab? It used to be Ctrl + N. This shortcut now opens a Tab with the home page instead of duplicating the web page I'm on.

    Firefox has always opened new tabs in a blank page, so I'm guessing that the way you had it before was added by an extension.
    If you to to Tools > Add-ons > Extensions, are there any extensions disabled?
    In any case, you can still do this with a mouse shortcut. Hold down the Ctrl key as you drag a tab to an empty area on the tab bar.

  • Adobe Reader 9.2 not opening web pages in Win7 64bit

    After reading all the threads on this subject, it seems that two things are obvious: Adobe has a lot of trouble with their software fixes, and secondly, the fixes seem to be different for many PC's and OS's. I have windows 7 Ultimate, 64 bit, and Adobe reader 9.2 is hanging when we try to open web pages with .pdf files. We are using IE8 ( even Firefox with foxit is having a heart attack ! ) I am trying to uninstall version 9.2 with no success. It gets to one part of the uninstall and then gives me a message that other programs are using Reader, and it stops the uninstall. I have tried REPAIR, it does not help. Am I to assume that Adobe AIR and Adobe.com ALSO need to be uninstalled PRIOR to attempting to uninstall Reader 9.2?
    Also, I feel that the present install of 9.2 is corrupted ( hence why I am trying to reload ) because when I open the Adobe Reader icon on the desktop, the black Adobe screen opens, but after about 6 seconds the Adobe screen goes white and there is a message in the top Adobe Reader bar stating that the program is not responding. ( Obviously something is missing in the install ) MS  UAC is set to OFF, so no security blocks there.
    Q1 : How do I get Adobe Reader ver 9.2 to uninstall?
    Q2: Will version 9.2 of Adobe Reader work on Windows 7 64 bit presently?
    Thank you in advance for any kind assistance

    To uninstall Adobe Reader, make sure (using Task Manager's Processes tab) that Adobe Reader is not running.  Browser windows should also be closed.
    If you still cannot proceed, try in Safe Mode, or use the Windows Installer CleanUp Utility.
    P.S. Adobe AIR and Acrobat.com are not directly related to Adobe Reader, and can be uninstalled independently.

  • Is there a way to submit a pdf form without redirecting my web page?

    I have a fillable pdf form inside of a web page.  When a user clicks on a submit button I have the pdf calling the submitform method.  This redirects the web page to the url I specified inside of my pdf document.  I don't want the web page to be redirected.  I would like to have the pdf submitted to the server and know when I have handled the submission.  Is there a way to do this? 

    Normally you'd return an (X)FDF in this situation. It can contain content that causes an informative popup dialog to be displayed to the user, fill in form fields, and some other things. Are you able to reprogram the server to return an FDF instead of HTML?

  • Cant open web pages when connected to the internet via Telstra's Pre Paid WiFi has anyone else had the same issues works fine with BigPond WiFi

    Cant open web pages when connected to the internet via Telstra's Pre Paid WiFi (this connection is working on other devices) has anyone else had the same issues, works fine with BigPond Wifi

    and now, when i tried to check again my network preference below the airport tab is showing a message that
    "my airport does not have an IP address and cannot connect to the internet!"
    then after seconds it will goes back to the first message that
    "airport has the self assigned IP address etc....."
    i don't know whats going on now!
    airport tab is not showing green color anyway! i'ts always in yellow!
    i tried turning it on and off but nothing happen! HEEELLLLPP!!!!

  • Safari wont open web pages using Vista

    After installing Safari on a windows vista PC I keep getting the same message Safari can’t open the page. I am able to open web pages with internet explorer

    I'm using Vista too and have no problems accessing webpages with Safari. Do you use a Proxy? Maybe your Firewall blocks Safari...

  • I want to buy MBA 11'' which model is good.  i.e.  i need speed.  I am using Lenovo netbook s-10. Is very slow in opening web pages an also in operating other apps.

    I want to buy MBA 11'' which model is good.  i.e.  i need speed.  I am using Lenovo netbook s-10. Is very slow in opening web pages an also in operating other apps.

    Put your first emphasis on memory. Don't even consider 2 GB.
    Second, maximize your SSD size according to the ability of your wallet. Lastly is your processor.
    For what you describe the MBA is plenty fast.

Maybe you are looking for