anchor.diff:  	<tr>
   		<c:choose>
   			<c:when
  -				test="${!empty theSample.domain.publicationCollection || !empty user && user.curator}">
  +				test="${theSample.hasPublications || !empty user && user.curator}">
   				<c:url var="pubUrl" value="publication.do">
   					<c:param name="dispatch" value="${dispatch}" />
   					<c:param name="sampleId" value="${sampleId}" />
  
positive.code: 	<tr>
  		<c:choose>
  			<c:when
  				test="${!empty theSample.domain.characterizationCollection || !empty user && user.curator}">
  				<c:url var="charUrl" value="characterization.do">
  					<c:param name="dispatch" value="${dispatch}" />
  					<c:param name="sampleId" value="${sampleId}" />
  
negative.code: 	<tr>
  		<c:choose>
  			<c:when
  				test="${theSample.hasComposition|| !empty user && user.curator}">
  				<c:url var="compUrl" value="composition.do">
  					<c:param name="dispatch" value="${dispatch}" />
  					<c:param name="sampleId" value="${sampleId}" />
  