[jboss-user] [JBoss Seam] - Re: problem in login.seam

swd847 do-not-reply at jboss.com
Wed Oct 10 02:49:25 EDT 2007


The code in question looks like:


  |  protected void notLoggedIn()
  |    {
  |       Events.instance().raiseEvent("org.jboss.seam.notLoggedIn");
  |       
  |       FacesMessages.instance().addFromResourceBundleOrDefault( 
  |             FacesMessage.SEVERITY_WARN, 
  |             "org.jboss.seam.NotLoggedIn", 
  |             "Please log in first" 
  |          );
  |    }
  | 

So there is no way to stop something being added to the faces messages.

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

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



More information about the jboss-user mailing list