Supressing the effect of causing a submit when pressing Return

We have hit a problem with a JSP application that we have written. It
consists of a number of JSP pages.
The pages render data from Java Beans which in turn are populated by various database (ORACLE) querys. Once the data is rendered the user
can update the data in the fields.
The problem we are having is that when the data is held in a text field
and the user changes its value and then presses 'Return' (as opposed to 'TAB') the form is submitted and the database record is written
back to the database.
What we would look to do is to supress that action from happening, i.e
when the user presses 'Return' it does NOT submit, but rather navigates
to the next field. We would only want the submit to happen when
the user presses the 'SAVE' button.
Is there a way to override this default behaviour of HTML ?
Thanks
Chris

JSP and various other languages can easily state what's supposed to be on the page, but they can't tell the browser what to do in certain circumstances. You'll have to use a browser-programming language (well, client side programming) and the only "common" language out there right now is JavaScript.

Similar Messages

  • Firefox is not remembering passwords for sites that i visit regularly. Ihave checked the box "remember passwords for sites" in the security tab under tools, but the passwords are not being remembered when I return to the sites.

    Firefox is not remembering passwords for sites that i visit regularly. Ihave checked the box "remember passwords for sites" in the security tab under tools, but the passwords are not being remembered when I return to the sites. I am running v 3.6.18

    Websites remembering you and automatically log you in is stored in a cookie.
    * Create an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    Make sure that you do not run Firefox in Private Browsing mode.
    * https://support.mozilla.com/kb/Private+Browsing
    * In [[Private Browsing]] mode all cookies are session cookies that expire if that session is ended, so websites won't remember you.
    * Do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    * http://kb.mozillazine.org/Cookies

  • TS1587 My friend has a G4 that will NOT turn on at all.  The monitor power button will light up, but monitor won't turn on; the the computer power button lights up when pressed but won't stay on and nothing else happens.  He said it USED to at least turn

    Anyway, not sure if my question was sent, so here it goes:  My friend's G4 won't power on....the power button lights up briefly when pressed, but nothing happens....and, cannot even get the montior to power on...does the same thing.   He said it used to at least turn on, but now it's doing this.   Help!!??  What should we do??

    If you are able to use a multi-meter, you can test to see if the power supply is culprit. Use the Power Mac G4: Power Supply Voltage Test  (Sawtooth G4) document to aide you in the proceedure.
    If not the Sawtooth, Power Mac G4 (Gigabit Ethernet): Power Supply Voltage Test.
    If a Quicksilver, use the pinout of the QS PSU connector here:
    http://www.xlr8yourmac.com/tips/MDDps_mods/MDD_PSMods.html#update
    and a testing description here:
    http://www.jcsenterprises.com/Japamacs_Page/Blog/D275729F-09DA-4FBB-96B3-BEEEB2C 04619.html
    The test description is for a MDD, but the basics are the same.
    If a MDD,follow my instructions in the linked articl above.
    One should also try a PMU reset:
    http://support.apple.com/kb/ht1939
    One should also  replace the 1/2 AA PRAM battery.
    Also, check that the 20, 22, 24 pin connector is properly fitted to the motherboard, and that the wires are properly inserted in the connector. There is also a 10 wire ribbon, which goes from the motherboard to the power button board. Make sure that the ribbon is firmly connected at both ends, and that there is no apparent damage to the ribbon.
    If the power supply tests good in a MDD, the power switch board could be suspect.

  • How can I remember the last place I browsed? When I return to the main page it would be great if a marking of some kind would show the last place I browsed.

    When I return to the main browsing page after checking a site it would be great if the last place I checked would highlight on the main browsing page or have an indicator of some sort to let me know.
    When returning to the Browsing page it is difficult to remember which link I clicked on and have to guess or start over again so can someone let me know how to do this if it can be done?
    Can't remember but I think that you can do this with Internet Explorer.
    Thank you.

    I am not sure exactly what you are trying to do but firefox calls favorites bookmarks, and has a variety of methods of making, sorting and displaying these, it also stores your 'history' and lets you see that or use it in the location bar search.
    Have a look at some of the following
    * [[Bookmarks]] <-- coloured text is a clickable link --
    * [[Location bar autocomplete]]
    *[[Browsing basics#w_retracing-your-steps]] <-- this is a long article it will scroll up and down once opened

  • Do you recognize the effects that's been used, when you see movies, music videos etc immediately?

    From AE and its presets for instance?

    Spider scene:  look at all the bad matting and mismatched black levels.
    Balrog scene:  bad compositing (esp. transparency where it shouldn't be), mismatched black and white levels.
    I think those were the worst moments, but the whole movie had very visible compositing mistakes, plus more than a few 3D CGI mistakes (bad motion match, bad camera match, bad lighting match, bad level of detail matches, etc.).
    When you work on this stuff every day, the mistakes just jump out (kind of like having perfect pitch and listening to a poorly tuned orchestra).

  • What are the effects to plug-in development when updating InDesign CS version to CC version?

    Will there be a CC version SDK available? Or the CS6 plug-ins can be loaded in CC version? Otherwise the plug-ins are required to be re-compiled?
    Is there any official documentation about the inDesign development in CC?
    Thanks a lot.

    The plug-in for InDesign CS6 is incompatible with InDesign CC.
    InDesign CC is a 64-bit application, Cocoa native on Mac OS.
    You need to use the SDK for InDesign CC, but not available yet.

  • TS4006 I have a problem, I locked my MacBook Pro "mountain lion" with the find my iPhone app. When I returned home to unlock my MacBook thats where the problem began. I was unable to unlock the MacBook with the code I then called apple they cou

    I've been locked out my MacBook Pro, I was able to lock the MacBook with the find my iPhone app but I'm unable to unlock it with the app or by punching in the code directly to the MacBook, so far the apple store or reps over the phone can not help. I've called a third party retail store for assistance and the tell me I have to pay, even if I get it to work or not... So far nothing these apple "genius" will do to help with this product solution.
    I know my passcode/password but I am not able to log in....
    Is there anyone that can help?

    I would guess the fan is the cause of the noise. Suggest you take a look at it.
    This site has a wealth of information about getting inside a Macbook or Macbook Pro.
    http://www.powerbookmedic.com/mac-repair.php

  • Exit when press Return

    Hello:
    I have a text field and I need to let to write in it, but
    when Return is
    pressed I must detect it and exit.
    The problem is that when i put this code into the textfield I
    can't write
    anything in it.
    on Keydown
    if (_key.keyPressed(RETURN)) then
    exit
    end if
    end
    Can you help me to solve this?
    thank you

    Thank you very much.
    Works perfectly
    "Sean Wilson" <[email protected]>
    escribió en el mensaje
    news:elf1rh$spn$[email protected]..
    > Try instead:
    > --
    > on keyDown me
    > if (_key.keyPressed(RETURN)) then
    > stopEvent
    > else
    > pass
    > end if
    > end

  • Issue : OBIEE applying default prompt values when pressing return button

    Hi All,
    On my dashboard, I am showing a summary report. This summary report has a link to detail report. I have provided a link for detail report just below the summary report on dashboard. Following is the issue which I am facing
    [1] I run the dashboard for a particular prompt value on the dashboard. Let's say a date value = '1/1/2010'.
    (There is no default value for the prompt).
    [2] Now my summary report is updated according to the prompt value which I selected.
    [3] I click on any value on summary reports and it drill down and recalculated the metrics
    [4] Now when I click on the detail report, i get the detail report too ( in a new window). The issue starts from here.
    [5] When I click on return link from the detail report page, it takes me back to the summary report page ( I land on the report which I got from step 3)
    [6] I click on the return button under the summary report (rememeber I had drilled down) to see the report which i get in step 2
    But, when I click on the return button under the summary report, it changes the prompt value too and applies the default value to the prompt and provides me the initial summary report with default promt value. The report which I got in step 2
    Whereas what i want is when I click on the return link then I should get the report which I got in step 3.
    Why does OBIEE applies the default value when I try to return back to my original summary report. Is this an OBIEE feature or I have some setting issue ?
    Hope I have been able to explain the scenario!
    Can anyone please reply on this. Any help would be much appreciated.
    Thanks,
    Ronny

    hey kart,
    the issue is not about going back to the summary report ...the issue is when i click on the return link below the summary report after returning from the detail report ( which opens in a new window) then it takes me to the initial summary report ( which was loaded by default when the dashboard was loaded) with all the default prompt filters whereas my requirement is to go back to the summary report with the filters which users selected from the prompt ....
    Please let me know.
    Thanks,
    Ronny

  • How do I get loops to keep the effect settings I hear when previewing?

    When I place loops into a new track, the effects settings go away and it is simply a dry signal. How can I move a loop from the browser into a new track and have it keep the effects settings that I hear when I preview the loop?

    If you drag a green MIDI loop onto the Arrange window space, it should create a Software instrument track with all the required plug-ins for the sound, so don't drag it to an already existing Software instrument track.
    If you drag it to an audio track it will convert it to an audio file, so obviously the instrument/fx plug-ins wont be in the channel strip.
    If that's what you mean?

  • Caused error -3256 when attempting to connect to external speakers.

    I'm trying to connect to my Airport express using a PC running Windows XP home Edition SP 3 with iTunes 8.0.2 and getting the following error
    caused error -3256 when attempting to connect to external speakers.
    I've searched on teh internet and everything seems to relate to the Mac OS.
    Anyone running XP had similar issues?
    My AirportExpress is running FM 6.3
    Thanks
    Marcus

    After reading this discussion thread, I've seemed to have solved the problem for myself. I'm using the Trend Micro PC-Cillin Firewall. I disabled it and the airtunes worked. So, I went into the firewall settings. There's the ability to edit the profile and add to an exceptions list. You select the executable program, select incoming or outgoing, I accepted the other default settings and it worked.

  • Remove and install dial plan installer - the effects on route patterns etc

    Hi All,
    I am hoping someone could answer this one for me quickly.
    I have a scenario during an refresh upgrade to CUCM 10.5(2) where it fails in the install logs with "component_install:807, failed to refresh_upgrade Infrastructure_post components | <LVL::Critical>".
    The fix to this may be that I need to uninstall the AUNP dialplan before upgrading.
    See (https://supportforums.cisco.com/printpdf/12334191)
    What is the effects on route patterns etc when removing the AUNP dial plan?
    Will the configuration be maintained and become operable once I upgrade and re-install the AUNP?
    Thanks in advance
    Kent

    Check your database replication status, this might help:
    https://supportforums.cisco.com/docs/DOC-13672
    HTH,
    Chris

  • If I leave the laptop alone for 15 minutes, when I come back I have lost my internet connection

    I have been using firefox for about two months now without any problems. With in the past two weeks, if I leave the laptop to do something else, when I return to the laptop and go to check my E-Mail etc. I lost my internet connection. I check and says I have an excellent wireless connection but I am forced to re-boot and then I'm back on. "WHY"

    What kind of documents? Office? iWork? Text Edit? What version?
    What settings do you have in regards to power saver and/or screen saver?
    For these kinds of system glitches I always recommend installing and running Onyx 'Automation'. If that does not work you should reinstall the offending software, if possible.
    Onyx - http://www.titanium.free.fr/download.php?sid=d1caebc01e3207556c6d75791305ccf2

  • Was my upgrade used when I returned a New phone on the 3rd day I had it?

    I opened an account in October of last year. I received an Apple iPhone 4S and then 3 days later returned it for a Galaxy S3. I was recently trying to upgrade my phone but they said the upgrade had already been used when I returned my new phone within the 14 day return policy. Why did that count as my upgrade? Now my account says I can't upgrade until months after my plan ends. I would like to upgrade. Thanks for your help.

    There is not enough information in your post for anyone to know if you are actually upgrade eligible. What I was saying is that IF you started service in October of last year then more than likely you are not eligible to upgrade as upgrade eligibility usually becomes available every two years of service.

  • Strange pops when pressing play and stop. Logic 9.1.3, Mac internal Sound

    Hi,
    So I opened Logic for the first time in a while.
    Logic Pro Version 9.1.3 (1697.87) 32bit.
    Mac 2 x 2.8GHz Quad-Core Intel Xeon
    Mac OS 10.6.5
    6GB RAM
    I am using the internal Mac sound card, set up as follows :
    Core Audio
    Built In Line Output
    IO Buffer Size 512
    I am running ONE Mono audio track, with one Space Designer plug-In (mono>Stereo) inserted on the first insert slot.
    There is nothing else playing back on this particular logic song.
    Every time I press the spacebar for play or stop, I get a tiny delay, a pop, and then is starts, or it stops playing.
    This is using the Macs' own internal sound card. With Logic's own Space Deigner, on ONE mono audio track.
    SO, any ideas as to why this happens?
    The only reason I opened Logic, was because I wanted to show a producer friend of mine some personal Space Designer presets I had made a couple of years ago, in case that was the type of ambience he is interested in using for a mix.
    My plan was to use Logic as an effects suite, using a Motu 828mk3 conected via ADAT Lightpipe to my Pro Tools HD converter, to send and recieve 4 stereo sends and returns with 4 instances of Space Designer.
    But, if Logic hiccups with the internal sound card... what will happen when I use the Motu? I dread to think about it, but will test it tomorrow.
    At least I have two weeks to get this working or re-do my convolution reverbs in another plug-in (Waves IR1) that I can use in Pro Tools, in case Logic just does not work out.

    The multi-purpose internal audio chips used in Mac's & PC's has some built in latency and seemes to default to a basic 16-bit 48kHz format. Any change from this and the chip has to change on the fly, I knew sample rate did this, makes sense bit depth might as well.
    Some internal chips have a built in noise gate which can also cause a "thump". (rare)
    Cheap or out-of-spec audio chips with a high DC offset will cause a pop when pressing "Play" and "Stop", as will an audio file that has a high DC offset.
    pancenter-

Maybe you are looking for

  • Alchemy and Windows 7 post Service Pack 1

    Is anyone having a problem using Creative's Alchemy application for restoring 3d hardware acceleration for old games in windows 7 AFTER installing Service Pack 1? I have had very good luck in the past when using Alchemy under 32 or 64 bit versions of

  • [SOLVED] Font Unreadable after XOrg 1.5 HELP!!!

    Previoulsy on mi PC: All work right, including COMPIZ with all Effects Enabled. One Day: pacman -Syu cause update to xorg1.5 and BOOM all Fonts on Title bar of all windows became unreadable and the problem will be extended on all rendering windows of

  • High CPU consumption with repaint while dragging

    Hi! I certainly hope someone can help me with this. I am building a graphical user interface for a graph with custom nodes and edges, the nodes being draggable. I have tried making each network component (node or edge) a JComponent. Now, I'm trying u

  • The request for account "iCloud" failed.

    I keep getting this message: "The request for account "iCloud" failed. The server responded with "502" to operation CalDAVAccountRefreshQueueableOperation." whenever iCal opens. It gives me the option to "Stay Offline" or "Go Online" but even when I

  • Installation failed - Technical Communication Suite 3.0

    Hello, I need to install TSC 3.0 to a domain Windows 7 Pro 64-bit computer (Lenovo ThinkCenter M92p Tiny specifically). Each time I try to install it, I get these errors: Exit Code: 24 Please see specific errors and warnings below for troubleshooting