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
No comments:
Post a Comment