anchor.diff:  	<aui:input name="<%=DossierFileDisplayTerms.DOSSIER_FILE_ORIGINAL %>" type="hidden" value="<%=String.valueOf(PortletConstants.DOSSIER_FILE_ORIGINAL) %>"/>
   	<aui:input name="<%=DossierFileDisplayTerms.DOSSIER_FILE_TYPE %>" type="hidden" value="<%=String.valueOf(renderResponse.getNamespace().equals(StringPool.UNDERLINE + WebKeys.DOSSIER_MGT_PORTLET + StringPool.UNDERLINE)  ? PortletConstants.DOSSIER_FILE_TYPE_INPUT : PortletConstants.DOSSIER_FILE_TYPE_OUTPUT) %>"/>
   	<aui:input name="<%=DossierFileDisplayTerms.GROUP_NAME %>" type="hidden" value="<%=groupName %>"/>
  -	<aui:input name="<%=DossierFileDisplayTerms.FILE_TYPES %>" type="hidden" value="<%=fileTypes %>"/>
  +	<aui:input name="<%=DossierFileDisplayTerms.FILE_TYPES %>" type="hidden" value="<%=uploadFileTypes %>"/>
   	<aui:input name="<%=DossierFileDisplayTerms.MAX_UPLOAD_FILE_SIZE %>" type="hidden" value="<%=maxUploadFileSize %>"/>
   	<aui:input name="<%=DossierFileDisplayTerms.MAX_UPLOAD_FILE_SIZE_UNIT %>" type="hidden" value="<%=maxUploadFileSizeUnit %>"/>
   	<aui:input name="<%=DossierFileDisplayTerms.MAX_TOTAL_UPLOAD_FILE_SIZE %>" type="hidden" value="<%=maxTotalUploadFileSize %>"/>
  
positive.code: 		// Validate size and type file upload
  		
  		
  		var maxUploadFileSizeInByte = <%=PortletUtil.convertSizeUnitToByte(maxUploadFileSize, maxUploadFileSizeUnit)%>;
  		
  		var maxTotalUploadFileSizeInByte = <%=PortletUtil.convertSizeUnitToByte(maxTotalUploadFileSize, maxTotalUploadFileSizeUnit)%>;
  		
  		var fileUploadSizeInByte = 0;
  		var totalUploadFileSizeInByte = <%=totalUploadFileSizeInByte%>;
  		
  		$('#<portlet:namespace />dossierFileUpload').on('change', function() {
  			fileUploadSizeInByte = this.files[0].size;
  
negative.code: 	</aui:row>
  	<aui:row>
  		<%
  			
  			String exceptedFileType = StringPool.BLANK;
  			if (uploadFileTypes == StringPool.BLANK){
  				exceptedFileType = StringUtil.merge(PortletPropsValues.ACCOUNTMGT_FILE_TYPE, ", ");
  			} else {
  				String[] fileTypeArr = uploadFileTypes.split("\\W+");
  				exceptedFileType= StringUtil.merge(fileTypeArr, ", ");
  			}
  		%>
  		<aui:col width="100">
  			<aui:input name="<%=DossierFileDisplayTerms.DOSSIER_FILE_UPLOAD %>" type="file">
  				<aui:validator name="acceptFiles">
  
  					'<%=exceptedFileType %>'
  
  				</aui:validator>
  			</aui:input>
  			<div class="alert alert-info" role="alert">
  