Posts

Showing posts from 2015

Target Unreachable Bean returned null error

Hi All, Today we'll learn to solve the  "Target Unreachable Error" which comes when we perform some operation on our page. If you focus on this error it mentions regarding the "Bean returned null" which means that bean is not able to work properly. Now the question arises !!!!!!Why ??? Well the reason is quiet simple..it is just because either you don't use the proper scope with your bean operation or you are not mentioning the scope. I'll show you what it means. Suppose you bind a bean method with an ADF button action. Then it will come like as :  action="#{ DemoBean.createComponents}" // createComponents is a method name. now if you will run this page then it will throw the above error on click of a button. Why??????? Because we didn't mention the appropriate scope with the bean name.   It must be like this (Suppose your bean scope is pageFlowScope) :       action="#{pageFlowScope.DemoBean.createComp...
Image
How to use Dynamic Region in ADF Hi Friends, Today we'll learn concept of using Dynamic Region in ADF.  First of all we must need to know what Dynamic Region exactly is. Dynamic region is used to run multiple task flows on the same region(Placeholder) according to different-2 conditions. Ok, Now lets start it : 1.) Create two bounded Task flows containing one JSFF page inside each. Design the page according        to your requirement. 2.) Create a Demo.jspx page and drag the first task flow onto it ,it will ask for a bean and provide the bean.      Remember bean scope must be greater than backing bean scope. 3.) When the bean creation is finished, open the bean and you will see that the method          getDynamicTaskFlowId()  gets auto created.  4.) Now make a String variable in bean and generate its accessors .  5.) Go to demo.jspx page an...