try a from-view-id (change "mypage.jsp" to the real page name):
<navigation-rule>
<from-view-id>/mypage.jsp</from-view-id>
<navigation-case>
<from-outcome>Logout</from-outcome>
<to-view-id>/Logout.jsp</to-view-id>
</navigation-case>
</navigation-rule>
-----Original Message-----
From: Legolas Woodland [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 12:36 AM
To: MyFaces Discussion
Subject: newbee question about navigation.
Thank you for reading my post
I have a button in one of my page which i want the application to navigate
to another page when user pressed that button .
i made the button like the folwoing
<h:commandButton action="Logout" title="Logout" label="Logout"
value="Logout"> </h:commandButton>
and my navigation rule and case is like :
<navigation-rule>
<navigation-case>
<from-outcome>Logout</from-outcome>
<to-view-id>/Logout.jsp</to-view-id>
</navigation-case>
</navigation-rule>
but it never navigate to logout page when i press the button
can you tell me what is wrong ?
Thanks