ICEfaces
  1. ICEfaces
  2. ICE-2618

ice:selectInputText: list is not populated when used inside dataTable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      any

      Description

      using the selectInputText component inside a dataTable causes the following behaviour:

      the ValueChangeListener is invoked for each row in the background, but the list of the autocomplete textfield is not shown even though
      an appropriate value is found. instead the textfield is cleared on each keypress and nothing happens. the DOM update seems to be just fine.

        Issue Links

          Activity

          Hide
          Michael Thiem added a comment -

          demo application showing the behaviour

          Show
          Michael Thiem added a comment - demo application showing the behaviour
          Hide
          Michael Thiem added a comment -

          source code

          Show
          Michael Thiem added a comment - source code
          Hide
          Sam Xiao added a comment -

          the value of inputtext inside data table is not stored when its value not binded to the bean. thus the drop-down list disappeared. Adding the value binding to the selectinputtext fixed the problem confirms that it's the same problem with inputtext.

          Show
          Sam Xiao added a comment - the value of inputtext inside data table is not stored when its value not binded to the bean. thus the drop-down list disappeared. Adding the value binding to the selectinputtext fixed the problem confirms that it's the same problem with inputtext.
          Hide
          Mark Collette added a comment -

          This is a result of how UIData intentionally works. You simply cannot use UIInput/EditableValueHolder components in a UIData without using a ValueBinding/ValueExpression for their value attribute. Check ICE-2610 for more info.

          Show
          Mark Collette added a comment - This is a result of how UIData intentionally works. You simply cannot use UIInput/EditableValueHolder components in a UIData without using a ValueBinding/ValueExpression for their value attribute. Check ICE-2610 for more info.
          Hide
          Michael Thiem added a comment -

          then why don't we use it in the component showcase this way? if users use the component showcase examples as best practice they wonder why they see such strange behaviour even though they applied the best practices.

          Show
          Michael Thiem added a comment - then why don't we use it in the component showcase this way? if users use the component showcase examples as best practice they wonder why they see such strange behaviour even though they applied the best practices.
          Hide
          Mark Collette added a comment -

          Michael, I believe that Patrick is working on updating the component-showcase. If it's doing something wrong, then he's probably the best one to reassign this to.

          Show
          Mark Collette added a comment - Michael, I believe that Patrick is working on updating the component-showcase. If it's doing something wrong, then he's probably the best one to reassign this to.
          Hide
          Ken Fyten added a comment -

          Re-opened. We need to update the Comp. Showcase to use the correct technique.

          Show
          Ken Fyten added a comment - Re-opened. We need to update the Comp. Showcase to use the correct technique.
          Hide
          Patrick Corless added a comment -

          The selectInputController has been update to use best practises. Value binding is used to insure that the selected value is stored and the valueChangeListener is used to update the list of of possibilities. Closing bug unless anyone has an objection and reopens.

          Show
          Patrick Corless added a comment - The selectInputController has been update to use best practises. Value binding is used to insure that the selected value is stored and the valueChangeListener is used to update the list of of possibilities. Closing bug unless anyone has an objection and reopens.

            People

            • Assignee:
              Patrick Corless
              Reporter:
              Michael Thiem
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: