Opening a new window with JSF

Hi all,
I am trying to open a popup dialog. What I would really like to do is submit the form first, and then open the popup. If I just use JavaScript to open the popup, then the backing bean does not yet have the submitted values. Is there a way to force the popup to wait for the other page to finish its’ submission?
My solution is kind of hacky, refreshing the page, and having onload make the popup.
Grae

caalip2 wrote:
Hi all,
I am trying to open a popup dialog. What I would really like to do is submit the form first, and then open the popup. If I just use JavaScript to open the popup, then the backing bean does not yet have the submitted values. Is there a way to force the popup to wait for the other page to finish its’ submission?
My solution is kind of hacky, refreshing the page, and having onload make the popup.
GraeWell forget about JSF in this respect, opening popups is completely a client thing and JSF runs on the server only.
Is there a way to force the popup to wait for the other page to finish its’ submission?Yes, wait for the onload of the next view, which you are already doing. Alternatively you can put a <script></script> part at the very bottom of the view.

Similar Messages

  • Is there a way to open a new window with one site when the home setting on Firefox has multiple websites?

    While working in Firefox is there a way to open a new window with one site when the home setting on Firefox has multiple websites?

    I guess I'm not explaining myself fully. I have a home page designation in firefox preferences that starts firefox up with 5 sites. that pretty fills up my screen with tabs.
    At some point I want to initiate another WINDOW in firefox (NOT a tab). I would like to be able to open up a window that ONLY has ONE tab, or as if there were only one site designated as the home page. This gives me a workspace that has my most useful sites available in tabs in one window, and also another WINDOW that I can move around in and even create more tabs without messing up my primary set of TABS (in my primary window). I see how this might not be doable without doing what I do now, which is open up a new window, and then close tabs until the new window just has one tab for me to work from.

  • How can I open a new window with the same website like the one I have open?

    In safari I can open a new window with the same website like the one I have open, that makes it easy continuing to navigate on a website and to go back to the original website

    Hello Andieas
    Why open a new window for fast browsing??
    Open new tabs.
    Just right click on what you want to open and click "Open in new Tab"
    It is easy and doesn't consume memory from your computer as well as easy to navigate.
    Hope you'll like it

  • When i open a new site on safari it always opens a new window with ads how can i stop that?

    when i open a new site on safari it always opens a new window with ads how can i stop that?

    Follow the instructions in the Apple article below.
    Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support

  • FF Less stable than IE. Numerous crashes, the latest quirk is that it will open a new window with a website already working on and NONE of the iterations of FF work. Have to reboot computer because can't even exit FF. Fix it or on to Chrome.

    FF Less stable than IE. Numerous crashes, the latest quirk is that it will open a new window with a website already working on and NONE of the iterations of FF work. Have to reboot computer because can't even exit FF. Fix it or on to Chrome.

    '''''"a new FF iteration"'''''
    No such thing. All Firefox windows and tabs run in a single '''firefox.exe''' process, unlike IE which has a separate process for each window, or Chrome which opens a new process for each tab.
    As far as the Firefox SafeMode, you can't open it when Firefox is running ''(unless you open a separate Profile purposely)'', if you try all you will get is another window in the "regular mode".
    You're not going to be able to discover the cause of your problem if you're unwilling to follow established troubleshooting procedures, regardless of how intermittent the fault occurs. I wouldn't be surprised of you have an add-on installed which is causing that problem.
    Another course of action would be to create a new Profile, which is like starting from scratch with a completely new Firefox installation. <br />
    http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows

  • Links that open a new window with javascript:void(null); do not work in 3.1

    I've been noticing that any site I go to that opens content in a new window with "javascript:void(null);" will be ignored by Safari 3.1. The links work in Firefox and used to work in Safari as well. Any suggestions?

    General rule of thumb in the Mac universe...
    When Safari is updated most if not all third party add-ons break. That's because most don't play by the rules. The developer thinks they know how to do it better than Apple so they just do it their way. So the first rule of survival is to KNOW what you have installed on your machine at all times. Use something like textedit to create a document listing all of the third party stuff you have installed and religiously update the list. Second rule is to wait a few days before applying an update. Third rule is to visit your third party developers' sites and make sure their little gadget is compatible with the new Safari update.
    Being aware of things will make life much easier for you in the long run.

  • How can I open my email without opening a new window with ad?

    When I open Firefoxand the first email I try to open, a new window opens with an ad. I have tried eliminating the same by deleting the cookie pertaining to the address in the window but to no avail. The address in thar window is: http://nym1.ib.adnxs.com/pop?enc=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAPA_AAAAAAAAAAAAAAAAAAAAAOEJxSjX1mgkTBUzhWf4bTmx69VQAAAAAPRnDQAdAgAAHQIAAAIAAAD4yUMAlEECAAAAAABVU0QAVVNEAOcD5wM_HgAAkloAAgQCAQUAAIQAKRUPAQAAAAA.&cnd=!3Bkj8QiP2zEQ-JOPAhgAIJSDCTAEOL-8CEAESJ0EUPTPNVgAYLQCaABwAHgAgAEAiAEAkAEBmAEBoAECqAEAsAEAuQEAAAAAAAAAAMEBAAAAAAAAAADJAYIVYAp8g_A_2QEAAAAAAADwP-ABAA..&udj=uf%28%27a%27%2C+45349%2C+1356196785%29%3Buf%28%27r%27%2C+4442616%2C+1356196785%29%3Bppv%2829846%2C+%272623583002533628385%27%2C+1356196785%2C+1356239985%2C+814479%2C+147860%2C+0%2C+4%2C+10368000%29%3B&ccd=!LAW0LwiP2zEQ-JOPAhiUgwkgBA..&vpid=45&creative_click=http%3A%2F%2Ffinancereports247.com%2F2%2F&referrer=http%3A%2F%2Fus.mg6.mail.yahoo.com%2Fneo%2Flaunch%3F.rand%3D65g3ng480fvtm&dlo=1
    Hope you can fix this or i will start using other browser.

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try some of the following programs to scan for malware:
    * [http://www.malwarebytes.org/mbam.php MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://windows.microsoft.com/MSE Microsoft Security Essentials] (A good permanent anti-virus if you don't already have one)
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Firefox always opens a new window with ad.yieldmanager

    As soon as i click on an image or other views on a website firefox opens a new tab with adyieldmanager and i cant get rid of it.

    hello, this sounds like a problem possibly caused by adware/malware on your pc. please go to ''firefox > addons > extensions'' & remove any suspicious entries (toolbars, things that you have not installed intentionally, don't know what purpose they serve, etc). also go to the windows control panel / programs and remove all toolbars or potentially unwanted software from there and run a full scan of your system with the security software that you have in place and different other tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] & [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner].
    [[Remove a toolbar that has taken over your Firefox search or home page]]
    [[Troubleshoot Firefox issues caused by malware]]

  • Finder opens a new window with tabs in the last closed window loaded automatically

    As the title says, I've found this happens more than a few times for some change. Maybe every time, I didn't count. Say, I closed a window with 3 tabs opened, then next time when I click finder to open a new window, I will find the 3 tabs loaded in the new window automatically. I am wondering if it is a new feature or bug. If it is not right, would anyone give me some suggestion to correct, if possible? Thanks.

    Yup. I think bring convenience or not is supposed to be the fundamental difference bugs and features.
    Convenience also comes with users' habit. I am sure I will get used to the new way as time goes by.

  • Firefox opens a new window with sites I never visited and don't want, I can not close these tabs or open another tab from them.

    I open a new window and two sites appear, One I had never heard of till now. Digg. I can't open a new tab from these tabs, there is never an x on the tab and close all other tabs does not get rid of them.

    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • Open a new window with data in jsp

    Hi,
    I am an absolute beginner.
    I get data from DB in a pipe seperated string
    retval = abc|123|xyz|999
    I need to open a new window and populate the data in it.
    1. How do i open a new window
    2. How do i pass data to the new window
    3. How can i display the formatted data in the new window

    response.sendRedirect("newwindowurl.jsp?arg=" + retval);
    This will direct users to a new window and pass the retval arg to it. On the other window, use request.getAttribute("retval"); to get the value passed in.
    colr__

  • Use a list item to open a new window with a web address

    Hi
    I would like to create a list entry which opens a new windows and directs that window to a specific website. I have tried creating the list entry and it works except it is redirecting to the web site in the current window.
    at the moment in the list entry options under "Target" I have the following
    Target typ: URL
    URl: http://www.somewhere.com
    Many thanks for your help.

    Yes there is. You will need to write your own javascript function using window.open(), which has lots of parameters that control size, scroll bar, menus etc. Do not be tempted to put window.open directly into the URL because it causes problems.
    Do a Google on javascript window.open and you should get all the info you need.
    Another approach is to do a[b] file > save as in apex and then examine the JS files that are downloaded. You can call any of these javascript functions from apex and a number of them open windows in one form or another.
    I can knock something together for you if you struggle.
    Simon

  • Open a new window with a servlet

    HI,
    i would like to use an instruction like this one (which is include in a servlet, get method) :
    String temp3 = "<a href=\"../../siteTESTTom/servlet/visualiserOffres?reference=" + toto + "\" class=\"lien\" target=\"_blank\">Visualiser cette offre</a></p>" ;
    out.println(temp3);
    I would like it to open a new html window in which the content would be the result of the servlet entitled visualiserOffres.
    At the presdent, server is opening a new window returning a 404 error.
    How should I proceed?
    Thanks a lot
    Franck

    You need to look on your server log for errors. When you get a 404 error it means that there is a problem within your servlet. The errors typically print out in the server log.

  • How to open a new window with no Portal Header and Portal Navigation bar

    Hi,
    I am working with the EPCM.doNavigate() method and passing the value "1" for the mode parameter in order to open it in a seperate window without the Portal header.
    For some reason, the Portal header is still seen in the new window.
    Do anyone know the reason?
    Thanks,
    Aviad
    int openType = 1;
    "EPCM.doNavigate(\""Url"\", "openType"); \n"

    Hi Aviad,
    Try out the command
    EPCM.doNavigate(\""Url"\", "openType",'toolbar=no','status=no','menubar=no');
    <b>Put opentype=1</b>
    I think it will work
    Thanx & Regards
    Anish

  • Why does clicking a link open a new window with a spam site on it?

    Happens randomly I will click a link that I want open on new tab it opens but a random site will open in a new window. These sites that open are spam sites that I do not want. I have uninstalled deleted firefox and reinstalled it nothing is fixing this issue. My other computer has the same problem. Does not happen all the time its just random sometime i dont even have to click a link and a new window will open with dating sites poker sites just crap I did not want opened.

    Recomend getting adblock for firefox.
    if you still get unrelated links you should consider scanning for Malware on you computer (this could be an installed program or an extension). I would recommend Malwarebytes as it is somewhat free to use.

Maybe you are looking for

  • How to get older nvidia driver

    I just installed archlinux again and the nvidia driver. Now when I run 3d games I get a stutter every 13-15 seconds, as if the graphics freeze for 1 second. I remember having this problem with the nvidia version 169, and then I downgraded the driver

  • Whanted: Where is the file gauge.as ?

    Hello, I want to modify the specfic gauge as described in the following link: http://www.adobe.com/devnet/flex/articles/customized_gauge.html In this tutorial, author speak about files like gauge.as in a library ... But i don't know where these files

  • When will Adobe update their PDFMaker to work with IBM Notes 9?

    We are an IBM Lotus Notes shop and we utilize the PDFMaker to convert our emails into PDF Portfolios on a regular basis.  There are many features that Notes 9 brings us over Notes 8.5x and we wish to upgrade our users, but we found out that there isn

  • SAXParseException: character conversion error: Illegal character 0x9A...

    This is my problem: I use JDom to parse remote XML document with DTD linked to it. But I get that error. Request is: SAXBuilder builder = new SAXBuilder(); Document doc = builder.build(new URL(url)); This works fine when I use these XML and DTD docs

  • HOW DO I SAVE A DOWNLOADED FILE ONTO AN EXTERNAL FLASH DRIVE PLEASE?

    I'm a recent convert to MAC and I am finding it a real struggle to do very simple things.  I have information I want to move from the MAC to my PC and thought I would do it with a Flash Drive - easier said than done.  I found a You Tube video that ta