ICEfaces
  1. ICEfaces
  2. ICE-9216

ace:comboBox - Add support for input elements in the row facet

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P2
    • Salesforce Case Reference:

      Description

      Feature Request: Add support for adding input elements (inputText, commandButton) to the facet section of the ace:comboBox.

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000T6BllAAF
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s 3.4 [ 10770 ]
        Assignee Priority P2 [ 10011 ]
        Hide
        Arturo Zambrano added a comment -

        Should we trigger the ajax blur event when focusing a focusable element inside the drop-down list?
        When a focusable element inside the drop-down list receives focus, the main text field loses it, and if an ajax blur event is registered, we could either fire it or not. If we do, this would cause a request, which in turn could cause a page update and closing the list while the user may be actually intending to interact with the focusable element inside the list. So, I would say no, we shouldn't fire it in this situation, but it's still subject to discussion.

        Show
        Arturo Zambrano added a comment - Should we trigger the ajax blur event when focusing a focusable element inside the drop-down list? When a focusable element inside the drop-down list receives focus, the main text field loses it, and if an ajax blur event is registered, we could either fire it or not. If we do, this would cause a request, which in turn could cause a page update and closing the list while the user may be actually intending to interact with the focusable element inside the list. So, I would say no, we shouldn't fire it in this situation, but it's still subject to discussion.
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA [ 10572 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35875 Tue Jun 04 13:34:35 MDT 2013 art.zambrano ICE-9216 fix to avoid hiding the drop-down list of results when input and focusable elements inside that list receive focus
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/combobox/combobox.js
        Hide
        Arturo Zambrano added a comment -

        Committed fix at revision 35875. Added a check on the click event to see if a focusable element triggered the event (or some other element contained by a focusable element like an link or a button) and in such case prevent selecting the item, which in turn prevents sending a request to the server and hiding the list.

        Focusing an element inside the list will NOT trigger an ajax blur request (if defined).

        Show
        Arturo Zambrano added a comment - Committed fix at revision 35875. Added a check on the click event to see if a focusable element triggered the event (or some other element contained by a focusable element like an link or a button) and in such case prevent selecting the item, which in turn prevents sending a request to the server and hiding the list. Focusing an element inside the list will NOT trigger an ajax blur request (if defined).
        Hide
        Arturo Zambrano added a comment -

        Applied the same fix to ace:autoCompleteEntry and ace:selectMenu at revision 35883.

        Show
        Arturo Zambrano added a comment - Applied the same fix to ace:autoCompleteEntry and ace:selectMenu at revision 35883.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35883 Tue Jun 04 14:59:18 MDT 2013 art.zambrano ICE-9216 applied same fix to ace:autoCompleteEntry and ace:selectMenu
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/selectmenu/selectmenu.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35889 Tue Jun 04 16:09:36 MDT 2013 art.zambrano ICE-9216 fix to hide the drop-down list when a focusable element inside of it is blurred by focusing another element outside this component
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/selectmenu/selectmenu.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/combobox/combobox.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Hide
        Arturo Zambrano added a comment -

        Committed another fix at revision 35889. When focusing an inner element, the drop-down list stayed open when clicking outside of the list and of the main text field of the component. So, this fix is to hide the drop-down list when a focusable element inside of it is blurred by focusing another element outside this component.

        Show
        Arturo Zambrano added a comment - Committed another fix at revision 35889. When focusing an inner element, the drop-down list stayed open when clicking outside of the list and of the main text field of the component. So, this fix is to hide the drop-down list when a focusable element inside of it is blurred by focusing another element outside this component.
        Hide
        Liana Munroe added a comment -

        Confirmed EE 3.3.0 GA Build 13

        Show
        Liana Munroe added a comment - Confirmed EE 3.3.0 GA Build 13
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: