Thanks Pete. I actually tries all the following variant in pages.xml with no success:
1:
| <page view-id="/animalPage.xhtml">
| <navigation evaluate="#{navigation.outcome}">
|
| ...
|
where #{navigation.outcome} returns outcome
-> redirection to /animalPage.xhtml (which doesn't exist) because evaluate EL
expression is never called
2:
| <page view-id="/animalPage.xhtml"
action="#{navigation.animalOutcome}">
| <navigation evaluate="#{navigation.outcome}">
| ...
|
where #{navigation.animalOutcome} returns void and #{navigation.outcome} returns outcome
-> We enter a loop where action expression is called then evaluate expression is
called, etc....
3:
| <page view-id="/animalPage.xhtml"
action="#{navigation.animalOutcome}">
| <navigation from-action="#{navigation.animalOutcome}">
| ...
|
where #{navigation.animalOutcome} returns outcome
-> We enter a loop where action expression is called indefinitely
4:
| <page view-id="/animalPage.xhtml"
action="#{navigation.animalOutcome}">
| <navigation>
| ...
|
where #{navigation.animalOutcome} returns outcome
-> We enter a loop where action expression is called indefinitely
I will try to debug each situation to find out what's going on. I did in one case
without success. Maybe other case will help me understand better where lies the problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069724#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...