anchor.diff:  <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
   <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
   
  +<c:choose>
  +	<c:when
  +		test="${! empty chemicalAssociationForm.map.assoc.attachment.id }">
  +		<c:set var="style" value="" />
  +	</c:when>
  +	<c:otherwise>
  +		<c:set var="style" value="display:none" />
  +	</c:otherwise>
  +</c:choose>
  +<c:choose>
  +	<c:when
  +		test="${! empty chemicalAssociationForm.map.assoc.associatedElementA.composingElement.id }">
  +		<c:set var="ceStyleA" value="" />
  +	</c:when>
  +	<c:otherwise>
  +		<c:set var="ceStyleA" value="display:none" />
  +
  +	</c:otherwise>
  +</c:choose>
  +<c:choose>
  +	<c:when
  +		test="${! empty chemicalAssociationForm.map.assoc.associatedElementB.composingElement.id }">
  +		<c:set var="ceStyleB" value="" />
  +	</c:when>
  +	<c:otherwise>
  +		<c:set var="ceStyleB" value="display:none" />
  +	</c:otherwise>
  +</c:choose>
   <html:form action="/chemicalAssociation">
   	<table width="100%" align="center">
   		<tr>
  
positive.code: 											property="assoc.associatedElementB.compositionType"
  											onchange="getAssociatedElementOptions('compositionTypeB', 'entityTypeB', 'compEleB')">
  											<option value="" />
  											<option value="Nanoparticle Entity">
  												Nanoparticle Entity
  											</option>
  											<option value="Functionalizing Entity">
  												Functionalizing Entity
  											</option>
  										</html:select>
  									</li>
  									<li>
  
negative.code: 												property="assoc.associatedElementB.entityId"
  												onchange="getAssociatedComposingElements('compositionTypeB', 'entityTypeB', 'compEleTypeB', 'compEleB');
  															setEntityDisplayName('entityTypeB', 'entityDisplayB');">
  												<c:if
  													test="${! empty chemicalAssociationForm.map.assoc.domainAssociation.id }">
  													<c:forEach var="dataLink" items="${entityListB}">
  														<c:choose>
  															<c:when
  																test="${dataLink.dataId eq chemicalAssociationForm.map.assoc.associatedElementB.entityId }">
  																<option value="${dataLink.dataId }" selected>
  																	${dataLink.dataDisplayType}
  																</option>
  															</c:when>
  															<c:otherwise>
  																<option value="${dataLink.dataId }">
  																	${dataLink.dataDisplayType}
  																</option>
  															</c:otherwise>
  														</c:choose>
  													</c:forEach>
  												</c:if>
  											</html:select> </span>
  										<html:hidden styleId="entityDisplayB"
  											property="assoc.associatedElementB.entityDisplayName"
  											value="${chemicalAssociationForm.map.assoc.associatedElementB.entityDisplayName}" />
  									</li>
  									<li>
  										<span class="indented3" id="compEleB" style="${ceStyleB}"><html:select
  												styleId="compEleTypeB"
  												property="assoc.associatedElementB.composingElement.id">
  
  												<c:if test="${!empty ceListB}">
  													<c:forEach var="ce" items="${ceListB}">
  														<c:choose>
  															<c:when
  																test="${ce.domainComposingElement.id eq chemicalAssociationForm.map.assoc.associatedElementB.composingElement.id }">
  																<option value="${ce.domainComposingElement.id }"
  																	selected>
  																	${ce.displayName }
  																</option>
  															</c:when>
  															<c:otherwise>
  																<option value="${ce.domainComposingElement.id }">
  																	${ce.displayName }
  																</option>
  															</c:otherwise>
  														</c:choose>
  													</c:forEach>
  												</c:if>
  											</html:select> </span>
  									</li>
  								</ul>
  