Tuesday, August 4, 2015

For Transaction Page

Transaction Page
1.Create EO and VO,AO,VL
2.Set Parameter For the Page

3.Create TaskFlow
Right Click On Viewcontrol àNewàAdf TaskFlowà Change the name into Create edit event :check bounded taskflow and fragmentation in check box
Drag the Router into page change the Name and Enter The Expression
#{pageFlowScope.RowKeyStr ==''}
Create
#{pageFlowScope.RowKeyStr !=''}
Edit
 And Set A Parameter
And Change Behavior

Drag Value from DataControl in Operation



Create Search Task Flow
Than Create Page Search Event
Create Botton
Set Action Listener



Monday, August 3, 2015

How To Create Simple Master Page

Steps to Create Master Page



Need To Create Eo And Vo And AM

Step1:
Create The Business Component
1.Right Create On Model à Select Business Component From TableàSelect Table Name For Eo And Vo And AM Click Finished
2.Than U need add Parameter For Search in Vo Select View Criteria

After That Click Ok and it display like this
Than Adjust Size Of Attribute

After That Clickà Application Module àClick Java àSelect Application Module Class Link And Copy given Link Paste Their
    public void applyVCforGlobalSearchroleid(Integer roleid){
           ViewObjectImpl vo;
           vo = getFacAcademicRole1();//Method name give in data Control name
           ViewCriteria vc = vo.getViewCriteria("FacAcademicRoleVOCriteria");//Copy This From View Criteria
          vc.resetCriteria();
          VariableValueManager vvm = vc.ensureVariableManager();
          vvm.setVariableValue("p_roleid", roleid);//Given In Parameter
          vo.applyViewCriteria(vc,true);
          vo.executeQuery();
    }

    public void applyVCforGlobalSearchStudents(String StudentSearchCriteria) {
        ViewObjectImpl vo;
        vo = getFacStudentAdvisor1();
        ViewCriteria vc = vo.getViewCriteria("FacStudentAdvisorVOCriteria");
        vc.resetCriteria();
        VariableValueManager vvm = vc.ensureVariableManager();
        vvm.setVariableValue("p_search_criteria", StudentSearchCriteria);
        vo.applyViewCriteria(vc, true);
        vo.executeQuery();
    }
    After That Click On Client Interface Edità And than Shuffle Data to Right Side Than u Will Get The Data In DataControl


Than Right Click On àView Controller folderàClick Page Give The Name For Page

Drag The Data From Data Controller to Page

Form Surrounded With Panel Box Give the Name
Drag The Table In Start Pageà Select Table/listviewàAdf ListView à Select Panel grid Layoutà Order Attribute to Display the Value at the end
Select Selection As Single  And SelectionListener As Make Current And  Partial Trigger to Display the Value When Selecting Each Attribute
Drag the Attribute into Start With Text Box And Add Button from Component 
Edit the Name
In the ActionListener àExpression Builder Select data



In Partial trigger Click edit Select the value

Basic Oracle Adf Steps

Basic Oracle Adf Steps
http://docs.oracle.com/cd/E53569_01/tutorials/tut_rich_app/tut_rich_app_3.html

JDBC connection

http://onlineappsdba.com/index.php/2008/11/06/weblogic-server-jdbc-for-database-connection-step-by-step/