Wednesday 15 August 2018

findchildrecursive in oaf


findchildrecursive in oaf

 

In this post , We will discuss about findchildrecursive in oaf. This helps to find the object/beans in the OAF Page. If we want to get the control on the bean/object of the OAF page , then we need to have the handle for that object. Findchildrecursive helps to find that object in the OAF page and then helps to take control or to give handle for that object so that we can use the value of that object or set some properties for that object or bean. We can find any bean r object of the OAF page layout with the help of the findchildrecursive in oaf. Here below I am sharing the working example of the findchildrecursive in oaf.findchildrecursive is a method which returns value in the bean.
 
 
 
Syntax: webBean.findChildRecursive (itemid)
 

OAMessageTextInput x= (OAMessagetextInput Bean) webBean.findchildrecursive (“Name”);
 
 
 

Another example to find the OAMessageStyledTextBean from the OAF Page

String name=pageContext.getParameter(“item1”);
OAMessageStyledTextBean mst=(OAMessageStyledTextBean)webBean.findChildRecursive(“item2”);
mst.setValue(pageContext,name);
 
 
 
 
 
 

 

0 comments:

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *