1 Reply Latest reply on Nov 23, 2008 2:49 AM by joblini

    s:validateEquality error message - i18n (feature request)

    joblini

      In line 85 of EqualityValidator, the otherComponentId is added to the message, resulting in something like

      Value does not equal that in 'password'
      (where password is the id of the component)


      Would it be be possible to add the value of the label attribute of the other component when it is present, as is the case with built in JSF validators. 


      This would make more sense to the user viewing the message, and would also facilitate translation of messages.


      ValidatorException(FacesMessages.createFacesMessage(javax.faces.application.FacesMessage.SEVERITY_ERROR, getMessageId(), getMessage(), otherComponentId, value, other));