<%-- 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" %> OERL: Reports: Search
home
  : Reports : Search





























home reports instruments plans
search

<% // If there are empty parameters, print a message to that effect if (hasEmptyFields) { %> <% if (hasEmptyComponent) { %> <% } %> <% if (hasEmptyReportType) { %> <% } %> <%@ include file="codefragments/sinc_printEmptyProjectFields.jsp" %> <% } %> <% String listAllQuery = "?ListAll=true"; listAllQuery += "&noProjectTypeField=true"; listAllQuery += "&noFundingSourceField=true"; listAllQuery += "&noContentAreaField=true"; listAllQuery += "&noOrganizationField=true"; listAllQuery += "&noComponentField=true"; listAllQuery += "&noReportTypeField=true"; %>

An advanced search for reports is available, allowing you to also search by report type (complete or excerpt), project type, project funding source, and do a more refined search by component and project content area. You can also view a list of all reports.

> <% } else { %> > <% } %> > <% } else { %> > <% } %> > <% } else { %> > <% } %>
For Reports With these Components:
<% final String excerptType = "Report Excerpt"; %> <%@ include file="forms/sinc_simpComponentForm.jsp" %>
From Projects in these Content Areas:
<%@ include file="forms/sinc_simpContentAreaForm.jsp" %>
From Projects contributed by these Organizations:
<%@ include file="forms/sinc_organizationForm.jsp" %>
<% con.close(); %>