02 March, 2012

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

OAF :Formatting DateTime Fields

Use the following code to format DateTime feilds in OAF OAWebBean departureDateBean = webBean.findChildRecursive("DepartureDate"...