[jboss-user] [JBoss Seam] - Re: Problem about EntityManager.

tmini do-not-reply at jboss.com
Tue May 29 14:03:35 EDT 2007


If you want to produce different (more specific) failure messages from your authentication bean, you can add the faces message(s) in the bean and blank out the seam login failed message.

if (isUsernameMissing) {
  |   FacesMessages.instance().add("Username does not exist.");
  | } else {
  |   FacesMessages.instance().add("Invalid password provided");
  | }

org.jboss.seam.loginFailed=

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049479#4049479

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049479



More information about the jboss-user mailing list