Details
-
Type:
Bug
-
Status: Closed
-
Priority:
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.
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
- blocks
-
IPCK-484 Selected value of ace:autoCompleteEntry component does not clear
-
- Closed
-
Activity
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. |
Assignee | Arturo Zambrano [ artzambrano ] |
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"/> ] |
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. |
Fix Version/s | 4.0 [ 10770 ] | |
Fix Version/s | EE-3.3.0.GA_P02 [ 11371 ] | |
Assignee Priority | P1 [ 10010 ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #38762 | Fri Nov 08 13:36:37 MST 2013 | art.zambrano | |
Files Changed | ||||
![]() |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Salesforce Case Reference | 5007000000UaCTLAA3 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #38807 | Mon Nov 18 13:15:09 MST 2013 | art.zambrano | |
Files Changed | ||||
![]() |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #39047 | Thu Nov 28 14:23:58 MST 2013 | art.zambrano | |
Files Changed | ||||
![]() ![]() ![]() |
Fix Version/s | 4.0 [ 11382 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
In the showcase ace:autoCompleteEntryLazy.xhtml I have the component configured as follows:
<ace:autoCompleteEntry id="autoCompleteEntryLazy"
{autoCompleteEntryLazyBean.selectedText}value="#
"
{autoCompleteEntryLazyBean.cities}rows="10" width="300"
filterMatchMode="none"
listVar="city"
listValue="#
"
{city.name}"filterBy="#
textChangeListener="#{autoCompleteEntryLazyBean.textChangeEventHandler}"
label="Cities of the World:"
labelPosition="left"
valueChangeListener="#{autoCompleteEntryLazyBean.cityValueChange}">
<f:facet name="row">
<h:panelGrid columns="2" width="100%" columnClasses="col50,col25">
<h:outputText value="#{city.name}
" />
{city.country}<h:outputText value="#
" />
</h:panelGrid>
</f:facet>
<ace:ajax execute="@form" render="@form" event="submit"/>
<ace:ajax execute="@form" render="@form" event="blur"/>
</ace:autoCompleteEntry>
I add the following to the page:
{autoCompleteEntryLazyBean.clearBeanValue}<h:commandButton value="Clear Bean Value"
actionListener="#
" />
And the corresponding bean code:
{ selectedText = null; }public void clearBeanValue(ActionEvent ae)
When I press the button to clear the value, I see the response code for the component with an empty String ''. However, the component still retains it's old value in the UI. If you switch from another demo back to 'Lazy Loading' you will see the old value still in the UI.