This discussion is archived
1 Reply Latest reply: Mar 2, 2013 10:01 AM by dvohra21 RSS

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

Rajashekar Thippireddy Newbie
Currently Being Moderated
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)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points