ICEfaces
  1. ICEfaces
  2. ICE-9638

ace:autoCompleteEntry with ace:ajax - Validation not Triggered from Tab out of Input Field

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        There are no subversion log entries for this issue yet.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: