NOTE: For fastest resolution when reporting an issue, please provide attach example project or file *with sources* that reproduces the problem.
What steps will reproduce the problem? 1. Load a webapp with myfaces2.0-beta as JSF runtime 2. Have pretty faces in the classpath
What is the expected output? What do you see instead? MyFaces throws a InstantiationException because the it expect the PrettyNavigationHandler to have a zero argument constructor.
What version of PrettyFaces are you using? On what server and version, version of JSF, and other relevant technologies? 2.0.3
Please provide any additional information below.
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
This sounds like a bug with MyFaces. ViewHandlers are required to accept a ViewHandler in the constructor if you are decorating the built-in ViewHandler.
I'd post this on the MyFaces issue tracker.
But, could you please post a stack trace? I'm interested to take a look myself as well.
Thanks, Lincoln
PS. Please always post a full stack trace if you are getting an exception.
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
Actually this is most likely related to bug #29 - try version 2.0.4-SNAPSHOT
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
Sorry it took so long to respond. I have just tried this with version 2.0.4 and MyFaces 2.0.0-beta-2 and still the same exception. This time I have attach a stack trace :)
Attachments: stacktrace.txt 8.7 KB
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
Looks like you have to use Mojarra 2.0.x or wait for MyFaces to fix this bug, sorry!
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings