3 Replies Latest reply on Mar 14, 2007 10:09 PM by Shane Bryzak

    FacesMessages in SeamSpace example

    tim chan Newbie

      I'm looking at the SeamSpace example and there is one line in RegisterAction.java that I have questions about.


      FacesMessages.instance().add("confirmPassword", "Passwords do not match");


      When I purposefully input in different passwords in the registration screen, I get "confirmPassword" in red, up top, instead my expectation of "Passwords do not match" in the area adjacent to the confirm password field.

      What is the proper behavior? Is it possible to send a message to a specific form field instead of a global message?