Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\paf\advancedProcSearch.jspf
<%-- * 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"%> <uix:spacer height="10"/> <uix:rowLayout id="searchNode"> <uix:formValue name="showAdvancedSearch" valueBinding="showAdvancedSearchString@servletRequest"/> <uix:labeledFieldLayout width="1"> <%-- View --%> <% if(request.getAttribute("showViewChoice") != null && ((Boolean)request.getAttribute("showViewChoice")).booleanValue()) { %> <uix:messageChoice nameBinding="PA_DELETED_VIEW_CHOICE@paResourceBundle" promptBinding="PA_DELETED_VIEW_CHOICE_PROMPT@paResourceBundle" selectedValueBinding="(PA_DELETED_VIEW_CHOICE@paResourceBundle)@servletRequest" onChange="submitForm('pafForm', true, {'event':'search'})"> <uix:contents> <uix:option textBinding="PA_DELETED_VIEW_PROCEDURES_OPTION@paResourceBundle" valueBinding="PA_DELETED_VIEW_PROCEDURES_VALUE@paResourceBundle"/> <uix:option textBinding="PA_DELETED_VIEW_INSTANCES_OPTION@paResourceBundle" valueBinding="PA_DELETED_VIEW_INSTANCES_VALUE@paResourceBundle"/> </uix:contents> </uix:messageChoice> <uix:spacer height="3"/> <% } %> <%-- search --%> <uix:messageTextInput id="searchProcedureTextInput" nameBinding="PA_SEARCH_INPUT@paResourceBundle" promptBinding="PA_SEARCH_PROMPT@paResourceBundle" textBinding="(PA_SEARCH_INPUT@paResourceBundle)@servletRequest" enterClientActionBinding="doSearchClientAction@servletRequest" columns="45"> <uix:end> <%-- 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?) --%> <uix:partialRoot> <uix:spacer width="8"/> <%-- Search button --%> <uix:submitButton textBinding="PA_SEARCH_BTN@paResourceBundle" name="event" shortDescBinding="PA_SEARCH_DESC@paResourceBundle" valueBinding="PA_SEARCH@paResourceBundle" primaryClientActionBinding="doSearchClientAction@servletRequest"/> <uix:spacer width="15"/> <uix:link textBinding="toggleSearchText@servletRequest" primaryClientActionBinding="toggleAdvancedSearchClientAction@servletRequest"/> </uix:partialRoot> </uix:end> </uix:messageTextInput> <%-- Procedure Type search --%> <uix:spacer height="3" renderedBinding="showAdvancedSearch@servletRequest"/> <uix:messageChoice renderedBinding="showAdvancedSearch@servletRequest" nameBinding="PA_PROCEDURE_TYPE_CHOICE@paResourceBundle" promptBinding="PA_PROCEDURE_TYPE_CHOICE_PROMPT@paResourceBundle" selectedValueBinding="(PA_PROCEDURE_TYPE_CHOICE@paResourceBundle)@servletRequest" disabledBinding="disableProcType@servletRequest"> <uix:contents childDataBinding="typeFilter@servletRequest"> <uix:option textBinding="text" valueBinding="value" /> </uix:contents> </uix:messageChoice> <uix:formValue renderedBinding="hideAdvancedSearch@servletRequest" nameBinding="PA_PROCEDURE_TYPE_CHOICE@paResourceBundle" valueBinding="(PA_PROCEDURE_TYPE_CHOICE@paResourceBundle)@servletRequest"/> <%-- Created by filter --%> <% if(request.getAttribute("showSearchCreatedBy") != null && ((Boolean)request.getAttribute("showSearchCreatedBy")).booleanValue()) { %> <uix:spacer height="3" renderedBinding="showAdvancedSearch@servletRequest"/> <uix:messageChoice renderedBinding="showAdvancedSearch@servletRequest" nameBinding="PA_CREATED_BY_CHOICE@paResourceBundle" promptBinding="PA_CREATED_BY_CHOICE_PROMPT@paResourceBundle" selectedValueBinding="(PA_CREATED_BY_CHOICE@paResourceBundle)@servletRequest"> <uix:contents childDataBinding="createdByFilter@servletRequest"> <uix:option textBinding="text" valueBinding="value"/> </uix:contents> </uix:messageChoice> <uix:formValue renderedBinding="hideAdvancedSearch@servletRequest" nameBinding="PA_CREATED_BY_CHOICE@paResourceBundle" valueBinding="(PA_CREATED_BY_CHOICE@paResourceBundle)@servletRequest"/> <% } %> <%-- Procedure Status search --%> <% if(request.getAttribute("showSearchStatus") != null && ((Boolean)request.getAttribute("showSearchStatus")).booleanValue()) { %> <uix:spacer height="3" renderedBinding="showAdvancedSearch@servletRequest"/> <uix:messageChoice renderedBinding="showAdvancedSearch@servletRequest" nameBinding="PA_STATUS_CHOICE@paResourceBundle" promptBinding="PA_STATUS_CHOICE_PROMPT@paResourceBundle" selectedValueBinding="(PA_STATUS_CHOICE@paResourceBundle)@servletRequest"> <uix:contents childDataBinding="statusChoices@servletRequest"> <uix:option textBinding="text" valueBinding="value"/> </uix:contents> </uix:messageChoice> <uix:formValue renderedBinding="hideAdvancedSearch@servletRequest" nameBinding="PA_STATUS_CHOICE@paResourceBundle" valueBinding="(PA_STATUS_CHOICE@paResourceBundle)@servletRequest"/> <% } %> <%-- Reset button --%> <%-- TODO: would be nice, but the onClick string seems a bit fragile <uix:spacer width="0" height="24" renderedBinding="showAdvancedSearch@servletRequest"/> <uix:button renderedBinding="showAdvancedSearch@servletRequest" text="Reset Criteria" shortDesc="Resets the search criteria to show all procedures." onClick="document.pafForm.searchValue.value='';document.pafForm.searchType.value='LBL_Any';document.pafForm.searchAuthor.value='LBL_Any';"/> --%> </uix:labeledFieldLayout> </uix:rowLayout> <uix:spacer height="8"/>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de