Did you try to decorate the default ActionListener? does that help anything?

regards,

Martin

On 12/14/06, Stefan Neumann <[EMAIL PROTECTED]> wrote:
OK, I know too much unnecessary information :-D

I kept trying and I solved some exceptions. I can handle exceptions in
actionListener methods by the custom FacesServlet way and I can handle
any EvaluationExceptions with an custom PropertyResolver delegater.

But I really cannot handle action method exceptions. I've already seen,
that the "common" way should be like

public string myAction(){
    try{
        //do something
        return "success";
    }catch (Throwable e){
        return "error";
    }
}

Is there a diffrent approach to handle these exceptions in one single
place. It would keep things maintainable, if you want to keep track of
these errors and not only redirect to another page.

Thanks in advance

Stefan



--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to