Professional Documents
Culture Documents
Categories
https://blogs.oracle.com/prajkumar/entry/create_oaf_search_page
Attribute Property
ID UpdateAction
https://blogs.oracle.com/prajkumar/update-records-in-oaf-page 1/12
10/2/2017 Update records in OAF Page | Welcome to My Oracle World
Prompt Update
Height 24
Width 24
Event update
Submit True
Value -- ${oa.SearchVO1.Column1}
Name PColumn2
Value -- ${oa.SearchVO1.Column2}
Right click on SearchDemo > New > Web Tier > OA Components > Page
Name UpdatePG
Package prajkumar.oracle.apps.fnd.searchdemo.webui
4. Select the UpdatePG and go to the strcuture pane where a default region
has been created
https://blogs.oracle.com/prajkumar/update-records-in-oaf-page 2/12
10/2/2017 Update records in OAF Page | Welcome to My Oracle World
Attribute Property
ID PageLayoutRN
AM Definition prajkumar.oracle.apps.fnd.searchdemo.server.SearchAM
ID MainRN
Attribute Property
ID Column1
https://blogs.oracle.com/prajkumar/update-records-in-oaf-page 3/12
10/2/2017 Update records in OAF Page | Welcome to My Oracle World
Prompt Column1
Length 20
Attribute Property
ID Column2
Prompt Column2
Length 20
https://blogs.oracle.com/prajkumar/update-records-in-oaf-page 4/12
10/2/2017 Update records in OAF Page | Welcome to My Oracle World
Attribute Property
Region ButtonLayout
Attribute Property
ID Apply
Attribute /oracle/apps/fnd/attributesets/Buttons/Apply
Attribute Property
ID Cancel
https://blogs.oracle.com/prajkumar/update-records-in-oaf-page 5/12
10/2/2017 Update records in OAF Page | Welcome to My Oracle World
Attribute /oracle/apps/fnd/attributesets/Buttons/Cancel
Name SearchCO
Package -- prajkumar.oracle.apps.fnd.searchdemo.webui
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean;
OAQueryBean queryBean =
(OAQueryBean)webBean.findChildRecursive("QueryRN");
queryBean.clearSearchPersistenceCache(pageContext);
}
if ("update".equals(pageContext.getParameter(EVENT_PARAM)))
{
pageContext.setForwardURL("OA.jsp?
page=/prajkumar/oracle/apps/fnd/searchdemo/webui/UpdatePG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true,
https://blogs.oracle.com/prajkumar/update-records-in-oaf-page 6/12
10/2/2017 Update records in OAF Page | Welcome to My Oracle World
OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
OAWebBeanConstants.IGNORE_MESSAGES);
}
}
Name UpdateCO
Package -- prajkumar.oracle.apps.fnd.searchdemo.webui
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import oracle.apps.fnd.framework.OAApplicationModule;
import java.io.Serializable;
if (pageContext.getParameter("Apply") != null)
{
am.invokeMethod("apply");
pageContext.forwardImmediately("OA.jsp?
page=/prajkumar/oracle/apps/fnd/searchdemo/webui/SearchPG",
null,
https://blogs.oracle.com/prajkumar/update-records-in-oaf-page 7/12
10/2/2017 Update records in OAF Page | Welcome to My Oracle World
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
false, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
}
else if (pageContext.getParameter("Cancel") != null)
{
am.invokeMethod("rollback");
pageContext.forwardImmediately("OA.jsp?
page=/prajkumar/oracle/apps/fnd/searchdemo/webui/SearchPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
false, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
}
}
import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
import oracle.apps.fnd.framework.server.OAViewObjectImpl;
https://blogs.oracle.com/prajkumar/update-records-in-oaf-page 8/12
10/2/2017 Update records in OAF Page | Welcome to My Oracle World
import oracle.apps.fnd.framework.server.OAViewObjectImpl;
16. Congratulation you have successfully finished. Run Your Search page
and Test Your Work
https://blogs.oracle.com/prajkumar/update-records-in-oaf-page 9/12
10/2/2017 Update records in OAF Page | Welcome to My Oracle World
https://blogs.oracle.com/prajkumar/update-records-in-oaf-page 10/12
10/2/2017 Update records in OAF Page | Welcome to My Oracle World
Visit the Oracle Blog Contact Us
Learn more Learn more
https://blogs.oracle.com/prajkumar/update-records-in-oaf-page 11/12
10/2/2017 Update records in OAF Page | Welcome to My Oracle World
https://blogs.oracle.com/prajkumar/update-records-in-oaf-page 12/12