Sunday, 30 September 2018

How to make entire page read only in oaf

How to make entire page read only in oaf

In this post , We will discuss about How to make entire page read only in oaf. We will discuss how we can create the OAF page only read only so that no body can insert delete or update the values in the OAF page. This is very generic requirement in the business  to make entire page read only in oaf. In OAF , We can set through with the help of OAF Controller. I will share the complete code using this we can make the OAF page read only. Here below is s the complete steps for How to make entire page read only in oaf.
 
 
 

Sample code of How to make entire page read only in oaf

 
Put the code in the Process Request Method. When the Page will load , All the Fields will be read only. This we can do for New OAF page and for Controller Extensions.
 

Process Request Method

 
 
CLQotRenderUtil.setViewOnlyRecursive(paramOAPageContext, paramOAWebBean);
 
 
or We can do by this Below API
 

 ClientUtil.setViewOnlyRecursive(pageContext, webBean);

0 comments:

Post a Comment

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

Name

Email *

Message *