|
Hi, thanks for the reply. the wording of my question was a little bit off. I was looking for an automatic way for Exceptions that were thrown in any action method to automatically be added as a message (instead of the horrible error screens i get from facelets at the moment). The only other option other than an automatic method would be to wrap a try-catch around all the code of every action I have and generate a message when an exception is caught. Sounds like that might have to be the way I do it. Thanks anyway, -Robert. Volker Weber wrote: Hi, you can add a Message to FacesContect.See: http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/api/javax/faces/context/FacesContext.html#addMessage(java.lang.String,%20javax.faces.application.FacesMessage) regards Volker Robert Parsons wrote: |
- Re: Cause exceptions from action methods to generate m... Robert Parsons
- Re: Cause exceptions from action methods to gener... Mike Kienenberger
- Re: Cause exceptions from action methods to g... Mathias Brökelmann
- Re: Cause exceptions from action methods ... Robert Parsons
- Re: Cause exceptions from action methods ... Mike Kienenberger
- Re: Cause exceptions from action meth... Mathias Brökelmann
- Re: Cause exceptions from action... Tim Davies
- Re: Cause exceptions from ac... Robert Parsons
- Re: Cause exceptions fro... Tim Davies
- Re: Cause exceptions fro... Robert Parsons
- Re: Cause exceptions fro... Tim Davies

