Manual Search
Step1:
Step 2:
Step 3:
Step4:
Step5:
Step6:
Step7
Step8
Step9
Step 10
Step11
Step12
Setp13
step14
step17
step18
step19
step20
step21
step22
step23
step24
step25
step26
step27
step28
step29
step30
step31
step32
step33
step34
step35
step36
step37
step38
step39
step40
Step41
step43
step44
step45
step46
step47
step48
step49
Step51
step52step53
step54
step55
step56
step57
step58
public void getresults(OAPageContext pageContext, OAWebBean webBean) {
empVOImpl vo = getempVO1();
if (!pageContext.getParameter("empno").equals("")) {
String vempno = pageContext.getParameter("empno");
vo.setWhereClauseParam(0,vempno);
}
else {
vo.setWhereClauseParam(0,null);
}
if (!pageContext.getParameter("ename").equals("")) {
String vempno = pageContext.getParameter("ename");
vo.setWhereClauseParam(1,vempno);
}
else {
vo.setWhereClauseParam(1,null);
}
vo.executeQuery();
}
step59
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processFormRequest(pageContext, webBean);
if (pageContext.getParameter("go")!=null) {
System.out.println("Processing...");
searchAMImpl am = (searchAMImpl)pageContext.getApplicationModule(webBean);
am.getresults(pageContext, webBean);
}
}
step60
No comments:
Post a Comment