0 Replies Latest reply on Aug 20, 2008 7:41 AM by Dean Hiller

    confusion on navigation elem to-from page

    Dean Hiller Expert

      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" />