anchor.diff: +
  +<%
  +/**
  + * OpenCPS is the open source Core Public Services software
  + * Copyright (C) 2016-present OpenCPS community
  + * 
  + * This program is free software: you can redistribute it and/or modify
  + * it under the terms of the GNU Affero General Public License as published by
  + * the Free Software Foundation, either version 3 of the License, or
  + * any later version.
  + * 
  + * This program is distributed in the hope that it will be useful,
  + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  + * GNU Affero General Public License for more details.
  + * You should have received a copy of the GNU Affero General Public License
  + * along with this program. If not, see <http://www.gnu.org/licenses/>.
  + */
  +%>
   <%@page import="com.liferay.portal.NoSuchOrganizationException"%>
   <%@page import="com.liferay.portal.kernel.search.SearchException"%>
   <%@page import="com.liferay.portal.kernel.exception.SystemException"%>
  
positive.code: 				pageContext.setAttribute("total", total);				
  		%>
  	</liferay-ui:search-container-results>	
  		<liferay-ui:search-container-row 
  			className="org.opencps.dossiermgt.model.DossierFile" 
  			modelVar="dossierFile" 
  			keyProperty="dossierFileId"
  		>
  			<%				
  			    // no column
  				row.addText(String.valueOf(row.getPos() + 1));		
  			
  				// file no column
  				row.addText(dossierFile.getDossierFileNo());
  				
  				// file date column
  				row.addText(Validator.isNotNull(dossierFile.getDossierFileDate()) ? dateFormatDate.format(dossierFile.getDossierFileDate()) : "");
  				
  				// display name column
  				row.addText(dossierFile.getDisplayName());
  				
  				// gov agency name column
  				row.addText("");
  				
  				// owner name column
  				if (Validator.isNotNull(dossierFile.getOwnerUserId())) {
  					row.addText(UserLocalServiceUtil.getUser(dossierFile.getOwnerUserId()).getFullName());
  				}
  				else if (Validator.isNotNull(dossierFile.getOwnerOrganizationId())) {
  					try {
  						row.addText(OrganizationLocalServiceUtil.getOrganization(dossierFile.getOwnerOrganizationId()).getName());
  					}
  					catch (NoSuchOrganizationException e) {
  						row.addText("");
  					}
  				}
  				else {
  					row.addText("");
  				}
  				
  			%>	
  		</liferay-ui:search-container-row> 
  	
  	<liferay-ui:search-iterator type="opencs_page_iterator"/>
  </liferay-ui:search-container>
  
  <%!
  
negative.code: <%@page import="com.liferay.portal.kernel.log.LogFactoryUtil"%>
  <%@page import="com.liferay.portal.kernel.log.Log"%>
  <%@page import="javax.portlet.PortletURL"%>
  
  <%@ include file="../init.jsp"%>
  
  
  <div class="home-search">
  	<liferay-util:include page="/html/portlets/dossiermgt/monitoring/toolbar.jsp" servletContext="<%=application %>" />	
  </div>
  