ICEfaces
  1. ICEfaces
  2. ICE-8640

ace:autoCompleteEntry - Add a client side only functionality

    Details

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

      Description


      Feature Request: Add an option for the ace:autoCompleteEntry to handle everything on the client-side. This would allow quick processing of items when a server-side round trip is not required. For this a set list of items could be sent in at page load.

      This would prevent the cases where there is a delay in the server-side updates which can cause typed in entries to be missed.

        Activity

        Hide
        Arturo Zambrano added a comment -

        Committed change for lazy initialization of the component to the trunk at revision 32561.

        Committed client-side mode feature to the trunk at revision 32617.

        Show
        Arturo Zambrano added a comment - Committed change for lazy initialization of the component to the trunk at revision 32561. Committed client-side mode feature to the trunk at revision 32617.
        Hide
        Arturo Zambrano added a comment -

        Marking issue as solved.

        Made commit to trunk at revision 32634 to modify the ajax behaviour of the component when in client-side mode. The behaviour matches that of h:inputText.

        When there's a valueChangeListener, it is only fired after a full form submission. No requests are made to the server as the user types or selects an item from the list.

        When the component has an ace:ajax tag, a request will be made to the server. However, all the filtering logic will be done in the client.

        If the 'enter' key is pressed on the text field, a request will be made (this is what happens even on plain <input type="text" /> HTML elements.

        Show
        Arturo Zambrano added a comment - Marking issue as solved. Made commit to trunk at revision 32634 to modify the ajax behaviour of the component when in client-side mode. The behaviour matches that of h:inputText. When there's a valueChangeListener, it is only fired after a full form submission. No requests are made to the server as the user types or selects an item from the list. When the component has an ace:ajax tag, a request will be made to the server. However, all the filtering logic will be done in the client. If the 'enter' key is pressed on the text field, a request will be made (this is what happens even on plain <input type="text" /> HTML elements.
        Hide
        Arturo Zambrano added a comment -

        Modified the name of the attribute to just 'clientSide' at revision 32672.

        Show
        Arturo Zambrano added a comment - Modified the name of the attribute to just 'clientSide' at revision 32672.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: