Hi,
I am facing an issue with the
JSF navigation.
I have three
jsp A.jsp, B.jsp and C.jsp
Here is the code for all of them
A.jsp
<h:commandButton value="View" action="view" />
B.jsp
<h:commandButton value="Debug" action="debugmore" />
C.jsp
<h:outputText value="hello"/>
and here is faces-config
<navigation-rule>
<navigation-case>
<from-outcome>view</from-outcome>
<to-view-id>/B.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<navigation-case>
<from-outcome>debugmore</from-outcome>
<to-view-id>/C.jsp</to-view-id>
</navigation-case>
</navigation-rule>
So when I click on the button View on A.jsp it takes me to B.jsp
but when I click on the button Debug in B.jsp it doesn't take me to
C.jsp but it refreshes the B.jsp and show the B.jsp
Any help will be appreciated.
Thanks,
Yogesh