<%@ page import="java.util.*" %> <%@ page import="com.ozesys.dosm.FieldInfo" %> <% // if (!sessionManager.keepAlive(credentials,getServletInfo())) { %> <% // } %> <% //Get the global appid. If it is null, then this is the 1st time we have //hit the page - possibly come from the Search link. Otherwise we have selected a new //storgae area to search from. String appid = credentials.getGlobalAppID(); //System.out.println("upload.jsp: appid="+appid); if(appid.equals("new")) { %> <% } //System.out.println("upload.jsp : last appid="+appid); appUtils.setAppName(credentials.getAppName()); appUtils.setUserType(credentials); %> OZe Object Storage and Retrieval <% Hashtable userRights = appUtils.getUserRights(credentials, true); String searchok = (String)userRights.get(common.RIGHTS_SEARCH); String uploadok = (String)userRights.get(common.RIGHTS_UPLOAD); String indexok = (String)userRights.get(common.RIGHTS_INDEX); String deleteok = (String)userRights.get(common.RIGHTS_DELETE); String modifyok = (String)userRights.get(common.RIGHTS_MODIFY); String checkio = (String)userRights.get(common.RIGHTS_CHECKIO); //String exportio = (String)userRights.get(common.RIGHTS_CHECKIO); String exportio = "yes"; %>

OZe OSM


<% if(searchok != null){ %> <%} if(uploadok != null){%>
<%} if(indexok != null){%>
<%} if(exportio != null){%> <%}%>

<%if(credentials.getAdmin()){%>



<%}%>
Log Entry
STORAGE AREA: <%Vector sareas = appUtils.getStorageAreasForUser(credentials); %>
  <% System.out.println("Before hashtable"); Hashtable indexFields = null; if(appUtils.setIndexFieldsOnMultiForm(credentials,request, true,true)){ indexFields = credentials.indexFields; } System.out.println("After hashtable"); int numFields =indexFields.size(); System.out.println("After hashtable numFields"+numFields); int counter = 0; while(counter < numFields){ String fieldname = ""; String displayText = ""; String indexLength = ""; String isCustField = ""; String fieldType = ""; String indexVal = ""; String custOutput = ""; //Loop through the fields extracting them in the right order. Enumeration keys = indexFields.keys(); loop:while(keys.hasMoreElements()){ String index = (String)keys.nextElement(); FieldInfo indexFieldInfo = (FieldInfo) indexFields.get(index); if(indexFieldInfo.order == counter){ fieldname = indexFieldInfo.fieldName; displayText = indexFieldInfo.displayText; indexLength = indexFieldInfo.indexLength; isCustField = indexFieldInfo.isCustField; fieldType = indexFieldInfo.fieldType; indexVal = indexFieldInfo.value; custOutput = indexFieldInfo.formObject; break loop; } } if(indexVal == null){ indexVal = ""; } if(indexVal.equals("null")){ indexVal = ""; }%> <% counter++; }%>
<%=displayText%> <% if(!isCustField.equals("1")){ if(custOutput.equals("")){%> <% } else {%> <%=custOutput%> <% } } else { Vector custListVals = appUtils.getListVals(appid,fieldname); %> <%} if(isCustField.equals(common.DATE_FIELD_TYPE)){ %> ( <%=appUtils.getDateFormatForField(credentials,fieldname)%> ) <%}%>
 
File Name:
   
   
 
Copyright © 2002 OZe Storage Solutions.