Hans Reip wrote:
Hi,
I switched from the Sun RI to myFaces. Until today I used the jsf-api.jar
and the jsf-impl.jar in combination with the tomahawk-1.1.3.jar and
everything worked fine.
Now I decided to replace the jsf-api.jar and the jsf-impl.jar with the
myfaces-api-1.1.5.jar and the myfaces-impl-1.1.5.jar. After the replacement
the navigation defined in the faces-config.xml does not work any more. When
I submit a jsp, the same jsp is displayed again instead to navigate to the
other jsp.
What do I do wrong?
When using the myFaces jars do I still need the jsf-impl.jar?
No, you do not need jsf-impl.jar. The file "myfaces-impl-1.1.5.jar" is a
complete replacement.
Note however that tomahawk-1.1.3 and myfaces-1.1.5 are NOT compatible.
You must use a tomahawk nightly build if you want to use the latest
myfaces release.
The usual reason why navigation does not happen is that there is a
validation error in the page; maybe for some reason MyFaces is detecting
a validation error when the RI does not. If you do not have an
h:messages tag in the problem page(s) then I suggest adding one.
I presume you've enabled logging output and checked for any error
messages in the logs....
Regards, Simon