For example,
If login fails, we have the code from the demo:
FacesContext facesContext = FacesContext.getCurrentInstance();
FacesMessage facesMessage = new FacesMessage(
“You have entered an invalid user name and/or password.”);
facesContext.addMessage(“loginForm”, facesMessage);
———–
Yet, if the login actually does fail, this message doesn’t display. We just stay on the login page with no message.
How do you get this message to display?
Thanks.
— M