Hi Tony,

I am not an expert, but have you tried moving the default rule to the
end of the list?

Otherwise you could specify some from-view-id's in your
navigation-case's?

HTH,

Fintan

-----Original Message-----
From: Tonio Caputo [mailto:[EMAIL PROTECTED] 
Sent: 08 February 2006 21:28
To: MyFaces-Users-List
Subject: NavigationHandler fails to find navigation rule


Hi,

 I implemented a custom NavigationHandler, that just do
some stuff and them call the default Implementation.

 The application is running correctly with Sun Faces implementation.

 What is happening is that NavigationHandler is not
matching any rule and always going to the 
default rule. 

 I've checked the outcome parameter, it is correct.
 I've checked that my Navigation Handler is called, yes.

 I send you a portion if my navigation configuration
to see if it helps:

  <navigation-rule>

    <navigation-case>
      <!--  This is the default destination  -->
      <to-view-id>/PageSessionExpired.jsp</to-view-id>
    </navigation-case>

    <navigation-case>
      <from-outcome>index</from-outcome>
      <to-view-id>/index.jsp</to-view-id>
    </navigation-case>

    <navigation-case>
      <from-outcome>stateSignout</from-outcome>
      <to-view-id>/PageSignout.jsp</to-view-id>
    </navigation-case>

    <navigation-case>
      <from-outcome>stateInqCriteria</from-outcome>
      <to-view-id>/PageQuoteSearchCrit.jsp</to-view-id>
    </navigation-case>

    <navigation-case>
      <from-outcome>stateInqList</from-outcome>
      <to-view-id>/PageInquirySearchLst.jsp</to-view-id>
    </navigation-case>

    <navigation-case>
      <from-outcome>statePnowEntry</from-outcome>
      <to-view-id>/PagePriceNow.jsp</to-view-id>
    </navigation-case>

   ........


Any Ideas will be great
Thanks
tonio


* ** *** ** * ** *** ** * ** *** ** * 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. 
Any views or opinions presented are solely those of the author, and do not 
necessarily 
represent those of ESB. 
If you have received this email in error please notify the sender. 
 
Although ESB scans e-mail and attachments for viruses, it does not guarantee 
that either are virus-free and accepts no liability for any damage sustained 
as a result of viruses. 
 
* ** *** ** * ** *** ** * ** *** ** *

Reply via email to