4 Replies Latest reply on Oct 6, 2013 3:23 PM by ed07c977-7e5d-4bb5-931d-d7968aff0bc8

    JSF 2.2 Navigating to a flow using a navigation rule issue.


      I am trying to use a navigation rule to enter a jsf2.2 flow.  The rule works and redirects me to the flow start view; however, i get the following error:


      WELD-001303 No active contexts for scope type javax.faces.flow.FlowScoped


      This is my navigation rule in the faces-config.xml:










      This is my flow definition:

      <flow-definition id="exampleFlow">

              <flow-return id="exit">





      This is my directory structure:








      I have no issues if I enter the flow using the following:

      <h:link value="Enter Flow" outcome="exampleFlow"/>


      Any ideas on how to do enter a flow using a navigation rule?