|
<%if (Search == null){%>
<%-- ******************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************** --%>
<%String typeSpecimenStatus = UIConst.EMPTY_STRING;
if (UserQuery.getstatus().compareTo("1")==0)
typeSpecimenStatus = "CHECKED";%>
<%=manager.getText("corm_adv_search.col_coverage")%> |
|
<%=manager.getText("corm_adv_search.data_repository")%> |
|
<%=manager.getText("corm_adv_search.persons")%> |
|
<%-- ***************************----Alphabetic list management---******************** --%>
<%} else if (Search!= null){%>
<%String letter = request.getParameter("ID");%>
<%if (Search.equals("ALPHABET_ORG")){%>
<%out.println (""+ manager.getText("alph_title_org")+"
");%>
<%=management.buildCheckboxList("ALPHABET_ORG", "organisations", letter, UserQuery.getmetadataItemNameOrg())%>
<%out.println("");%>
<%out.println("");%>
<%}%>
<%if (Search.equals("ALPHABET_TOWN")){%>
<%out.println (" " + manager.getText("alph_title_towns")+ "
");%>
<%=management.buildCheckboxList("ALPHABET_TOWN", "towns", letter, UserQuery.gettowns())%>
<%out.println("");%>
<%}%>
<%if (Search.equals("ALPHABET_PERSON")){%>
<%out.println(" "+ manager.getText("alph_title_persons")+"
");%>
<%=management.buildCheckboxList("ALPHABET_PERSON","persons", letter, UserQuery.getpersons())%>
<%out.println("");%>
<%}%>
<%if (Search.equals("ALPHABET_TAXONOMIC_COVERAGE")){%>
<%out.println (" " + manager.getText("alph_title_tax") + "
");%>
<%=management.buildCheckboxList("ALPHABET_TAXONOMIC_COVERAGE","taxon", letter, UserQuery.gettaxonomicKeywords())%>
<%out.println("");%>
<%}%>
<%if (Search.equals("ALPHABET_COMMON_NAME_COVERAGE")){%>
<%out.println (" "+ manager.getText("alph_title_common")+"
");%>
<%=management.buildCheckboxList("ALPHABET_COMMON_NAME_COVERAGE","commonName", letter, UserQuery.getcommonNameKeywords())%>
<%out.println("");%>
<%}%>
<%out.println("");%>
<%out.println("");%>
<%out.println("");%>
<%out.println("
");%>
<%}%>
<%-- **********Main frame table end-*********** --%>
|