<% response.setHeader("Cache-Control","no-cache"); //HTTP 1.1 response.setHeader("Pragma","no-cache"); //HTTP 1.0 response.setDateHeader ("Expires", 0); //prevents caching at the proxy server %> <%@ page import="java.util.*" %> <%@ page import="com.ozesys.dosm.SearchField" %> <%@ page import="com.ozesys.dosm.ResultObject" %> <%@ page import="com.ozesys.dosm.ResultField" %> <% if (!sessionManager.keepAlive(credentials,getServletInfo())) { %> <% } %> OZe Demo System - Search Page
User <%=credentials.getUser()%> Logged In  
Search For:
<%=appUtils.getCustomListObject(credentials.getGlobalAppID(), "field5")%>
Keywords:

 

<% Hashtable mResultObjects = credentials.getmResultObjects(); int objectCount = mResultObjects.size(); long totalRowCount = credentials.getmSearchObj().getTotalSearchResults(); System.out.println("totalrowcount="+totalRowCount); long startRow = credentials.getmSearchObj().getStartRow(); long pagingVal = credentials.getmSearchObj().getPagingVal(); String sortByVal = credentials.getmSearchObj().getSortBy(); String sortDirVal = credentials.getmSearchObj().getSortDir(); long startVal = 0; if(totalRowCount >0){ startVal = startRow + 1; } if(totalRowCount > 0){ %>

There are <%=totalRowCount%> objects that match your search.
Displaying results <%=startVal%> - <%=startRow+objectCount%>.

<% for(int i=0;i <%}//for loop%>
Description
Type
Download
<%=field6.getResultVal()%> <%=field5.getResultVal()%> <% String previewLink = mObject.getPreviewLink(); %> (<%=fSize%>) <% if(!previewLink.equals("")){ %> <% } %>

<%if(totalRowCount > pagingVal){%> <%}%>
<% if(startRow >= pagingVal){ %>
<% }%>
<% if(startRow > 0){%>
<%}%>
<% if(startRow < (totalRowCount-pagingVal)){ %>
<%}%>
<% if(startRow < (totalRowCount-pagingVal)){ %>
<%}%>
"> Go To Row:

<%} else { %>
Oze Demo System.
<% } %>
Copyright © 2005 OZe Storage Solutions.