<%@taglib prefix="s" uri="/struts-tags" %> <%@ page import="java.util.HashMap, java.util.List, com.k_int.aggregator.dto.AggregatorCollectionDTO, java.util.Iterator, java.util.Set" %> <% String base_dir = request.getContextPath(); %> Collection Administration

Collection Search Form





<% List collList = (List)request.getAttribute("collections"); HashMap parentCollList = (HashMap)request.getAttribute("parentCollList"); if ( collList != null ) { Iterator collIter = collList.iterator(); if ( collIter != null ) { int counter = 0; while(collIter.hasNext()) { AggregatorCollectionDTO nextColl = collIter.next(); String parentCode = ""; if ( parentCollList.containsKey(nextColl.getId()) ) { parentCode = parentCollList.get(nextColl.getId()); } String desc = ""; if ( nextColl.getDescription() != null && !nextColl.getDescription().equalsIgnoreCase("null") ) { desc = nextColl.getDescription(); } if (counter % 2 == 0) { out.println(""); } else { out.println(""); } %> <% counter++; } } } %>
Code  Name  Public  Type  Parent collection code 
<%=nextColl.getCollectionCode() %> <%=nextColl.getName() %> <%=nextColl.getManagementInfo().getSearchable()%> <%=nextColl.getCollectionType() %> <%=parentCode%>