Changeset 16252

Show
Ignore:
Timestamp:
17/07/08 17:30:58 (1 month ago)
Author:
kmr
Message:

Fixed chromosomeLocDisplayer.jsp to work when chromosome is not set.
Refs #1781.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/bio/webapp/resources/webapp/model/chromosomeLocDisplayer.jsp

    r15749 r16252  
    66<html:xhtml/> 
    77<c:choose> 
    8   <c:when test="${!empty interMineObject.chromosome}"> 
    9     ${interMineObject.chromosome.primaryIdentifier}<c:if test="${!empty interMineObject.chromosomeLocation && !empty interMineObject.chromosomeLocation.start}">: ${interMineObject.chromosomeLocation.start}-${interMineObject.chromosomeLocation.end} 
     8  <c:when test="${!empty interMineObject.chromosomeLocation && !empty interMineObject.chromosomeLocation.object}"> 
     9    ${interMineObject.chromosomeLocation.object.primaryIdentifier}<c:if test="${!empty interMineObject.chromosomeLocation && !empty interMineObject.chromosomeLocation.start}">: ${interMineObject.chromosomeLocation.start}-${interMineObject.chromosomeLocation.end} 
    1010    </c:if> 
    1111  </c:when>