ICEfaces
  1. ICEfaces
  2. ICE-3377

SelectInputText use SelectItem.value

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.7.1
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      It looks like when you click on a SelectItem from the popup list of the selectInputText, that the label becomes the submitted value. Probably the SelectItem's value should be the submitted value. This should be investigated, in regards to using Converters, to align it with how other SelectItem base component work.

        Issue Links

          Activity

          Mark Collette created issue -
          Hide
          Ken Fyten added a comment -

          Requires review.

          Show
          Ken Fyten added a comment - Requires review.
          Ken Fyten made changes -
          Field Original Value New Value
          Fix Version/s 1.8DR#2 [ 10142 ]
          Assignee Mark Collette [ mark.collette ]
          Mark Collette made changes -
          Link This issue is duplicated by ICE-2825 [ ICE-2825 ]
          Mark Collette made changes -
          Link This issue blocks ICE-3734 [ ICE-3734 ]
          Hide
          Mark Collette added a comment -

          One potential solution would be to provide a utility Converter, which would be able to set the SelectItem's value into the bean, without having to use helper bean code or a component binding.

          Show
          Mark Collette added a comment - One potential solution would be to provide a utility Converter, which would be able to set the SelectItem's value into the bean, without having to use helper bean code or a component binding.
          Mark Collette made changes -
          Workaround Description In the valueChangeListener, get a reference to the SelectInputText component, and call getSelectedItem().getValue() on it.
          Workaround Exists [Yes]
          Salesforce Case []
          Ken Fyten made changes -
          Fix Version/s 1.8DR#2 [ 10142 ]
          Assignee Mark Collette [ mark.collette ]
          Sam Xiao made changes -
          Salesforce Case [50070000007cU2M]
          Ken Fyten made changes -
          Fix Version/s 2.0 [ 10032 ]
          Hide
          Ken Fyten added a comment -

          Too late to change this for the existing 1.8 component. The new IF 2.0 autoComplete should adopt the suggested approach, however.

          Show
          Ken Fyten added a comment - Too late to change this for the existing 1.8 component. The new IF 2.0 autoComplete should adopt the suggested approach, however.
          Ken Fyten made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 2.0-Alpha3 [ 10032 ]
          Resolution Won't Fix [ 2 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Mark Collette
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: