Can't stop the submit

I have created a Visual Web Application using Netbeans 5.5. This creates jsp files using the "webuijsf:" tag library.
My page has a button that on click calls a javascript function that sets a bunch of check boxes to true, a select all function.
Like this onClick="selectAll(); return false;"
The problem is that button still submits the page. I just want it to run the javascript.
Any ideas?

Sorry:
My problem is not the same,
I posted the problem on a different watch and it is that the button is alway submitted after deployment
before I click the button.
This is a minimal tested code.
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page binding="#{Page1.page1}" id="page1">
            <webuijsf:html binding="#{Page1.html1}" id="html1">
                <webuijsf:head binding="#{Page1.head1}" id="head1">
                    <webuijsf:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
                    <webuijsf:form binding="#{Page1.form1}" id="form1">
                        <webuijsf:checkbox binding="#{Page1.checkbox1}" id="checkbox1" label="Checkbox" style="position: absolute; left: 192px; top: 144px"/>
                        <webuijsf:button binding="#{Page1.button2}" id="button2" style="position: absolute; left: 336px; top: 144px" text="Button"/>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>Hope I get an answer

Similar Messages

  • How can I stop the sharing on the iPhones that are in the same account because its sharing every thing even text messages

    How can I stop the sharing on the iPhones that are on my account because its sharing everything even text messages and its driving everybody crazy

    An icloud account is designed to be used by one user to keep his/her devices in sync. 
    If you have muitiple family members or friends using the same account as yours, then have them get their own Apple IDs and icloud accounts.
    If you mean you want to stop the sharing between all your devices, then on any one device, go to Settings>icloud and turn off the services you don't want that device to share/sync.  Or turn off icloud altogether if that's what you want.

  • How can I stop the flickering/juddering that appears on my iPhone 5's screen?

    How can I stop the continuous flickering/juddering that appears, usually after I switch Wi-Fi on, on the screen of my iPhone 5? It has only started occurring since I updated to iOS 7.0.3. Thanks.

    It's happening continuously now!

  • When I record an audio track, there is a waveform. When I stop recording, the waveform disappears and becomes a straight line. It also disappears from the track edit window. But the sound is there. How can I stop the waveform from disappearing?

    When I record an audio track using Logic Pro X, there is a visible waveform which appears as I record. When I stop recording, the waveform disappears and becomes a straight line. It also disappears from the track edit window. But the sound is still there. How can I stop the waveform from disappearing? And can I do something to view it after it has disappeared? Anyone know the anser?

    In Logic:
    Preferences/Audio Set Recording Delay to 0 <zero>
    This should always be set to zero unless a specific set of circumstances exist and you're audio drivers do not report position correctly.
    On occasion, usually when importing a Logic 9 project, Logic-X randomly changes this to a negative/positive number.  It's actually a bug in Logic, as it should always display the waveform.

  • How can i stop the itunes update notification

    how can i stop the itunes software update notification. I have alreaady unchecked the box to automatically check for updates.

    Don't tap the install button.

  • How can i stop the i tune pop force quit doesn't work

    hi ,
    please help " how can i stop the i tune pop force quit doesn't work"

    Refunds on downloaded software are virtually nonexistent.
    I have had cases where I purchase software on a physical disk. If I don't like the software I can uninstall it from my computer and sell it legally. Recouping most of my loss.

  • Each time I try to download a file document (ie. PDF), foxfire begins to open multiple new tabs, and wont quit. it also never really opens the file , and I can't stop the action unless I log off.

    I am unable to download any files without multiple new tabs opening at the top of my screen. I am unable to identify what the tabs are for and can't stop the process without logging off Foxfire completely. FoxFire has also corrupted other files and made them impossible to download (saved files)

    Could you check your PDF viewer preference and try changing it to a different viewer to see whether that helps? This article describes how to access that setting: [[How to disable the built-in PDF viewer and use another viewer]].
    Unfortunately, the settings file that stores those application handling preferences sometimes contains crossed up settings or settings which Firefox cannot actually implement. In that case, you generally need to rename or remove that file and let Firefox rebuild it. The steps for that are in this article: [[Firefox repeatedly opens empty tabs or windows after you click on a link]] -- skip to the section "Reset actions for all content types".

  • How can I stop the oracle XSLT processor from inserting extra whitespace in HTML?

    How can I stop the oracle XSLT processor from inserting extra whitespace in HTML?

    Use <xsl:output mode="html" indent="no"/> as a top-level element child of your <xsl:stylesheet> element.

  • Whenever I try to upload photos into iPhoto, they load but when importing it just stops a picyure or two into it and then just sits there. I can't stop the import so I have to shut off my camera when it is importing and start again. Help?

    Whenever I try to upload photos into iPhoto, they load but when importing it just stops a picture or two into it and then just sits there. I can't stop the import so I have to shut off my camera when it is importing and start again. Does anyone know how to fix this?

    As a test  launch iPhoto with the Option key held down and create a new, test library.  Tru importing from your camera to it and to see if the same problem persists. Does it?
    OT

  • How can I stop (the annoying) McAffee Antivirus from downloading every time Adobe Flash needs to upate (which lately is every second day)

    How can I stop (the annoying) McAffee Antivirus from downloading every time Adobe Flash needs to upate (which lately is every second day)

    don't auto update.  manually update and untick mcaffee.

  • How can I stop the iWeb welcome movie from appearing

    How can I stop the iWeb welcome movie from appearing every time iWeb starts up?
    Oh yes and now that we are talking: when I plug in my ipod, I want iTunes to start, not iPhoto.
    Who knows these tricks?

    iPhoto seems to be viewing the iPod as a camera.  Therefore go to iPhoto's General preference pane and select No application in the Connecting camera opens: menu.
    OT

  • How can I stop the recent and favorites from show on the screen of my i-phone and i-pad, this is a new feature of iso 8

    How can I stop the recent and favorites from show on the screen of my i-phone and i-pad, this is a new feature of iso 8

    Hi AppleLove78,
    I'm sorry to hear you are having issues with your new iPhone 6. If you continue to have audio or call quality issues, you may find the information and troubleshooting steps outlined in the following article helpful:
    If you can't hear a person on a call or voicemail or if the sound quality is poor on iPhone - Apple Support
    Regards,
    - Brenden

  • I am making an iMovie (HD 6.0.3) using old photos. How can I stop the zoom in on some of the clips?

    How can I stop the zoom in on some clips of old photos? I am using iMovie HD 6.0.3  I don't want to take it off of every picture.

    Select the photo in your timeline you wish to change, then with Meda/Photo tab open, click the Show Photo Settings button.
    In the new window that opens, uncheck Ken Burns Effect.
    Matt

  • I set up time capsule using a wireless 4g modem.  it's been five hours and it still is saying making backup disk available (4.97 GB of 18.52 GB).  Can I stop the whole thing, get a ethernet cable and start over to increase the speed of the backup?

    I set up a new time capsule on a wireless 4g modem.  I started the initial backup.  It's been five hours and it still says "making backup disk available (4.97 GB of 18.52 GB)."  Can I stop the whole thing, connect my computer to the time machine using an ethernet cable and start over to increase the speed of the backup?
    Thanks,
    David

    Bunce wrote:
    oh i already did that. Im working on my imac and looking into this on my macbook. Was able to reproduce the issue again by trying to open TM. Locked out the finder again and had to restart. I checked the serial number and it was an early 2009 purchase with no coverage.
    If you bought a Mac and got AppleCare with it, within 2 years of buying the TC, the TC is covered, too.
    I have to admit that this $500 unit was the first to apparently junk out. The western digital that had my main data on that is my daily external that I store about 2TB of data on is still perfect and the new technology TM appears to already be cashed. Love the computers, not to big of a fan on the externals of the apple TV's. No life expectancy. Neither here nor there.
    suggestions before I either get this looked at or scrap the HD on it and move forward.?
    Reset the TC. See [Resetting an AirPort Base Station or Time Capsule FAQ|http://support.apple.com/kb/ht3728].
    Try a "full reset" of Time Machine, per #A4 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html] (or use the link in *User Tips* at the top of the +Time Machine+ forum).
    If all else fails, take it to your local Apple Store or Authorized Repair location, they may be able to determine whether the disk is dead.
    If it is, they might replace the TC for you. If not, they won't repair it, but if the electronics are ok, you can replace the HD yourself, if you want to. See http://discussions.apple.com/thread.jspa?threadID=2542983

  • In OUT Bound of a Jaxws provider, how can we stop the provider invoking its endpoint and send a response back?

    Hi One & All
    While we are working on Delegate(provider) for JAXWS client handler in Weblogic10 , we have some technical issues and need some assistance.
    Problem Description
    In OUTBound of a provider, how can we stop the provider invoking its endpoint and send a response back?
    Example:
    I have a provider with some handlers configured for both IN and OUT flows. When the Jaxws provider is making a request, the OUTBound Handler gets invoked and in this Handler I would like to stop invoking actual endpoint and send back my own response. That means I should be able to tell the Handler chain to stop further processing of this flow, set a response message into message exchange and invoke the IN flow. How do I do that?
    This kind of mediation/interception is possible in standard specifications like JAX-WS, Servlets etc… wondering if Weblogic10 JAXWS provides any sort of this kind.
    Also we would like to know who is invoking a provider endpo     int in JAXWS stack in weblogic10? Is it an OUTBound handler at the end of handler chain or some other transport component after the handler chain?
    Thanks in Advance
    Suresh
    Edited by: user12494412 on Jan 22, 2010 7:06 AM

    I completely agree with this....I have used Windows and Skype for many years. I recently installed an older version of Skype to run on Windows 8.1 because the new version is SO AWFUL. As much as I prefer the older version (6.14), the daily number of SPAM CONTACT requests is rediculous and most are just variations of the same spammer. Maybe it is time to look for a replacement for both?

Maybe you are looking for

  • How can i watch a rented movie in my apple tv?

    I rented a movie in iTunes and want to watch it in my apple TV.  I try to "drag" the movie to the apple TV under Devices, and can't seem to do it.  When I go to my shared movies in apple TV the rental is not there.  Does anyone know what I need to do

  • Screenshot in window mode not working

    I have the weird situation that the screenshot utility "grab.app" returns a blank image (of correct dimensions) when I select "capture window" and point to a window. All other modes work just fine. This is on all user accounts and with 10.6.3 (update

  • Since I can't view my points history...​..

    Can a specialist please let me know how many points I have pending and an estimated date of when I'll be receiving my points since I can't view anymore on bestbuy.com. I want to know if I'll be receiving points for a pre order and a purchase that I m

  • Maintaining a Exchange rate type in CMR

    I have maintain a exchange rate type in Customer master e.g "ZCUS" & wanted to perform the accounting based upon that exchange rate type only . When I have created the sales order system gets the Exchange rate based on  the exchange rate type maintai

  • Flash Project Pointers

    Hi guys, I'm definitely a Flash noob and would really appreciate some guidance with a few things: I'm making videos for an instructional program. This involves importing audio, images, animating those images, etc. I'll be exporting to flv format at t