3 Replies Latest reply: Aug 30, 2013 11:07 AM by 1036845 Branched from an earlier discussion. RSS

    Re: ViewScope are not recognized in runtime

    1036845

      "This is as designed. Each task flow has its own backingBean/view/pageFlow scope area, so you may need to defined them within the taskflow where they are being used. However request/session/application scopes are common across application, so these beans can be consumed from taskflow even if the defn is in adfc-config.xml."

       

      Then that raises the question how come we can define a bean with scope view or pageflow in adfc-config.xml if they will not be available at runtime. The documentation also state "Managed bean can be of any scope" in adfc-config.xml

        • 1. Re: ViewScope are not recognized in runtime
          kdario

          Then that raises the question how come we can define a bean with scope view or pageflow in adfc-config.xml if they will not be available at runtime. The documentation also state "Managed bean can be of any scope" in adfc-config.xml

          Why you think that view and pageFlowScope can't be used inside of adf-config.xml ?

          View scope is related to particular page regardless if this is page in bounded or unbounded taskflow.

          In this case, scope of pageFlow bean is entire unbounded taskflow.

           

          Dario

          • 2. Re: ViewScope are not recognized in runtime
            Frank Nimphius-Oracle

            Then that raises the question how come we can define a bean with scope view or pageflow in adfc-config.xml if they will not be available at runtime. The documentation also state "Managed bean can be of any scope" in adfc-config.xml

             

            adfc-config is the configuration for the unbound task flow. This task flow may have views and other activities that can work with view scope, pageFlow scope and backing bean scope beans. This is why.

             

            Frank

            • 3. Re: ViewScope are not recognized in runtime
              1036845

              Perfect. Thats what I was missing. Thanks Frank.