ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-484

Selected value of ace:autoCompleteEntry component does not clear

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA
    • Fix Version/s: EE-3.3.0.GA_P02
    • Component/s: Facelet Components
    • Labels:
      None
    • Environment:
      Windows 7, Internet Explorer 7/8, Websphere Application Server 7.0.0.25, Mojarra 2.1.21

      Description

      In a backing bean, we get the AutoCompleteEntry component and we've attemped to clear the value in the underling HtmlInputText component by calling on the component, but to no avail.

      AutoCompleteEntry comp = (AutoCompleteEntry) FacesContext.getCurrentInstance().getViewRoot().findComponent(...).
      comp.setValue("");
      comp.setSubmittedValue("");
      comp.resetValue();

      Is there an acceptable way to clear the value so that when returning to the form, the input field for the autocomplete is empty? We want to implement a solution without having to resort to Javascript.

        Issue Links

          Activity

          John Dipirro created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Link This issue depends on ICE-9676 [ ICE-9676 ]
          Ken Fyten made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Philip Breau [ philip.breau ] Arturo Zambrano [ artzambrano ]
          Fix Version/s EE-3.3.0.GA_P02 [ 11372 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              John Dipirro
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: