Re: Problem with DynaView – Seam 2.2.0

Splash Forums PrettyFaces Users Problem with DynaView – Seam 2.2.0 Re: Problem with DynaView – Seam 2.2.0

#22150

MethodExpression is part of the EL API. Your application server ships with an implementation.

My guess is that your dynaview method throws some kind of exception. You could use a simple trick to find out what exception is thrown by wrapping the code of your dynaview method in a try catch block. Something like:

public String getViewPath() {

try {

// dynaview code

} catch(Exception e) {
e.printStackTrace();
return null;
}

}

I know this is dirty. But if there is an exception you will see it! :)