Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.3
-
Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02
-
Component/s: ACE-Components
-
Labels:None
-
Environment:JBoss EAP 6
-
Assignee Priority:P2
-
Salesforce Case Reference:
Description
I have an ace:autoCompleteEntry tag configured in the following manner:
<ace:autoCompleteEntry value="#{backingBean.formData.acctNbr}"
required="true"
size="8"
rows="10"
filterMatchMode="none"
filterBy="#{acc.acctNbr}"
listVar="acc"
listValue="#{backingBean.accNumList}"
textChangeListener="#{backingBean.accNumTextChange}"
rendered="#{backingBean.viewMode == 'ADDACC'}"
disabled="#{!crViewHeaderController.draftCr or backingBean.formData.removeFromCr == 'Y'}">
<f:facet name="row">
<h:panelGrid columns="2" width="100%" styleClass="rglrPnlTb">
<h:outputText value="#{acc.acctNbr}" />
<h:outputText value="#{acc.acctName}" />
</h:panelGrid>
</f:facet>
<f:validator validatorId="accnum.validator" />
<ace:ajax render="@form :#{tabId}CurrentRow" listener="#{backingBean.accNumValueChange}"/>
</ace:autoCompleteEntry>
When the user types text into the field and tabs out, validation does not take place (customer validator <f:validator validatorId="accnum.validator" />). The textchangelistener and ajax listener execute.
When the enter key is pressed, everything works as expected. Tabbing out of the field should produce the same results as hitting the enter key.
<ace:autoCompleteEntry value="#{backingBean.formData.acctNbr}"
required="true"
size="8"
rows="10"
filterMatchMode="none"
filterBy="#{acc.acctNbr}"
listVar="acc"
listValue="#{backingBean.accNumList}"
textChangeListener="#{backingBean.accNumTextChange}"
rendered="#{backingBean.viewMode == 'ADDACC'}"
disabled="#{!crViewHeaderController.draftCr or backingBean.formData.removeFromCr == 'Y'}">
<f:facet name="row">
<h:panelGrid columns="2" width="100%" styleClass="rglrPnlTb">
<h:outputText value="#{acc.acctNbr}" />
<h:outputText value="#{acc.acctName}" />
</h:panelGrid>
</f:facet>
<f:validator validatorId="accnum.validator" />
<ace:ajax render="@form :#{tabId}CurrentRow" listener="#{backingBean.accNumValueChange}"/>
</ace:autoCompleteEntry>
When the user types text into the field and tabs out, validation does not take place (customer validator <f:validator validatorId="accnum.validator" />). The textchangelistener and ajax listener execute.
When the enter key is pressed, everything works as expected. Tabbing out of the field should produce the same results as hitting the enter key.
Assigning to Art with Ken's approval.