Create Tab pages in OAF

Create Tab pages in OAF

--=============================================

T_Tab_Pages

Tab_Pages_Layout
create AM
create VO1 : -EMP_VO
create VO2:- DEPT_VO

Attache VO's in AM

create one page : -set AM , window,Title
#2# create one region :- subtablayout : -set AM on that
create 2 headers type regions under this
one:- emp  under this create table type region using wizard fro EMP ( set CO on table region )
two:- dept  under this create table type region using wizard fro DEPT ( set CO on table region )
right click on point #2# and create 'subtabs' 
under this crete 'Link'
create 2 links under this
one:- emp
two :- dept

--================================================

FIRST_TAB_VO:-

                 select EMPNO, ENAME, JOB, HIREDATE, DEPTNO from scott.emp

SECOND_TAB_VO:-

                 select * from scott.dept

THIRD_TAB_VO:-

               select EMPNO, ENAME, (select Z.ENAME from scott.emp Z where A.MGR = Z.EMPNO) MGR_NAME, SAL from scott.emp  A

--================================================


FIRST_CO:-

  public void processRequest(OAPageContext pageContext, OAWebBean webBean)
  {
    super.processRequest(pageContext, webBean);
      OAApplicationModule am = pageContext.getApplicationModule(webBean);
      OAViewObject vo = (OAViewObject) am.findViewObject("FIRST_TAB_VO1");
      vo.executeQuery();
  }


SECOND_CO:-

  public void processRequest(OAPageContext pageContext, OAWebBean webBean)
  {
    super.processRequest(pageContext, webBean);
      OAApplicationModule am = pageContext.getApplicationModule(webBean);
      OAViewObject vo = (OAViewObject) am.findViewObject("SECOND_TAB_VO1");
      vo.executeQuery();
  }


THIRD_CO:-

  public void processRequest(OAPageContext pageContext, OAWebBean webBean)
  {
    super.processRequest(pageContext, webBean);
      OAApplicationModule am = pageContext.getApplicationModule(webBean);
      OAViewObject vo = (OAViewObject) am.findViewObject("THIRD_TAB_VO1");
      vo.executeQuery();
  }

Comments

Popular posts from this blog

E-Text Report In Fusion | Types of E-Text reports

Supplier API's

How to pass default Parameter in cursor