[jboss-user] [JBoss Seam] - Re: How do I deal with exceptions when using the SAF?

gavin.king@jboss.com do-not-reply at jboss.com
Wed Nov 15 16:58:53 EST 2006


You can do stuff like:

   public String persist()
  |    {
  |       if ( ..... ) {
  |           return super.persist();
  |       }
  |       else {
  |           FacesMessages.instance().add("can't persist");
  |           return null;
  |       }
  |    }

Is that OK?

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

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



More information about the jboss-user mailing list