ICEfaces
  1. ICEfaces
  2. ICE-9676

ace:autoCompleteEntry Temporary Text value Overriding Component Value

    Details

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

      Description

      In the client application, the ace:autoCompleteEntry tag value is being set appropriately and then the user is changing the page content to another include. Upon returning to the original include with the ace:autoCompleteEntry, the value bound to the component is reset in the bean. However, the component is dislaying the previously entered (temporary text) value.

      With direction from Art, I replaced the ace:autoCompleteEntry component with the ace:comboBox component and was not able to reproduce the issue. This suggests the problem is with the temporary text value unique to the ace:autoCompleteEntry component.

        Issue Links

          Activity

          Brad Kroeger created issue -
          Brad Kroeger made changes -
          Field Original Value New Value
          Description In the client application, the ace:autoCompleteEntry tag value is being set appropriately and then the user is changing the page content to another include. Upon returning to the original include with the ace:autoCompleteEntry, the value bound to the component is reset in the bean. However, the component is dislaying the previously entered (temporary text) value.

          Another manifestation of this issue that when a user enters a value in the component and then backs out the text so there is nothing in the field, the value is set to an empty String on the server but the UI still displays the previous value. When there is a blur event out of that field, the valueChangeListener is executed on the server, resetting in the value of the component being reset to the temporary String that was still being displayed in the UI.

          With direction from Art, I replaced the ace:autoCompleteEntry component with the ace:comboBox component and was not able to reproduce the issue. This suggests the problem is with the temporary text value unique to the ace:autoCompleteEntry component.
          In the client application, the ace:autoCompleteEntry tag value is being set appropriately and then the user is changing the page content to another include. Upon returning to the original include with the ace:autoCompleteEntry, the value bound to the component is reset in the bean. However, the component is dislaying the previously entered (temporary text) value.

          Another manifestation of this issue that when a user enters a value in the component and then backs out the text so there is nothing in the field, the value is set to an empty String on the server but the UI still displays the previous value. When there is a blur event out of that field, the valueChangeListener is executed on the server, resetting in the value of the component to the temporary String that was still being displayed in the UI.

          With direction from Art, I replaced the ace:autoCompleteEntry component with the ace:comboBox component and was not able to reproduce the issue. This suggests the problem is with the temporary text value unique to the ace:autoCompleteEntry component.
          Brad Kroeger made changes -
          Assignee Arturo Zambrano [ artzambrano ]
          Brad Kroeger made changes -
          Comment [ You should be able to re-create the backing out issue by adding the following to the autoCompleteEntryLazy.xhtml file in the showcase:

          Create a valueChangeListener for the tag:
          valueChangeListener="#{autoCompleteEntryLazyBean.cityValueChange}"

          Nest ace:ajax in the tag:
          <ace:ajax execute="@this" render="@form" event="blur"/> ]
          Brad Kroeger made changes -
          Description In the client application, the ace:autoCompleteEntry tag value is being set appropriately and then the user is changing the page content to another include. Upon returning to the original include with the ace:autoCompleteEntry, the value bound to the component is reset in the bean. However, the component is dislaying the previously entered (temporary text) value.

          Another manifestation of this issue that when a user enters a value in the component and then backs out the text so there is nothing in the field, the value is set to an empty String on the server but the UI still displays the previous value. When there is a blur event out of that field, the valueChangeListener is executed on the server, resetting in the value of the component to the temporary String that was still being displayed in the UI.

          With direction from Art, I replaced the ace:autoCompleteEntry component with the ace:comboBox component and was not able to reproduce the issue. This suggests the problem is with the temporary text value unique to the ace:autoCompleteEntry component.
          In the client application, the ace:autoCompleteEntry tag value is being set appropriately and then the user is changing the page content to another include. Upon returning to the original include with the ace:autoCompleteEntry, the value bound to the component is reset in the bean. However, the component is dislaying the previously entered (temporary text) value.

          With direction from Art, I replaced the ace:autoCompleteEntry component with the ace:comboBox component and was not able to reproduce the issue. This suggests the problem is with the temporary text value unique to the ace:autoCompleteEntry component.
          Ken Fyten made changes -
          Fix Version/s 4.0 [ 10770 ]
          Fix Version/s EE-3.3.0.GA_P02 [ 11371 ]
          Assignee Priority P1 [ 10010 ]
          Arturo Zambrano made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Brad Kroeger made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Brad Kroeger made changes -
          Salesforce Case Reference 5007000000UaCTLAA3
          Arturo Zambrano made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Link This issue blocks IPCK-484 [ IPCK-484 ]
          Ken Fyten made changes -
          Fix Version/s 4.0 [ 11382 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Brad Kroeger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: