You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Hans Reip <sp...@googlemail.com> on 2007/03/13 15:05:26 UTC
Navigation does not work without jsf-impl.jar
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?
Tanks in advance
Regards
Hans
--
View this message in context: http://www.nabble.com/Navigation-does-not-work-without-jsf-impl.jar-tf3396169.html#a9455210
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: [Solved] Navigation does not work without jsf-impl.jar
Posted by Hans Reip <sp...@googlemail.com>.
Hi Simon,
thanks.
However it still does not work. I've switched to a tomahawk nightly built,
I've added a <h:messages> tag, and the logging is also switched on.
It is a very simple example which I took from:
http://www.exadel.com/tutorial/jsf/jsftutorial-kickstart.html
The jsp, the bean, the config-file - everything the same as in the example
(I've just added the tomahawk tld to the jsp-file)
When I click on the submit-button I can see, that the getter Method for my
input-field is invoked in my bean.
Do you have any other suggestions?
Tanks
Regards
Hans
Simon Kitching-3 wrote:
>
>
> 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
>
>
--
View this message in context: http://www.nabble.com/Navigation-does-not-work-without-jsf-impl.jar-tf3396169.html#a9469874
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Navigation does not work without jsf-impl.jar
Posted by Simon Kitching <si...@rhe.co.nz>.
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