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

          Michael Thiem created issue -
          Michael Thiem made changes -
          Field Original Value New Value
          Support Case References https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4529
          Hide
          Michael Thiem added a comment -

          demo application showing the behaviour

          Show
          Michael Thiem added a comment - demo application showing the behaviour
          Michael Thiem made changes -
          Attachment Test_SelectInputText.war [ 10776 ]
          Hide
          Michael Thiem added a comment -

          source code

          Show
          Michael Thiem added a comment - source code
          Michael Thiem made changes -
          Attachment Test_SelectInputText.rar [ 10777 ]
          Michael Thiem made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          Ken Fyten made changes -
          Fix Version/s 1.7 [ 10080 ]
          Assignee Priority P1
          Assignee Yip Ng [ yip.ng ]
          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.
          Sam Xiao made changes -
          Link This issue depends on ICE-2610 [ ICE-2610 ]
          Ken Fyten made changes -
          Assignee Priority P1
          Assignee Yip Ng [ yip.ng ] Mark Collette [ mark.collette ]
          Ken Fyten made changes -
          Fix Version/s 1.7Beta1 [ 10121 ]
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Assignee Priority P1
          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.
          Mark Collette made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Invalid [ 6 ]
          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.
          Ken Fyten made changes -
          Priority Critical [ 2 ] Major [ 3 ]
          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.
          Ken Fyten made changes -
          Resolution Invalid [ 6 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Affects [Sample App./Tutorial]
          Assignee Priority P1
          Assignee Mark Collette [ mark.collette ] Patrick Corless [ patrick.corless ]
          Ken Fyten made changes -
          Fix Version/s 1.7 [ 10080 ]
          Fix Version/s 1.7Beta1 [ 10121 ]
          Affects Version/s 1.7DR#3 [ 10112 ]
          Affects Version/s 1.7DR#2 [ 10110 ]
          Affects Version/s 1.7DR#1 [ 10100 ]
          Affects Version/s 1.6.2 [ 10111 ]
          Ken Fyten made changes -
          Assignee Priority P2
          Ken Fyten made changes -
          Assignee Priority P2 P1
          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.
          Patrick Corless made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: