ICEfaces
  1. ICEfaces
  2. ICE-5574

Make behavior uniform across all browser for "submit on enter" with input components

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 2.0-Alpha3, 2.0.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      ICEfaces 2.0 Alpha2 / JSF 2.

      Description

      In ICEfaces 1.x the doSubmit() function in the bridge would block the default submit on enter functionality that is present in some browsers when Enter is pressed inside an HTML input element. We need a similar mechanism for ICEfaces 2.0, to allow the components themselves full control over submit processing as triggered by the enter key.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #21312 Mon Apr 26 15:10:52 MDT 2010 mircea.toma ICE-5574 Use predefined function.
          Files Changed
          Commit graph MODIFY /icefaces/scratchpads/glimmer/core/src/main/javascript/application.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #21311 Mon Apr 26 14:03:30 MDT 2010 mircea.toma ICE-5574 Avoid submitting textarea data when Enter key preseed.
          Files Changed
          Commit graph MODIFY /icefaces/scratchpads/glimmer/core/src/main/javascript/application.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #21178 Thu Apr 08 08:47:58 MDT 2010 mircea.toma ICE-5574 Unify form submit behavior by introducing system event listener that modifies rendered forms to capture any enter key press.
          Files Changed
          Commit graph ADD /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/EnterKeySubmit.java
          Commit graph MODIFY /icefaces/scratchpads/glimmer/core/src/main/resources/META-INF/faces-config.xml
          Commit graph MODIFY /icefaces/scratchpads/glimmer/core/src/main/javascript/application.js

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: