Set Initial Focus on item in OAF Pages

You can set initial focus in page on certain item.

Suppose that need to set focus on item ( XXX_EMP_NAME ), then you should add below code in processRequest() method in Controller class

 public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)  
   super.processRequest(oapagecontext, oawebbean);  
   OABodyBean oabean = (OABodyBean)pageContext.getRootWebBean();  
Don't forget to add below import to Controller class
import oracle.apps.fnd.framework.webui.beans.OABodyBean;
Mahmoud Ahmed El-Sayed

Popular posts from this blog

ADF : Get Current Logged User Name

OAF : Get Current Row in Table

ADF : Working with ViewCriteria