Changeset 6690
- Timestamp:
- Jan 21, 2015, 1:25:49 PM (8 years ago)
- Location:
- trunk/www
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/biomaterials/extracts/list_extracts.jsp
r6604 r6690 108 108 try 109 109 { 110 finalItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType);110 ItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType); 111 111 SnapshotManager manager = new SnapshotManager(); 112 112 for (AnnotationType at : annotationTypeQuery.list(dc)) 113 113 { 114 114 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at)); 115 } 116 annotationTypeQuery = Base.getInheritedAnnotationColumns(cc.getSetting("columns")); 117 for (AnnotationType at : annotationTypeQuery.list(dc)) 118 { 119 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at, false, true)); 115 120 } 116 121 final ItemQuery<ItemSubtype> subtypesQuery = Base.getSubtypesQuery(itemType); … … 208 213 item="<%=itemType%>" 209 214 subclass="fulltable" 215 data-inherited-annotations="true" 210 216 > 211 217 <tbl:hidden … … 453 459 %> 454 460 <tbl:columndef 455 id="<%= "at"+at.getId()%>"456 title="<%=HTML.encodeTags(at.getName())+ " [A]"%>"457 property="<%= "#"+at.getId()%>"461 id="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+at.getId()%>" 462 title="<%=HTML.encodeTags(at.getName())+(loader.isSearchingInheritedAnnotations() ? " [I]" : " [A]")%>" 463 property="<%=(loader.isSearchingInheritedAnnotations() ? "##" : "#")+at.getId()%>" 458 464 annotation="true" 459 465 datatype="<%=at.getValueType().getStringValue()%>" 460 466 enumeration="<%=annotationEnum%>" 461 467 smartenum="<%=at.getDisplayAsList() %>" 462 sortable="<%=at.getMultiplicity() == 1 %>"468 sortable="<%=at.getMultiplicity() == 1 && !loader.isSearchingInheritedAnnotations()%>" 463 469 filterable="true" 464 470 exportable="true" … … 924 930 %> 925 931 <tbl:cell 926 column="<%= "at"+loader.getId()%>"932 column="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+loader.getId()%>" 927 933 ><tbl:cellvalue 928 934 list="<%=loader.getValues()%>" -
trunk/www/biomaterials/samples/list_samples.jsp
r6604 r6690 106 106 try 107 107 { 108 finalItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType);108 ItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType); 109 109 final ItemQuery<ItemSubtype> subtypesQuery = Base.getSubtypesQuery(itemType); 110 110 … … 138 138 { 139 139 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at)); 140 } 141 annotationTypeQuery = Base.getInheritedAnnotationColumns(cc.getSetting("columns")); 142 for (AnnotationType at : annotationTypeQuery.list(dc)) 143 { 144 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at, false, true)); 140 145 } 141 146 try … … 197 202 item="<%=itemType%>" 198 203 subclass="fulltable" 204 data-inherited-annotations="true" 199 205 > 200 206 <tbl:hidden … … 425 431 %> 426 432 <tbl:columndef 427 id="<%= "at"+at.getId()%>"428 title="<%=HTML.encodeTags(at.getName())+ " [A]"%>"429 property="<%= "#"+at.getId()%>"433 id="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+at.getId()%>" 434 title="<%=HTML.encodeTags(at.getName())+(loader.isSearchingInheritedAnnotations() ? " [I]" : " [A]")%>" 435 property="<%=(loader.isSearchingInheritedAnnotations() ? "##" : "#")+at.getId()%>" 430 436 annotation="true" 431 437 datatype="<%=at.getValueType().getStringValue()%>" 432 438 enumeration="<%=annotationEnum%>" 433 439 smartenum="<%=at.getDisplayAsList() %>" 434 sortable="<%=at.getMultiplicity() == 1 %>"440 sortable="<%=at.getMultiplicity() == 1 && !loader.isSearchingInheritedAnnotations()%>" 435 441 filterable="true" 436 442 exportable="true" … … 855 861 %> 856 862 <tbl:cell 857 column="<%= "at"+loader.getId()%>"863 column="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+loader.getId()%>" 858 864 ><tbl:cellvalue 859 865 list="<%=loader.getValues()%>" -
trunk/www/lims/arraybatches/list_batches.jsp
r6604 r6690 98 98 { 99 99 Formatter<Date> dateFormatter = FormatterFactory.getDateFormatter(sc); 100 finalItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType);100 ItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType); 101 101 SnapshotManager manager = new SnapshotManager(); 102 102 for (AnnotationType at : annotationTypeQuery.list(dc)) 103 103 { 104 104 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at)); 105 } 106 annotationTypeQuery = Base.getInheritedAnnotationColumns(cc.getSetting("columns")); 107 for (AnnotationType at : annotationTypeQuery.list(dc)) 108 { 109 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at, false, true)); 105 110 } 106 111 … … 146 151 item="<%=itemType%>" 147 152 subclass="fulltable" 153 data-inherited-annotations="true" 148 154 > 149 155 <tbl:hidden … … 256 262 %> 257 263 <tbl:columndef 258 id="<%= "at"+at.getId()%>"259 title="<%=HTML.encodeTags(at.getName())+ " [A]"%>"260 property="<%= "#"+at.getId()%>"264 id="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+at.getId()%>" 265 title="<%=HTML.encodeTags(at.getName())+(loader.isSearchingInheritedAnnotations() ? " [I]" : " [A]")%>" 266 property="<%=(loader.isSearchingInheritedAnnotations() ? "##" : "#")+at.getId()%>" 261 267 annotation="true" 262 268 datatype="<%=at.getValueType().getStringValue()%>" 263 269 enumeration="<%=annotationEnum%>" 264 270 smartenum="<%=at.getDisplayAsList() %>" 265 sortable="<%=at.getMultiplicity() == 1 %>"271 sortable="<%=at.getMultiplicity() == 1 && !loader.isSearchingInheritedAnnotations()%>" 266 272 filterable="true" 267 273 exportable="true" … … 548 554 %> 549 555 <tbl:cell 550 column="<%= "at"+loader.getId()%>"556 column="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+loader.getId()%>" 551 557 ><tbl:cellvalue 552 558 list="<%=loader.getValues()%>" -
trunk/www/lims/arraydesigns/list_designs.jsp
r6604 r6690 111 111 try 112 112 { 113 finalItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType);113 ItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType); 114 114 SnapshotManager manager = new SnapshotManager(); 115 115 for (AnnotationType at : annotationTypeQuery.list(dc)) 116 116 { 117 117 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at)); 118 } 119 annotationTypeQuery = Base.getInheritedAnnotationColumns(cc.getSetting("columns")); 120 for (AnnotationType at : annotationTypeQuery.list(dc)) 121 { 122 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at, false, true)); 118 123 } 119 124 … … 172 177 item="<%=itemType%>" 173 178 subclass="fulltable" 179 data-inherited-annotations="true" 174 180 > 175 181 <tbl:hidden … … 355 361 %> 356 362 <tbl:columndef 357 id="<%= "at"+at.getId()%>"358 title="<%=HTML.encodeTags(at.getName())+ " [A]"%>"359 property="<%= "#"+at.getId()%>"363 id="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+at.getId()%>" 364 title="<%=HTML.encodeTags(at.getName())+(loader.isSearchingInheritedAnnotations() ? " [I]" : " [A]")%>" 365 property="<%=(loader.isSearchingInheritedAnnotations() ? "##" : "#")+at.getId()%>" 360 366 annotation="true" 361 367 datatype="<%=at.getValueType().getStringValue()%>" 362 368 enumeration="<%=annotationEnum%>" 363 369 smartenum="<%=at.getDisplayAsList() %>" 364 sortable="<%=at.getMultiplicity() == 1 %>"370 sortable="<%=at.getMultiplicity() == 1 && !loader.isSearchingInheritedAnnotations()%>" 365 371 filterable="true" 366 372 exportable="true" … … 675 681 %> 676 682 <tbl:cell 677 column="<%= "at"+loader.getId()%>"683 column="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+loader.getId()%>" 678 684 ><tbl:cellvalue 679 685 list="<%=loader.getValues()%>" -
trunk/www/lims/arrayslides/list_slides.jsp
r6604 r6690 94 94 { 95 95 Formatter<Date> dateFormatter = FormatterFactory.getDateFormatter(sc); 96 finalItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType);96 ItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType); 97 97 SnapshotManager manager = new SnapshotManager(); 98 98 for (AnnotationType at : annotationTypeQuery.list(dc)) 99 99 { 100 100 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at)); 101 } 102 annotationTypeQuery = Base.getInheritedAnnotationColumns(cc.getSetting("columns")); 103 for (AnnotationType at : annotationTypeQuery.list(dc)) 104 { 105 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at, false, true)); 101 106 } 102 107 … … 135 140 item="<%=itemType%>" 136 141 subclass="fulltable" 142 data-inherited-annotations="true" 137 143 > 138 144 <tbl:hidden … … 265 271 %> 266 272 <tbl:columndef 267 id="<%= "at"+at.getId()%>"268 title="<%=HTML.encodeTags(at.getName())+ " [A]"%>"269 property="<%= "#"+at.getId()%>"273 id="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+at.getId()%>" 274 title="<%=HTML.encodeTags(at.getName())+(loader.isSearchingInheritedAnnotations() ? " [I]" : " [A]")%>" 275 property="<%=(loader.isSearchingInheritedAnnotations() ? "##" : "#")+at.getId()%>" 270 276 annotation="true" 271 277 datatype="<%=at.getValueType().getStringValue()%>" 272 278 enumeration="<%=annotationEnum%>" 273 279 smartenum="<%=at.getDisplayAsList() %>" 274 sortable="<%=at.getMultiplicity() == 1 %>"280 sortable="<%=at.getMultiplicity() == 1 && !loader.isSearchingInheritedAnnotations()%>" 275 281 filterable="true" 276 282 exportable="true" … … 533 539 %> 534 540 <tbl:cell 535 column="<%= "at"+loader.getId()%>"541 column="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+loader.getId()%>" 536 542 ><tbl:cellvalue 537 543 list="<%=loader.getValues()%>" -
trunk/www/views/derivedbioassays/list_bioassays.jsp
r6604 r6690 98 98 try 99 99 { 100 finalItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType);100 ItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType); 101 101 SnapshotManager manager = new SnapshotManager(); 102 102 for (AnnotationType at : annotationTypeQuery.list(dc)) 103 103 { 104 104 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at)); 105 } 106 annotationTypeQuery = Base.getInheritedAnnotationColumns(cc.getSetting("columns")); 107 for (AnnotationType at : annotationTypeQuery.list(dc)) 108 { 109 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at, false, true)); 105 110 } 106 111 final ItemQuery<ItemSubtype> subtypesQuery = Base.getSubtypesQuery(itemType); … … 168 173 item="<%=itemType%>" 169 174 subclass="fulltable" 175 data-inherited-annotations="true" 170 176 > 171 177 <tbl:hidden … … 333 339 %> 334 340 <tbl:columndef 335 id="<%= "at"+at.getId()%>"336 title="<%=HTML.encodeTags(at.getName())+ " [A]"%>"337 property="<%= "#"+at.getId()%>"341 id="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+at.getId()%>" 342 title="<%=HTML.encodeTags(at.getName())+(loader.isSearchingInheritedAnnotations() ? " [I]" : " [A]")%>" 343 property="<%=(loader.isSearchingInheritedAnnotations() ? "##" : "#")+at.getId()%>" 338 344 annotation="true" 339 345 datatype="<%=at.getValueType().getStringValue()%>" 340 346 enumeration="<%=annotationEnum%>" 341 347 smartenum="<%=at.getDisplayAsList() %>" 342 sortable="<%=at.getMultiplicity() == 1 %>"348 sortable="<%=at.getMultiplicity() == 1 && !loader.isSearchingInheritedAnnotations()%>" 343 349 filterable="true" 344 350 exportable="true" … … 750 756 %> 751 757 <tbl:cell 752 column="<%= "at"+loader.getId()%>"758 column="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+loader.getId()%>" 753 759 ><tbl:cellvalue 754 760 list="<%=loader.getValues()%>" -
trunk/www/views/physicalbioassays/list_bioassays.jsp
r6684 r6690 102 102 try 103 103 { 104 finalItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType);104 ItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType); 105 105 SnapshotManager manager = new SnapshotManager(); 106 106 for (AnnotationType at : annotationTypeQuery.list(dc)) 107 107 { 108 108 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at)); 109 } 110 annotationTypeQuery = Base.getInheritedAnnotationColumns(cc.getSetting("columns")); 111 for (AnnotationType at : annotationTypeQuery.list(dc)) 112 { 113 annotationLoaders.add(new AnnotationLoaderUtil(dc, manager, at, false, true)); 109 114 } 110 115 final ItemQuery<ItemSubtype> subtypesQuery = Base.getSubtypesQuery(itemType); … … 164 169 item="<%=itemType%>" 165 170 subclass="fulltable" 171 data-inherited-annotations="true" 166 172 > 167 173 <tbl:hidden … … 314 320 %> 315 321 <tbl:columndef 316 id="<%= "at"+at.getId()%>"317 title="<%=HTML.encodeTags(at.getName())+ " [A]"%>"318 property="<%= "#"+at.getId()%>"322 id="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+at.getId()%>" 323 title="<%=HTML.encodeTags(at.getName())+(loader.isSearchingInheritedAnnotations() ? " [I]" : " [A]")%>" 324 property="<%=(loader.isSearchingInheritedAnnotations() ? "##" : "#")+at.getId()%>" 319 325 annotation="true" 320 326 datatype="<%=at.getValueType().getStringValue()%>" 321 327 enumeration="<%=annotationEnum%>" 322 328 smartenum="<%=at.getDisplayAsList() %>" 323 sortable="<%=at.getMultiplicity() == 1 %>"329 sortable="<%=at.getMultiplicity() == 1 && !loader.isSearchingInheritedAnnotations()%>" 324 330 filterable="true" 325 331 exportable="true" … … 687 693 %> 688 694 <tbl:cell 689 column="<%= "at"+loader.getId()%>"695 column="<%=(loader.isSearchingInheritedAnnotations() ? "ia" : "at")+loader.getId()%>" 690 696 ><tbl:cellvalue 691 697 list="<%=loader.getValues()%>"
Note: See TracChangeset
for help on using the changeset viewer.