Changeset 6691 for trunk/www/views/experiments/bioassays/list_bioassays.jsp
- Timestamp:
- Jan 21, 2015, 1:30:52 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/views/experiments/bioassays/list_bioassays.jsp
r6604 r6691 103 103 try 104 104 { 105 finalItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType);105 ItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType); 106 106 SnapshotManager manager = new SnapshotManager(); 107 107 for (AnnotationType at : annotationTypeQuery.list(dc)) 108 108 { 109 109 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at)); 110 } 111 annotationTypeQuery = Base.getInheritedAnnotationColumns(cc.getSetting("columns")); 112 for (AnnotationType at : annotationTypeQuery.list(dc)) 113 { 114 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at, false, true)); 110 115 } 111 116 final BioAssaySet bioAssaySet = BioAssaySet.getById(dc, bioAssaySetId); … … 192 197 item="<%=itemType%>" 193 198 subclass="fulltable" 199 data-inherited-annotations="true" 194 200 > 195 201 <tbl:hidden … … 280 286 %> 281 287 <tbl:columndef 282 id="<%= "at"+at.getId()%>"283 title="<%=HTML.encodeTags(at.getName())+ " [A]"%>"284 property="<%= "#"+at.getId()%>"288 id="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+at.getId()%>" 289 title="<%=HTML.encodeTags(at.getName())+(loader.isSearchingInheritedAnnotations() ? " [I]" : " [A]")%>" 290 property="<%=(loader.isSearchingInheritedAnnotations() ? "##" : "#")+at.getId()%>" 285 291 annotation="true" 286 292 datatype="<%=at.getValueType().getStringValue()%>" 287 293 enumeration="<%=annotationEnum%>" 288 294 smartenum="<%=at.getDisplayAsList() %>" 289 sortable="<%=at.getMultiplicity() == 1 %>"295 sortable="<%=at.getMultiplicity() == 1 && !loader.isSearchingInheritedAnnotations()%>" 290 296 filterable="true" 291 297 exportable="true" … … 528 534 %> 529 535 <tbl:cell 530 column="<%= "at"+loader.getId()%>"536 column="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+loader.getId()%>" 531 537 ><tbl:cellvalue 532 538 list="<%=loader.getValues()%>"
Note: See TracChangeset
for help on using the changeset viewer.