%--
* Copyright (c) 2001, 2006, Oracle. All rights reserved.
*
* Procedure search UI.
*
* Inputs:
* ClientAction doSearchClientAction@servletRequest
* List typeFilter@servletRequest
* Boolean showSearchCreatedBy@servletRequest
* List createdByFilter@servletRequest
* Boolean showSearchStatus@servletRequest
* List statusChoices@servletRequest
*
* [ the following should be added by a SearchManager:]
* Boolean showAdvancedSearch@servletRequest [automatic]
* Boolean hideAdvancedSearch@servletRequest [automatic]
* String showAdvancedSearchString@servletRequest [automatic]
* String toggleSearchText@servletRequest [automatic]
* ClientAction toggleAdvancedSearchClientAction@servletRequest [automatic]
* String searchValue@servletRequest
* String searchType@servletRequest
* String searchAuthor@servletRequest
--%>
<%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix"%>
<%-- View --%>
<% if(request.getAttribute("showViewChoice") != null &&
((Boolean)request.getAttribute("showViewChoice")).booleanValue()) { %>
<% } %>
<%-- search --%>
<%-- This partialRoot is only used to make sure that all of the elements in uix:end are rendered.
Without it, only the last item is rendered (might be a bug in UIX?) --%>
<%-- Search button --%>
<%-- Procedure Type search --%>
<%-- Created by filter --%>
<% if(request.getAttribute("showSearchCreatedBy") != null &&
((Boolean)request.getAttribute("showSearchCreatedBy")).booleanValue()) { %>
<% } %>
<%-- Procedure Status search --%>
<% if(request.getAttribute("showSearchStatus") != null &&
((Boolean)request.getAttribute("showSearchStatus")).booleanValue()) { %>
<% } %>
<%-- Reset button --%>
<%-- TODO: would be nice, but the onClick string seems a bit fragile
--%>