anchor.diff: -<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
  +
   <%
   /**
    * OpenCPS is the open source Core Public Services software
  
positive.code: 
  <c:if test="<%=JobPosPermission.contains(permissionChecker, scopeGroupId, ActionKeys.ADD_JOBPOS	) %>">
  	<aui:button 
  	name="add-jobpos"
  	value="add-jobpos"
  	onClick="<%= \"javascript:\" + renderResponse.getNamespace() + \"showPopupJobPoses('\" + updateJobPosURL +\"');\" %>"
  />
  </c:if>
  
  <liferay-ui:search-container searchContainer="<%= new JobPosSearch(renderRequest ,totalCount, iteratorURL) %>">
  	
  	<liferay-ui:search-container-results>
  		<%@include file="/html/portlets/usermgt/admin/jobpos_search_results.jspf"%>
  	</liferay-ui:search-container-results>
  	
  	<liferay-ui:search-container-row 
  		className="org.opencps.usermgt.model.JobPos" 
  		modelVar="jobPosSearch" 
  		keyProperty="jobPosId"
  	>
  		<%
  			String leaderName = PortletUtil.getLeaderLabel(jobPosSearch.getLeader(), locale);
  		    row.addText(String.valueOf(row.getPos() + 1));
  			row.addText(jobPosSearch.getTitle());
  			row.addText(leaderName);
  			row.addJSP("center", SearchEntry.DEFAULT_VALIGN,  templatePath +
  				"jobpos_action.jsp", config.getServletContext(), request, response);
  		%>
  	</liferay-ui:search-container-row>
  	<liferay-ui:search-iterator paginate="false"/>
  </liferay-ui:search-container>
  
  
  <aui:script>
  	Liferay.provide(window, '<portlet:namespace />showPopupJobPoses', function(url){
  		Liferay.Util.openWindow({
  			dialog : {
  				centered : true,
  				height : 800,
  				modal : true,
  				width : 11000
  			},
  			id : '<portlet:namespace/>dialogJobPoses',
  			title : '',
  			uri : url
  		});
  	});
  </aui:script>
  
  <aui:script>
  	Liferay.provide(window, '<portlet:namespace/>closePopup', function(
  			dialogId) {
  		var A = AUI();
  		// Closing the dialog
  		var dialog = Liferay.Util.Window.getById(dialogId);
  		dialog.destroy();
  		var data = {
  			'conserveHash': true
  		};
  		 Liferay.Util.getOpener().Liferay.Portlet.refresh('#p_p_id' + '<portlet:namespace/>', data); 
  	}, [ 'liferay-util-window','aui-dialog','aui-dialog-iframe' ]);
  </aui:script>
negative.code: 	try {
  		totalCount = JobPosLocalServiceUtil.countAll();
  	} catch (Exception e) {}
  	
  	List<String> headerNames = new ArrayList<String>();
  	
  	headerNames.add("no");
  	headerNames.add("title");
  	headerNames.add("leader-name");
  	headerNames.add("action");
  
  	String headers = StringUtil.merge(headerNames, StringPool.COMMA);
  %>
  
  <portlet:renderURL var="updateJobPosURL" windowState="<%=LiferayWindowState.POP_UP.toString() %>">
  