anchor.diff:  <%@page import="org.opencps.dossiermgt.NoSuchDossierException"%>
   <%@page import="com.liferay.portal.RolePermissionsException"%>
   <%@page import="javax.portlet.PortletPreferences"%>
  +<%@page import="com.liferay.portal.kernel.language.LanguageUtil"%>
  +<%@page import="org.opencps.util.PortletPropsValues"%>
   <%@ include file="/init.jsp"%>
   
   <%
  
positive.code: 		
  		// Validate size and type file upload
  		
  		var fileTypes = '<%=fileTypes %>';
  		var maxUploadFileSizeInMb = <%=maxUploadFileSizeInMb %>;
  		var maxUploadFileSizeInByte = maxUploadFileSizeInMb*1024*1024;
  		
  		var fileUploadSizeInByte = 0;
  		var fileUploadName = '';
  		
  		var fileTypeArr = fileTypes.split(/\W+/);
  		var fileUploadTypeIsAgreed = false;
  		
  		$('#<portlet:namespace />dossierFileUpload').on('change', function() {
  			
  			fileUploadSizeInByte = this.files[0].size;
  			fileUploadName = this.files[0].name;
  
  			for (var i = 0; i < fileTypeArr.length; i++) {
  				if (fileUploadName.endsWith(fileTypeArr[i])){
  					fileUploadTypeIsAgreed = true;
  				}
  			}
  		});
  		
  		if(agreeButton) {
  
negative.code: 
  <%
  /**
   * OpenCPS is the open source Core Public Services software
  