Purpose
ucSearchUserCustom is a general pass through method that is called by Search.
Applies To
Search & Reporting screens
Signature
public void ucSearchUserCustom(HttpServletRequest request,
HttpServletResponse response,
Connection dbconn,
SesameSession session) throws Exception {
Notes
Example
public void ucSearchUserCustom (
HttpServletRequest request,
HttpServletResponse response,
Connection dbconn,
SesameSession session)
throws Exception {
FormParameters fp = new FormParameters(request);
if (fp.containsKey("report_id") ) {
session.setChildSession();
// add html tags around response output
PrintWriter out = response.getWriter();
out.println("");
DashboardReport dbr = new DashboardReport(session, request, response);
dbr.doRunReport(response, dbconn, session); // add html tags around response output
out.println("");
session.setParentSession();
} else {
super.ucSearchUserCustom(request, response, dbconn, session);
}
}