<%-- * Licensed Materials - Property of IBM * * 5724-U18 * * (C) COPYRIGHT IBM CORP. 2012,2017 All Rights Reserved. * * US Government Users Restricted Rights - Use, duplication or * disclosure restricted by GSA ADP Schedule Contract with * IBM Corp. --%><%@page contentType="text/html;charset=UTF-8" buffer="none" %><%@page import="psdi.mbo.MboValueInfoStatic" %><%@page import="psdi.webclient.system.controller.AppInstance" %><%@page import="psdi.webclient.system.beans.AppBean" %><%@page import="psdi.webclient.system.controller.BaseInstance" %><%@page import="psdi.webclient.system.controller.ComponentInstance" %><%@page import="psdi.webclient.system.controller.ControlInstance" %><%@page import="psdi.webclient.system.runtime.WebClientConstants" %><%@page import="psdi.webclient.system.runtime.WebClientRuntime" %><%@page import="psdi.webclient.system.session.WebClientSession" %><%@page import="psdi.webclient.system.session.WebClientSession.Alignment"%><% ComponentInstance component = ComponentInstance.getCurrent(request); ControlInstance control = component.getControl(); WebClientSession wcs = control.getWebClientSession(); String id = ((BaseInstance)component).getRenderId(); String searchLabel = wcs.getMessage("ui","qSearchPrompt"); if(searchLabel.equals("ui/qSearchPrompt")) { searchLabel = "{0}"; } if(searchLabel.length()>0) { AppInstance app = control.getPage().getAppInstance(); searchLabel = searchLabel.replace("{0}", app.getKeyLabel()); } boolean hidden = component.getBoolean("hidden"); if(component.needsRender()) { Boolean systemNavBar = wcs.showSystemNavBar(control.getPage()); String IMAGE_PATH = ""; String searchMenuLabel = wcs.getMessage("jspmessages","quicksearchdropdown"); String disabled = hidden?"disabled=\"disabled\" aria-disabled=\"true\"":""; %>
type="text" aria-label="<%=searchLabel%>" title="<%=searchLabel%>" promptValue="<%if(!hidden){ %><%=searchLabel%><%}%>" ctype="qstextbox" class="fld text tt qSearch queryField" async="1" ae="setvalue" /><% %>
class="greybuttondiv<%if(hidden){%> opacity_45<%}%>" style="display: inline-block" > aria-label="<%=searchLabel%>" title="<%=searchLabel%>" alt="<%=searchLabel%>" role="button" onclick="sendEvent('find', '<%=id%>', '')" class="greybutton" src="<%=IMAGE_PATH%>qf_find.gif"/> <% if(wcs.getCurrentApp().getAppQuickSearchOptions().size() > 0) { %> type="image" title="<%=searchMenuLabel%>" alt="<%=searchMenuLabel%>" aria-label="<%=searchMenuLabel%>" role="button" onclick="setClickPosition(this, event); sendEvent('click', '<%=id%>', 'quicksearch')" class="greybutton" src="<%=IMAGE_PATH%>nav_btn_menuArrow_Search.gif"/> <% } %>
<% } else{ %> <% String qsValue = control.getProperty("quicksearchvalue"); if(qsValue.length()==0) { %> setPromptValue("<%=id%>", "<%=searchLabel%>"); <% } %> ]]> <% } control.setChangedFlag(false); %>