Details
-
Type:
Bug
-
Status: Closed
-
Priority:
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.
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
- depends on
-
ICE-9676 ace:autoCompleteEntry Temporary Text value Overriding Component Value
-
- Closed
-
Activity
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 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |