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

        Hide
        Brad Kroeger added a comment -

        Assigning to Art with Ken's approval.

        Show
        Brad Kroeger added a comment - Assigning to Art with Ken's approval.
        Hide
        Ken Fyten added a comment -

        Marked Cannot Reproduce. Brad, please review Art's comments and re-open if necessary.

        Show
        Ken Fyten added a comment - Marked Cannot Reproduce. Brad, please review Art's comments and re-open if necessary.
        Hide
        Brad Kroeger added a comment -

        This was due to the appropriate js not being included in the application. The js was in the icefaces-compat.jar and the application I am testing does not use that jar.

        Mircea has backported the fix for this into the client branch and I have confirmed it resolved the issue.

        Show
        Brad Kroeger added a comment - This was due to the appropriate js not being included in the application. The js was in the icefaces-compat.jar and the application I am testing does not use that jar. Mircea has backported the fix for this into the client branch and I have confirmed it resolved the issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: