Hi Conway,
Thanks very much for your help, IT WORKED !!
Two things:
1 - When I copied the example in the e-mail
I thought: What if I put it at the end ?
I told me: No its stupid it has nothing to do
Good lesson: Try all solutions no matter how
trivial they look like.
2 - Of course this is not how faces Navigation
Algorithm should work, at least what
Core JAVA SERVER FACES describes.
It's ok for my application, but it will cause
a lot of trouble to many others.
Thanks again
tonio.
On Thu, 2006-02-09 at 09:29 +, Conway. Fintan (IT Solutions) wrote:
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-outcomeindex/from-outcome
to-view-id/index.jsp/to-view-id
/navigation-case
navigation-case
from-outcomestateSignout/from-outcome
to-view-id/PageSignout.jsp/to-view-id
/navigation-case
navigation-case
from-outcomestateInqCriteria/from-outcome
to-view-id/PageQuoteSearchCrit.jsp/to-view-id
/navigation-case
navigation-case
from-outcomestateInqList/from-outcome
to-view-id/PageInquirySearchLst.jsp/to-view-id
/navigation-case
navigation-case
from-outcomestatePnowEntry/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.
* ** *** ** * ** *** ** * ** *** ** *