ICEfaces
  1. ICEfaces
  2. ICE-8910

ace:autoCompleteEntry - Add functionality to prevent the component from submitting on option select

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2, EE-3.2.0.BETA
    • Fix Version/s: 3.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Salesforce Case Reference:
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      The current behavior of the ice:selectInputText and ace:autoCompleteEntry components is to submit the form when an option has been selected by the mouse.

      The feature request is to add a way to prevent this from happening so that only the valueChangeListener is called and not the forms action/actionListener methods. With this functionality the forms methods would only be called when the enter key is pressed in the input fields.
      1. Case11915Example.zip
        18 kB
        Arran Mccullough
      2. Case11915ExampleWAR.zip
        9.32 MB
        Arran Mccullough

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #33995 Wed Mar 20 16:16:36 MDT 2013 art.zambrano ICE-8910 fix to render options list inside root node so that the list is rendered and sent to the client when using render="@this" in ace:ajax
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #33813 Wed Mar 06 17:30:19 MST 2013 art.zambrano ICE-8910 added a way to distinguish between an item selection and an enter key press in the text field within the valueChange ajax event
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Arran Mccullough
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: