<%@ page import="java.util.*" %> <%@ page import="gui.common.query.UserQuery" %> <%@ page import="gui.common.settings.UIConst" %> <%@ page import="gui.common.management.UIManager" %> <%-- ******************Radio buttons state initialisation************** --%> <%String path = manager.getPath(); String redirection = request.getParameter("redirection");%> <%-- **********Update query object -if form is submitted-*********** --%> <%if (redirection != null){ HttpSession currSession = request.getSession();%> <%-- ***************************----Redirections---************************* --%> <% if (redirection.compareTo("fuzzy_search")==0) { currSession.setAttribute("UserQuery", UserQuery); manager.forward(path + manager.getLink("CORM_RESULT") + "?Action=" + UIConst.CORM_FUZZY_SEARCH, response, request,getServletContext()); } if (redirection.compareTo("ReloadQuery")==0) { String idx = request.getParameter("ID"); UserQuery = manager.getCurrentCORMBasicQuery(idx); System.out.println(UserQuery.getSearchType()); if (idx != null) currSession.setAttribute("UserQuery", UserQuery); } if (redirection.compareTo("RefineQuery")==0) { UserQuery = manager.getLastCORMQuery(); if (UserQuery != null) currSession.setAttribute("UserQuery", UserQuery); } if (redirection.compareTo("Reset")==0) { UserQuery = new UserQuery(); currSession.setAttribute("UserQuery",UserQuery); } else manager.dispatch(redirection,response, request,getServletContext()); } %> Search
  • »Metadata
  • »Simple Search
  • "/>
    <%manager.setSearchType(UIConst.METADATA_BASIC_SEARCH);%> <%manager.setScreenID(UIConst.METADATA_BASIC_SEARCH);%> <%manager.setAdditionalTitle("");%> <%manager.setaAditionalSubTitle(UIConst.EMPTY_STRING);%> <%-- **********Main frame table-*********** --%>
    "> <%-- ******************Test if cookies are setting (mandatory************** --%> <% if (request.getParameter("flag")==null) { // the first request Cookie cookie = new Cookie("cookieSetting", "on"); response.addCookie(cookie); String nextUrl = request.getRequestURI() + "?flag=10"; // force the browser to refresh out.println(""); } else { // the second request Cookie[] cookies = request.getCookies(); boolean cookieFound = false; if (cookies!=null) { int length = cookies.length; for (int i=0; i <%-- ******************End cookies settings test************** --%>

    <%=manager.getText("corm_bas_search.l_fuzzy_search")%>

    <%=manager.getText("corm_bas_search.l_keyword")%> <%=manager.getText(" onClick="<%=manager.openHelpFile("HELP_SEARCH_BASIC_SEARCH_KEYWORD")%>"> <%=manager.printListBasicSearchOption()%>

    " TITLE="<%=manager.getText("btn_Search_t")%>" onclick="valid()" TABINDEX=1> " TITLE="<%=manager.getText("btn_New_Query_t")%>" onClick="resetQuery(document.userSearch.redirection,document.userSearch)">

    <%-- **********Main frame table end-*********** --%>