anchor.diff:  			<c:when test="<%=partType == PortletConstants.DOSSIER_PART_TYPE_SUBMIT%>">
   				<td width="80%" align="right">
   					<c:choose>
  -						<c:when test="<%=isDynamicForm %>">
  -							<aui:a 
  -								id="<%=String.valueOf(dossierPartId) %>"
  -								dossier-part="<%=String.valueOf(isChildDossierPart ? childDossierPartId : dossierPartId) %>"
  -								dossier-file="<%=String.valueOf(dossierFileId) %>"
  +						<c:when test="<%=isDynamicForm && fileEntryId <= 0 %>">
  +							<aui:a 
  +								id="<%=String.valueOf(dossierPartId) %>"
  +								dossier="<%=String.valueOf(dossierId) %>"
  +								dossier-part="<%=String.valueOf(isChildDossierPart ? childDossierPartId : dossierPartId) %>"
  +								dossier-file="<%=String.valueOf(dossierFileId) %>"
  +								file-group="<%=String.valueOf(fileGroupId) %>"
   								group-dossier-part="<%=String.valueOf(groupDossierPartId) %>"
   								group-name="<%=groupName %>"
   								href="javascript:void(0);" 
   								label="declaration-online" 
   								cssClass="opencps dossiermgt part-file-ctr declaration-online"
  -								onClick='<%=renderResponse.getNamespace() + "declarationOnline(this)" %>'
   								title="declaration-online"
  +							/>
  +						</c:when>
  +						<c:when test="<%=isDynamicForm && fileEntryId > 0  %>">
  +							<aui:a 
  +								id="<%=String.valueOf(dossierPartId) %>"
  +								dossier="<%=String.valueOf(dossierId) %>"
  +								dossier-part="<%=String.valueOf(isChildDossierPart ? childDossierPartId : dossierPartId) %>"
  +								dossier-file="<%=String.valueOf(dossierFileId) %>"
  +								file-group="<%=String.valueOf(fileGroupId) %>"
  +								group-dossier-part="<%=String.valueOf(groupDossierPartId) %>"
  +								group-name="<%=groupName %>"
  +								href="javascript:void(0);" 
  +								label="view-form" 
  +								cssClass="opencps dossiermgt part-file-ctr view-form"
  +								title="view-form"
   							/>
   						</c:when>
   						<c:otherwise>
  
positive.code: 								</c:otherwise>
  							</c:choose>
  						</c:otherwise>
  					</c:choose>
  				</td>
  				
  				<td width="10%" align="right">
  
negative.code: 			<c:when test="<%=partType == PortletConstants.DOSSIER_PART_TYPE_RESULT %>">
  				<td width="80%" align="right">
  					<c:choose>
  						<c:when test="<%=isDynamicForm && fileEntryId <= 0  %>">
  							<aui:a 
  								id="<%=String.valueOf(dossierPartId) %>"
  								dossier="<%=String.valueOf(dossierId) %>"
  								dossier-part="<%=String.valueOf(isChildDossierPart ? childDossierPartId : dossierPartId) %>"
  								dossier-file="<%=String.valueOf(dossierFileId) %>"
  								file-group="<%=String.valueOf(fileGroupId) %>"
  								group-dossier-part="<%=String.valueOf(groupDossierPartId) %>"
  								group-name="<%=groupName %>"
  								href="javascript:void(0);" 
  								label="declaration-online" 
  								cssClass="opencps dossiermgt part-file-ctr declaration-online"
  								title="declaration-online"
  							/>
  						</c:when>
  						<c:when test="<%=isDynamicForm && fileEntryId > 0  %>">
  							<aui:a 
  								id="<%=String.valueOf(dossierPartId) %>"
  								dossier="<%=String.valueOf(dossierId) %>"
  								dossier-part="<%=String.valueOf(isChildDossierPart ? childDossierPartId : dossierPartId) %>"
  								dossier-file="<%=String.valueOf(dossierFileId) %>"
  								file-group="<%=String.valueOf(fileGroupId) %>"
  								group-dossier-part="<%=String.valueOf(groupDossierPartId) %>"
  								group-name="<%=groupName %>"
  								href="javascript:void(0);" 
  								label="view-form" 
  								cssClass="opencps dossiermgt part-file-ctr view-form"
  								title="view-form"
  							/>
  						</c:when>
  						<c:otherwise>
  