One thing that is very confusing is the default navigation rules are executed when coming into the page and when leaving the page. The rule at the bottom is particularly confusing. Is there a way to make the rule if statement be executed only when coming to the page(ie. when one leaves the page, do NOT execute the rule and do NOT even check if isSomething)???
<page view-id="/page.xhtml"> <navigation > <rule if="#{something.isSomething()}"> <redirect view-id="/secure/mylist/mylist.xhtml" /> </rule> </navigation> </page>