How to Create Train, NavigationBar and PageButtonBar in OAF
How to Create Train, NavigationBar and PageButtonBar in OAF
--=======================================================
Train region:-
create AM
create VO1 : -EMP_VO
create VO2:- DEPT_VO
Attache VO's in AM
create page EMP
set controller
header region => table typ eregion based on EMP_VO ==>
create one more region - Train type (allow information = TRUE)
create Link:- (set destinatuon URL :- EMP_PAGE)
create Link:- (set destinatuon URL :- DEPT_PAGE)
create one more region :- Page button BAR
create one more region :- Navigation_BAR ( set first step = 1 and last_step = 2)
create Link:- (set destinatuon URL :- EMP_PAGE , worm_about_changes = 'False')
create Link:- (set destinatuon URL :- DEPT_PAGE)
create page DEPT
set controller
header region => table typ eregion based on DEPT_VO ==>
create one more region - Train type (allow information = TRUE)
create Link:- (set destinatuon URL :- EMP_PAGE)
create Link:- (set destinatuon URL :- DEPT_PAGE)
create one more region :- Page button BAR
create one more region :- Navigation_BAR ( set first step = 1 and last_step = 2)
create Link:- (set destinatuon URL :- EMP_PAGE , worm_about_changes = 'False')
create Link:- (set destinatuon URL :- DEPT_PAGE)
--==============================================================
VO1:-
select EMPNO, ENAME, JOB, HIREDATE, DEPTNO from scott.emp
VO2:-
select * from scott.dept
VO3:-
select EMPNO, ENAME, (select Z.ENAME from scott.emp Z where A.MGR = Z.EMPNO) MGR_NAME, SAL from scott.emp A
CO1:-
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject vo = (OAViewObject) am.findViewObject("FIRST_VO1");
vo.executeQuery();
}
CO2:-
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject vo = (OAViewObject) am.findViewObject("SECOND_VO1");
vo.executeQuery();
}
CO3:-
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject vo = (OAViewObject) am.findViewObject("THIRD_VO1");
vo.executeQuery();
}
--=======================================================
Train region:-
create AM
create VO1 : -EMP_VO
create VO2:- DEPT_VO
Attache VO's in AM
create page EMP
set controller
header region => table typ eregion based on EMP_VO ==>
create one more region - Train type (allow information = TRUE)
create Link:- (set destinatuon URL :- EMP_PAGE)
create Link:- (set destinatuon URL :- DEPT_PAGE)
create one more region :- Page button BAR
create one more region :- Navigation_BAR ( set first step = 1 and last_step = 2)
create Link:- (set destinatuon URL :- EMP_PAGE , worm_about_changes = 'False')
create Link:- (set destinatuon URL :- DEPT_PAGE)
create page DEPT
set controller
header region => table typ eregion based on DEPT_VO ==>
create one more region - Train type (allow information = TRUE)
create Link:- (set destinatuon URL :- EMP_PAGE)
create Link:- (set destinatuon URL :- DEPT_PAGE)
create one more region :- Page button BAR
create one more region :- Navigation_BAR ( set first step = 1 and last_step = 2)
create Link:- (set destinatuon URL :- EMP_PAGE , worm_about_changes = 'False')
create Link:- (set destinatuon URL :- DEPT_PAGE)
--==============================================================
VO1:-
select EMPNO, ENAME, JOB, HIREDATE, DEPTNO from scott.emp
VO2:-
select * from scott.dept
VO3:-
select EMPNO, ENAME, (select Z.ENAME from scott.emp Z where A.MGR = Z.EMPNO) MGR_NAME, SAL from scott.emp A
CO1:-
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject vo = (OAViewObject) am.findViewObject("FIRST_VO1");
vo.executeQuery();
}
CO2:-
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject vo = (OAViewObject) am.findViewObject("SECOND_VO1");
vo.executeQuery();
}
CO3:-
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject vo = (OAViewObject) am.findViewObject("THIRD_VO1");
vo.executeQuery();
}
Comments
Post a Comment