Call an action event ,but don't submit the form, is it possible??

hi,guys.
I have a form,like this:
<h:form id="formId" target="confirmWindow">
(must keep the target property!)
In the form, i have an action event.
<h:commandButton id="button1" styleClass="button"
value="submit" action="#{manageBean.updateData}"/>
the action return a String and navigate to another page(b.jsp),the issue is:
It always open a new window to display the b.jsp!
I only need display the result in the same window ,how can i do?
thank you !
Message was edited by:
hereto

Oh,thank you for reply!
Yes, i try to return the null,but it always open the same page in a new window!?
I don't want open a new window.
thanks again!

Similar Messages

  • Can I figure out the last numbers I stored on my phone? I got a persons number and store it in my phone but don't remember the name

    I met someone last weekend and I stored the number in my phone but don't remember the person's number. My phone has tons of numbers so it's impossible to tell which one is hers. Is it possible to tell which are the last numbers I added to the phone?

    Did you download it to iTunes?
    If so, connect your iPhone to your computer and open iTunes. Click on your iPhone and navigate to the Tones tab. Be sure to click in the box next to Sync Tones and mark the ones you want on your phone. Then click on the Apply button and you should be all set. Once your iPhone finishes syncing, open your iPhone and choose settings > sounds > Ringtone. In the listing of possible ringtones you should see the ones you just added at the top of the list. Tap the one you want to use for your main ringer and it is a done deal.

  • Ok i work at a military base and there were iPod touch's given out to some units and I have found one and would like to return it but don't know the owner so is there a way to track a name with the serial number?

    Ok i work at a military base and there were iPod touch's given out to some units and I have found one and would like to return it but don't know the owner so is there a way to track a name with the serial number? Or how can I find out who owns it?

    No. Turn it into the military police.

  • The calendar sync is recently not working correctly, not display "All events" but it only displays the last six months for my individual entries. My repeating entires do go back further, though. How do I fix?

    I have an iPad 5.1.1. The calendar sync has started to not work correctly. I have it checked "All events," but it only displays the last two months for my individual entries. My repeating entires do go back further, though. How do I fix?

    HI Jason269. Thanks for your reply, however I wrote that I already have "All events" checked. If All Events is checked and it doesn't diaplay all events, how do I fix? It seems this is a common issue, as I have read many others on here state the same problem.
    I believe my problem occurred when I synced my iMac calendar to my iPad calendar using yahoo. Yesterday, I unsynced them on my iMac controls. When I checked my iPad calendar, all of my old entries reappeared - but only for five seconds and disappeared again. So, the data is saved and still there but cannot be displayed, even when I have All events checked. In fact, it only shows my individual entries for the last two months, but does show all my recurring entries. If I switched to last six months, I will see everything for the last six months. If I switch back to all events, it is only for the last two months.
    As I mentioned, others on here have expressed exactly the same issue, including the two month example and having used yahoo.
    For legal purposes, I need to be able to use the information from my indidual calendar entries in an upcoming court case. So I really need to fix this ASAP!

  • I want the phone to be on sense that is my alarm clock but don't need the lights on the phone and the dim light button will only do that dim the light.

    I want the phone to be on sense that is my alarm clock but don't need the
    lights on the phone and the dim light button will only do that dim the
    light.

    Restoring iOS software
    http://support.apple.com/kb/ht1414
     Cheers, Tom

  • I am trying to delete a podcat but don't see the option is mine and I...

    I am trying to delete a podcat but don't see the option mentioned in the article.
    "is mine and I would like it removed from the Music Store". I see "remove a podcast" but that is all. My problem is that I published my first podcast from iWeb and would like to replace it with another one. I published a new one from iWeb but the information displayed in iTunes is for the old one. If I subscribe to the "old" one I actually do get the new one. I may only need to edit my RSS file but how do I do this from iWeb? I hope you can help as I have been going around in circles trying to correct this problem

    OS X Yosemite: Share your printer

  • Bought an iPod nano for use in an external source to the unit of the BMW. It works, but don't remember the place when you turn off the power and every time begins to play the playlist first.

    Bought an iPod nano for use in an external source to the unit of the BMW. It works, but don't remember the place when you turn off the power and every time begins to play the playlist first.

    Thanks iPod Whisperer--
    I do realize that the nano will resume where I left off in my audiobook if I reload the file that was last playing.
    What I was hoping is that the 6g nano would work like my previous iPods and default to the last file played the next time played after Iused sleep mode instead of going to some random song on the iPod.
    Since I usually have a lot of audiobooks on my iPod--and most of those have 10-15 files in them, it's a pain to have to navigate to the correct file (and try to remember which of the 10-15 files I was last playing). On all my other iPods I could simply hit play and it would start up in the audiobook right where it left off.
    Note--this only happens if I use the sleep timer to turn off the iPod. If I pause the book myself, when I turn the iPod back on it'll "remember" what file it was playing.
    Hope this makes sense.
    dordale

  • I cannot sign into my gamecenter because i forgot my password and trying to reset but don't know the email and kept a random birthday pls help

    I cannot sign into my gamecenter because i forgot my password and trying to reset but don't know the email and kept a random birthday pls help

    If you have a verified rescue email then you can get an email sent to that email address to reset the security questions as shown in the article below:
    http://support.apple.com/kb/ht5312
    If you do not have access to the rescue email or you do not receive the reset email then you will need to contact AppleCare for assistance:
    http://support.apple.com/kb/HT5699

  • Need to cancel an auto renewal subscription but don't have the device.  can i do it fron itunes.

    need to cancel an auto renewal subscription but don't have the device.  can i cancel from itunes?

    Yes, see that topic of:
    iTunes Store: Purchasing and managing auto-renewing subscriptions

  • I am distributing a fillable form out to my employees by email. But when they finish the form and hit the submit button it does nothing.

    I am distributing a fillable form out to my employees by email. But when they finish the form and hit the submit button it does nothing.

    Please do not create duplicate posts.

  • HT1386 Lost iPhone 4, bought iPhone 5, would like to transfer backup from last synch with computer but don't have the password

    Lost iPhone 4, bought iPhone 5, would like to transfer backup to new iPhone 5 from last synch with computer but don't have the password.

    What password? Did you encrypt your backup & now can't remember the encrypted backup passcode? If so, no, you won't be able to use that backup. If on a Mac, & you elected to save the passcode to your Keychain, you can recover it from that. Otherwise, you'll have to delete the backup. The data is unrecoverable.
    Or, are you talking about the iPhone passcode?

  • Sharepoint 2010, InfoPath 2010 with Custom Workflow. Error Message: InfoPath cannot submit the form. An error occured while form was submitted...

    I have created an InfoPath form that submits to a Sharepoint library with custom workflow attached. The workflow is initiated when the user submits the form. An email is sent to the supervisor who clicks the "Encoded Absolute URL" and approved
    the form via the emailed form. Then, based on certain criteria the form is either emailed to the VP or the workflow is complete. The VP is sent an email and clicks the "Encoded Absolute URL" and sumbits the form via the emailed form. This is
    how I would like it to work. The reality is, the form submits and is emailed to the supervisor and the supervisor is able to approve but when the form is sumbitted I get an error. The error is "InfoPath cannot submit the form. An error occured while
    this form was being submitted. The form cannot be submitted to the following location: <URL> The file <URL> is checked out for editing by <me> The operation completed successfully." The operation did not complete successfully and it
    is not checked out. I have read in previous posts that the file is locked. Since I am in the testing faze of the project there is no one else using the form. I have waited 24 hours and the lock has not been released. Please help!!! My deadline is growing short.

    I ran into your post while having a similar issue.  I don't have a 'full' fix for you, but I noticed at least in our case if you made sure you opened the Infopath form through the browser instead of the client Infopath program (use the drop-down menu
    and open in browser) the error doesn't occur.  Hope that helps some....

  • Adobe validations of field before submit the form

    Hi forum
    I have an Interactive Form, but i can validate the fields before submit the form and display a popup message, is this possible ??
    Thnks
    Josué Cruz

    Hi josue,
    Use the regular button and for that in the click event write all the validation scripting and at the end use the following code
    In JavaScript: xfa.connectionSet.MyWSDLDataConnection.execute(0);
    In FormCalc: $connectionSet.MyWSDLDataConnection.execute(0)
    Regards
    Pradeep Goli

  • How can I submit the form back to the server, then reload the page again

    Hi
    I have 2 comboboxes, one is already populated with data by the time the page is loaded. The second combobox will be populated depending on the value chosen from the first combobox
    I need to know how can submit the form to go back to the server with the selected value from the first combobox, get some data from the database and then regenerate the whole page again filling the second combobox with the collected data
    for example, here s my select tag:
    <select name="country" id="firstBox" onchange="populateSecondList()">
         <option value="" SELECTED>
         </select>
    <select name="city" id="firstBox">
         <option value="">
         </select>
    what should I have to add in the retrieveSecondOptions() function?

    declare a second combo box in a iframe and to iframe tag there is attribute to which you can sepcify the file name like one.jsp
    now call onchange event on first combo box and forward request to one.jsp

  • Please help! We got a used Mac Mini and we don't have the former owner's password, so we can't install anything like flash player.  Does anyone know how to get around this?

    Please help! We got a used Mac Mini and we don't have the former owner's password, so we can't install anything like flash player.  Does anyone know how to get around this? I don't know how to wipe the hard drive, and the support online doesn't seem to work.

    As posted previously:
    Reinstall OS X without erasing the drive
    Do the following:
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    If installing Leopard the process is similar in some respects.  If you wish to begin anew then after selecting the target disk click on the Options button and select the Erase and Install option then click on the OK button.  To install over an existing system do the following:
    How to Perform an Archive and Install
    An Archive and Install will NOT erase your hard drive, but you must have sufficient free space for a second OS X installation which could be from 3-9 GBs depending upon the version of OS X and selected installation options. The free space requirement is over and above normal free space requirements which should be at least 6-10 GBs. Read all the linked references carefully before proceeding.
    1. Be sure to use Disk Utility first to repair the disk before performing the Archive and Install.
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger, Leopard or Snow Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
    3. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
    4. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
    5. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
    6. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update.

Maybe you are looking for

  • No luck with WRTU54g Router - help please

    My brother recently purchased a Linksys WRTU54g router and it came today, we were told that we could connect to the internet through this by connecting to our BTHomehub wirelessly and therefore can then plug an ethernet cable from our xbox 360 into t

  • Save selection to file

    Is there a way to save a selection I've made to a file for web? Currently my process would be Select an area > Crop > Save for Web > Go back in the history. Any help is greatly appreciated. Thanks a lot.

  • I'm looking to buy just the single app plan

    I'm looking to buy just the single app plan for the individuals. Does that also come with license for 2 computers as well? (I have a work computer and a laptop)

  • All programs keep "not responding"

    I am a new mac user (roughly 6 months) I had tiger for about 2 months before leopard came out. I am not sure where to even start with this. All the programs I use constantly "not respond" Firefox was so buggy I switched to Safari thinking it was FF b

  • How to render video without doubling original file size after minimal change

    Using Photoshop CC, I am importing an otherwise finished H.264 960 x 540 video as a smart object and adding one tiny image for a few seconds and a transition. When I render the video, the file is over twice as large as the original (99KB to 224.6 KB)