anchor.diff:  									
   										<span class="opencps dossiermgt dossier-part-control">
   											<liferay-util:include 
  -												page='<%=templatePath + (cmd.equals(Constants.VIEW) ? "overview_files.jsp" : "dossier_file_controls.jsp") %>' 
  +												page="/html/common/portlet/dossier_actions.jsp" 
   												servletContext="<%=application %>"
   											>
   												<portlet:param 
  
positive.code: 		}
  	});
  	
  	
  	Liferay.provide(window, '<portlet:namespace/>removeFileUpload', function(e) {
  		if(confirm('<%= UnicodeLanguageUtil.get(pageContext, "are-you-sure-remove-dossier-file") %>')){
  			var A = AUI();
  			
  			var instance = A.one(e);
  			
  			var dossierFileId = instance.attr('dossier-file');
  			
  			if(parseInt(dossierFileId) > 0){
  				var portletURL = Liferay.PortletURL.createURL('<%= PortletURLFactoryUtil.create(request, WebKeys.DOSSIER_MGT_PORTLET, themeDisplay.getPlid(), PortletRequest.ACTION_PHASE) %>');
  
  				portletURL.setParameter("javax.portlet.action", "deleteAttachmentFile");
  				portletURL.setParameter("dossierFileId", dossierFileId);
  				portletURL.setPortletMode("view");
  				portletURL.setWindowState('<%=WindowState.NORMAL%>');
  				
  				A.io.request(
  					portletURL.toString(),
  					{
  						on: {
  							success: function(event, id, obj) {
  								var response = this.get('responseData');
  								if(response){
  									response = JSON.parse(response);
  									
  									if(response.deleted == true){
  										var data = {};
  
  										
  										data['_<%=WebKeys.DOSSIER_MGT_PORTLET  %>_tab'] = '_<%= WebKeys.DOSSIER_MGT_PORTLET %>_dossier_part';
  
  										//Liferay.Portlet.refresh(curPortletBoundaryId, data);
  										Liferay.Util.getOpener().Liferay.Portlet.refresh('#p_p_id_<%= WebKeys.DOSSIER_MGT_PORTLET %>_', data);
  									}else{
  										alert('<%= UnicodeLanguageUtil.get(pageContext, "error-while-remove-this-file") %>');
  									}
  								}
  							}
  						}
  					}
  				);
  			}
  			
  		}
  	});
  	
  	
  	Liferay.provide(window, '<portlet:namespace/>declarationOnline', function(e) {
  		
  
negative.code: 		<portlet:namespace/>openDossierDialog(portletURL.toString(), '<portlet:namespace />dynamicForm','<%= UnicodeLanguageUtil.get(pageContext, "declaration-online") %>');
  	});
  
  
  
  
  </aui:script>
  