[jboss-user] [JBoss Seam] - Re: Seam 2, pages.xml and pageflow
rlhr
do-not-reply at jboss.com
Wed Aug 1 12:00:57 EDT 2007
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#4069724
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069724
More information about the jboss-user
mailing list