%--
superSimpReportSearch.jsp
-------------------------
A very simple search form for Complete Reports and Report Excerpts in the OERL
relational database. Only has component, content area, and organization.
Submitted to doReportSearch.jsp.
Javscript Includes:
focusWindow.js
Dynamic Includes:
uncheck.js
inc_errorTblHdrBGColor.html
inc_tblHdrBGColor.html
inc_tblIndentWidth.html
inc_searchIntro.html
inc_buttonsForm.html
dinc_searchTitle.jsp
Static Includes:
sinc_checkEmptyProjectParams.jsp
sinc_emptyFieldMessage.jsp
sinc_formVars.jsp
sinc_oerlWebViewCon.jsp
sinc_printEmptyProjectFields.jsp
(forms)
sinc_simpComponentForm.jsp
sinc_simpContentAreaForm.jsp
sinc_organizationForm.jsp
Created by zaz@sri.com.
Last modified by zaz@sri.com, 3/6/03.
--%>
<%@ page errorPage="error.jsp" %>
<%@ page import="java.sql.*" %>
<%
final String shortName = "report";
final String longName = "Report";
%>
<%@ include file="codefragments/sinc_formVars.jsp" %>
<%-- Make connection to database using oerl_webview login --%>
<%@ include file="../jspcode/sinc_oerlWebViewCon.jsp" %>
<%
boolean hasEmptyFields = false, hasEmptyComponent = false,
hasEmptyReportType = false;
// Check to see if there are any unspecified search parameters
// described in the HTTP request parameters
if (request.getParameter("hasEmptyFields") != null) hasEmptyFields = true;
if (request.getParameter("hasEmptyComponent") != null)
hasEmptyComponent = true;
if (request.getParameter("hasEmptyReportType") != null)
hasEmptyReportType = true;
// Check for empty project field parameters
%><%@ include file="codefragments/sinc_checkEmptyProjectParams.jsp" %>