1- All the steps are same from project creation upto page creation.
2- Create and edit the controller
Add Following Code in processRequest
import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processRequest(pageContext, webBean);
{
super.processRequest(pageContext, webBean);
String myValue = "My Default Value";
OAMessageTextInputBean textBean = (OAMessageTextInputBean)webBean.findChildRecursive("MyTextitemId");
textBean.setValue(pageContext, myValue);OAMessageTextInputBean textBean = (OAMessageTextInputBean)webBean.findChildRecursive("MyTextitemId");
}
MyTextitemId is the field where the gunuine field name will be replace, while rest of the code is same.
This comment has been removed by the author.
ReplyDelete