ICEfaces
  1. ICEfaces
  2. ICE-8876

ace:autoCompleteEntry, add textChange event, only fire valueChange event on definite inputs

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      Any
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      At the moment, the valueChangeListener method is being fired every time a character is added or deleted from the text field. It even fires when pressing the up/down arrow keys. Instead, the valueChange event should only be triggered when the user gives a more definite input, which can be by either clicking on an option from the list, selecting an option from the list with the keyboard, or pressing the enter key on the text field. Additionally, a textChange event should be added, which will be triggered whenever the contents of the text field change before the user makes a clear decision about what the value of this component should be.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33243 Fri Jan 25 18:01:31 MST 2013 art.zambrano ICE-8876 added 'valueChange' and 'textChange' ajax events; changed definition of these events; prevented submission when pressing function keys;
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryMeta.java
        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 #33217 Thu Jan 24 14:51:36 MST 2013 art.zambrano ICE-8876 adding new TextChangeEvent, missing from previous commit
        Files Changed
        Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/event/TextChangeEvent.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33216 Thu Jan 24 14:46:13 MST 2013 art.zambrano ICE-8876 updated laxy load demo to use the new text change event instead of the value change event; re-added ajax blur event to demos that use 'required'
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/autocompleteentry/autoCompleteEntryIndicator.xhtml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/autocompleteentry/AutoCompleteEntryLazyBean.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/autocompleteentry/autoCompleteEntryReqStyle.xhtml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/autocompleteentry/autoCompleteEntryLazy.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33214 Thu Jan 24 14:38:25 MST 2013 art.zambrano ICE-8876 added textChangeListener attribute and TextChangeEvent; modified behaviour so a 'tab' keypress doesn't submit a request, matching h:inputText behaviour (unless there's an ajax blur event); fixed behaviour to prevent the bridge from submitting an additional request when pressing 'enter' when there is a submit ajax event; fixed issue with not displaying the list when pressing the arrow keys when there is a submit ajax event
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryMeta.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntry.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33192 Wed Jan 23 19:05:40 MST 2013 art.zambrano ICE-8876 modified behaviour of valueChangeListener to fire only when the user gives a definite input
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryMeta.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryRenderer.java

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: