ICEfaces
  1. ICEfaces
  2. ICE-9427

ace:comboBox - Issues when SelectItem label and value don't match

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.2.0.GA, EE-3.3.0.GA
    • Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P1
    • Salesforce Case Reference:
    • Affects:
      Compatibility/Configuration

      Description

      There are a few issues when using the ace:comboBox with a list of SelectItem objects where the label and value objects are not the same. In this scenario, the label is the descriptive element which should be shown on the UI. The value is set as a database key, which is represented by a number.

      The following issues are seen:
       - The drop down shows the correct descriptions, but when selecting via the mouse/keyboard the 'value' is shown as selected not the label.
       - When typing into the input field, the 'auto complete' functionality does not work. The option typed in does not get highlighted in the drop down.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #37329 Wed Aug 07 16:41:48 MDT 2013 art.zambrano ICE-9427 added CSS classes for ignoring parts of the label text when displaying it in the text field
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/combobox/comboBoxFacet.xhtml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #37283 Wed Jul 31 12:18:27 MDT 2013 art.zambrano ICE-9427 added check to return a valid option item node in getEntryFromContent() function
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/combobox/combobox.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #37251 Fri Jul 26 14:33:11 MDT 2013 art.zambrano ICE-9427 fixed issue with the value not persisting at first selection
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/combobox/combobox.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #37230 Thu Jul 25 16:04:58 MDT 2013 art.zambrano ICE-9427 added CSS classes for ignoring parts of the label text when displaying it in the text field
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/combobox/comboBoxFacet.xhtml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #37222 Thu Jul 25 09:29:43 MDT 2013 art.zambrano ICE-9427 ace:comboBox - Issues when SelectItem label and value don't match... fixed
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/combobox/ComboBoxRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/combobox/combobox.js

            People

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

              Dates

              • Created:
                Updated:
                Resolved: