1 Reply Latest reply on Mar 2, 2013 6:01 PM by dvohra21

    While passing the parameter b/w  the BTF  getting cyclic reference to bean

    Rajashekar Thippireddy
      Hi,

      i have two task flows each having one jspx page.

      -->taskflow1 has pageA.jspx view with countries table,after selecting any row , if i select a button that should pass the selected country name to Tasflow2(i am setting the value to bean by using setProperylistener). i used Tasflow2 as a taskflow call in taskflow1.
      --> I created a managed bean , to hold the selected country name in view scope.
      -->i have aded selectedContryName as return property in Taskflow1.(value as #{viewScope.pageABean.selectedCountry}, class type String )

      -->in task flow call i have given input propety selectedContryName .(value as #{pageFlowScope.selectedContryName}, and clicked pass by value)

      -->i have defined output text property( #{pageFlowScope.selectedContryName}) in page2.jspx which is in taskflow2 .

      I am getting the following error when i click the button.

      javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10007: A possible cyclic reference to managed bean 'pageABean' is detected.
           at oracle.adfinternal.controller.util.Utils.createAndLogFacesException(Utils.java:197)
           at oracle.adfinternal.controller.beans.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:174)
           at oracle.adfinternal.controller.beans.ManagedBeanFactory.instantiateBean(ManagedBeanFactory.java:901)