Changeset 3190
- Timestamp:
- Mar 13, 2007, 11:05:42 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 89 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/3rd-party-components.txt
r3153 r3190 202 202 203 203 More info : http://subclipse.tigris.org/svnant.html 204 Version : 1. 0.0204 Version : 1.1.0.RC2 205 205 License : Apache Software License 1.1 (apache.license.txt) 206 206 Jar files : svnant.jar, javasvn.jar, svnClientAdapter.jar, svnjavahl.jar -
trunk/src/clients/web/net/sf/basedb/clients/web/formatter/FormatterSettings.java
r2981 r3190 80 80 { 81 81 sc.setUserClientSetting("formatter.number.decimals", Integer.toString(numDecimals)); 82 sc.setSessionSetting("formatter.number", null); 82 sc.setSessionSetting("formatter.double", null); 83 sc.setSessionSetting("formatter.float", null); 83 84 } 84 85 -
trunk/src/core/common-queries.xml
r3086 r3190 202 202 <description> 203 203 Load the ID of all users which has a quota group from one of the given groups. 204 </description> 205 </query> 206 207 <query id="GET_USER_IDS_FOR_PROJECT" type="HQL"> 208 <sql> 209 SELECT up.userId 210 FROM UserProjects up 211 WHERE up.projectId = :projectId 212 </sql> 213 <description> 214 Load the ID of all users which are direct member of the given project 215 </description> 216 </query> 217 218 <query id="GET_GROUP_IDS_FOR_PROJECT" type="HQL"> 219 <sql> 220 SELECT gp.groupId 221 FROM GroupProjects gp 222 WHERE gp.projectId = :projectId 223 </sql> 224 <description> 225 Load the ID of all groups which are direct member of the given project 204 226 </description> 205 227 </query> … … 2523 2545 </query> 2524 2546 2525 <query id="GET_ SUM_USED_QUANTITY_EVENTS" type="HQL">2526 <sql> 2527 SELECT evt.bioMaterial, SUM(evt.usedQuantity)2547 <query id="GET_USED_QUANTITY_EVENTS" type="HQL"> 2548 <sql> 2549 SELECT evt.bioMaterial, evt.usedQuantity 2528 2550 FROM BioMaterialEventData evt 2529 GROUP BY evt.bioMaterial 2530 </sql> 2531 <description> 2532 A HQL query that loads the sum of the used quantity 2533 grouped by the biomaterial for all BioMaterialEvent:s. 2534 </description> 2535 </query> 2536 2537 <query id="GET_SUM_USED_QUANTITY_SOURCES" type="HQL"> 2538 <sql> 2539 SELECT index(src), SUM(src.usedQuantity) 2551 </sql> 2552 <description> 2553 A HQL query that loads the biomaterial and the used quantity 2554 for all BioMaterialEvent:s. 2555 </description> 2556 </query> 2557 2558 <query id="GET_USED_QUANTITY_SOURCES" type="HQL"> 2559 <sql> 2560 SELECT index(src), src.usedQuantity 2540 2561 FROM BioMaterialEventData evt 2541 2562 JOIN evt.sources src 2542 GROUP BY index(src) 2543 </sql> 2544 <description> 2545 A HQL query that loads the sum of the used quantity 2546 grouped by the biomaterial for all sources to 2547 BioMaterialEvent:s. 2563 </sql> 2564 <description> 2565 A HQL query that loads the used quantity 2566 for all sources to BioMaterialEvent:s. 2548 2567 </description> 2549 2568 </query> -
trunk/src/core/net/sf/basedb/core/Group.java
r2898 r3190 29 29 import net.sf.basedb.core.query.Hql; 30 30 31 import java.util.Collection; 31 32 import java.util.HashSet; 32 33 import java.util.Set; … … 124 125 public static Set<Integer> getGroupsRecursive(DbControl dc, Set<Integer> groups) 125 126 { 127 return getGroupsRecursive(dc.getHibernateSession(), groups); 128 } 129 130 static Set<Integer> getGroupsRecursive(org.hibernate.Session session, Collection<Integer> groups) 131 { 126 132 Set<Integer> allGroups = new HashSet<Integer>(groups); 127 133 if (allGroups.size() > 0) 128 134 { 129 135 130 org.hibernate.Query query = HibernateUtil.getPredefinedQuery( dc.getHibernateSession(),136 org.hibernate.Query query = HibernateUtil.getPredefinedQuery(session, 131 137 "GET_CHILDGROUPS_IDS_FOR_GROUPS"); 132 138 /* … … 143 149 return allGroups; 144 150 } 151 145 152 146 153 /** -
trunk/src/core/net/sf/basedb/core/Install.java
r3086 r3190 102 102 method. 103 103 */ 104 public static final int NEW_SCHEMA_VERSION = 29;105 104 public static final int NEW_SCHEMA_VERSION = 30; 105 106 106 public static synchronized void createTables(boolean update, final ProgressReporter progress) 107 107 throws BaseException -
trunk/src/core/net/sf/basedb/core/Keyring.java
r2981 r3190 450 450 Load all users which are member of at least one group where the 451 451 logged in user is also a member and put that information 452 in the {@link #users} variable. 452 in the {@link #users} variable. If a project is active, also load the members 453 and owner of that project. 453 454 */ 454 455 private void loadUsers(org.hibernate.Session session) 455 456 throws BaseException 456 457 { 457 Set<Integer> temp ;458 Set<Integer> temp = new HashSet<Integer>(); 458 459 try 459 460 { … … 468 469 */ 469 470 query.setParameterList("groups", groups, org.hibernate.Hibernate.INTEGER); 470 temp = new HashSet<Integer>(HibernateUtil.loadList(Integer.class, query));471 temp.addAll(HibernateUtil.loadList(Integer.class, query)); 471 472 472 473 // Get the users that have a quota group among the same groups … … 479 480 query.setParameterList("groups", groups, org.hibernate.Hibernate.INTEGER); 480 481 temp.addAll(HibernateUtil.loadList(Integer.class, query)); 482 } 483 484 if (projectId != 0) 485 { 486 // Get the owner of the active project 487 ProjectData pd = HibernateUtil.loadData(session, ProjectData.class, projectId); 488 temp.add(pd.getOwner().getId()); 481 489 482 users = Collections.unmodifiableSet(temp); 483 } 490 // Get direct members of the active project 491 org.hibernate.Query query = HibernateUtil.getPredefinedQuery(session, "GET_USER_IDS_FOR_PROJECT"); 492 /* 493 SELECT up.userId 494 FROM UserProjects up 495 WHERE up.projectId = :projectId 496 */ 497 query.setInteger("projectId", projectId); 498 temp.addAll(HibernateUtil.loadList(Integer.class, query)); 499 500 // Get groups that are direct members of the active project 501 query = HibernateUtil.getPredefinedQuery(session, "GET_GROUP_IDS_FOR_PROJECT"); 502 /* 503 SELECT gp.groupId 504 FROM GroupProjects gp 505 WHERE gp.projectId = :projectId 506 */ 507 query.setInteger("projectId", projectId); 508 // Load the direct groups and subgroups 509 Set<Integer> projectGroups = Group.getGroupsRecursive(session, HibernateUtil.loadList(Integer.class, query)); 510 511 // Load users that are members of the project groups 512 temp.addAll(User.getAllMembers(session, projectGroups)); 513 514 } 515 users = Collections.unmodifiableSet(temp); 484 516 } 485 517 catch (HibernateException ex) … … 717 749 { 718 750 if (getReload() && !reload()) projectData = null; 751 int oldProjectId = projectId; 719 752 if (projectData == null) 720 753 { … … 725 758 { 726 759 projectId = projectData.getId(); 727 org.hibernate.Session session = null; 728 org.hibernate.Transaction tx = null; 729 try 730 { 731 session = HibernateUtil.newSession(); 732 tx = HibernateUtil.newTransaction(session); 733 loadMaxProjectPermission(session, projectData); 734 loadProjectKeys(session); 735 } 736 catch (BaseException ex) 737 { 738 projectId = 0; 739 maxProjectPermission = 0; 740 throw ex; 741 } 742 finally 743 { 744 if (tx != null) HibernateUtil.commit(tx); 745 if (session != null) HibernateUtil.close(session); 746 } 747 } 760 } 761 reload = projectId != oldProjectId; 748 762 } 749 763 -
trunk/src/core/net/sf/basedb/core/Trashcan.java
r2218 r3190 90 90 if (item.hasPermission(Permission.DELETE)) 91 91 { 92 if (!useLimit || (index >= firstItem && index < lastItem)) 92 SharedItem parent = item instanceof ChildItem ? 93 dc.getItem(SharedItem.class, ((ChildItem)item).getSharedParent()) : null; 94 95 if ( (parent != null && parent.isOwner()) || (parent == null)) 93 96 { 94 items.add((Removable)item); 97 if (!useLimit || (index >= firstItem && index < lastItem)) 98 { 99 items.add((Removable)item); 100 } 101 index++; 102 totalItems++; 95 103 } 96 index++;97 totalItems++;98 104 } 99 105 } -
trunk/src/core/net/sf/basedb/core/Update.java
r3120 r3190 346 346 <tr> 347 347 <td>29</td> 348 <td> 349 No changes at all except increasing the schema version number. 350 The veryfication of remaining quantity is moved to next update of schema version. 351 </td> 352 </tr> 353 354 <tr> 355 <td>30</td> 348 356 <td> 349 357 No schema change as such, but we need to verify and possibly update the … … 505 513 } 506 514 515 516 if (schemaVersion < 30) 517 { 518 if (progress != null) progress.display((int)(29*progress_factor), "--Updating schema version: " + schemaVersion + " -> 30..."); 519 schemaVersion = updateToSchemaVersion30(session); 520 } 521 507 522 /* 508 if (schemaVersion < 3 0)509 { 510 if (progress != null) progress.display((int)( 29*progress_factor), "--Updating schema version: " + schemaVersion + " -> 30...");511 schemaVersion = setSchemaVersionInTransaction(session, 3 0);523 if (schemaVersion < 31) 524 { 525 if (progress != null) progress.display((int)(30*progress_factor), "--Updating schema version: " + schemaVersion + " -> 30..."); 526 schemaVersion = setSchemaVersionInTransaction(session, 31); 512 527 - or - 513 schemaVersion = updateToSchemaVersion3 0(session);528 schemaVersion = updateToSchemaVersion31(session); 514 529 } 515 530 ... etc... … … 1071 1086 /** 1072 1087 Vefify and update the remaining quantity of all biomaterials. 1073 @return The new schema version (= 29)1088 @return The new schema version (=30) 1074 1089 */ 1075 private static int updateToSchemaVersion 29(org.hibernate.Session session)1090 private static int updateToSchemaVersion30(org.hibernate.Session session) 1076 1091 throws BaseException 1077 1092 { 1078 final int schemaVersion = 29;1093 final int schemaVersion = 30; 1079 1094 1080 1095 org.hibernate.Transaction tx = null; … … 1086 1101 Map<MeasuredBioMaterialData, Float> remaining = new HashMap<MeasuredBioMaterialData, Float>(); 1087 1102 1088 // Load sum ofused quantity for all events1103 // Load used quantity for all events 1089 1104 org.hibernate.Query eventQuery = HibernateUtil.getPredefinedQuery(session, 1090 "GET_ SUM_USED_QUANTITY_EVENTS");1091 /*1092 SELECT evt.bioMaterial, SUM(evt.usedQuantity)1093 FROM BioMaterialEventData evt1094 GROUP BY evt.bioMaterial1095 */1096 // Load sum ofused quantity for sources to all events1105 "GET_USED_QUANTITY_EVENTS"); 1106 /* 1107 SELECT evt.bioMaterial, evt.usedQuantity 1108 FROM BioMaterialEventData evt 1109 */ 1110 1111 // Load used quantity for sources to all events 1097 1112 org.hibernate.Query sourcesQuery = HibernateUtil.getPredefinedQuery(session, 1098 "GET_ SUM_USED_QUANTITY_SOURCES");1113 "GET_USED_QUANTITY_SOURCES"); 1099 1114 /* 1100 SELECT index(src), SUM(src.usedQuantity)1115 SELECT index(src), src.usedQuantity 1101 1116 FROM BioMaterialEventData evt 1102 JOIN evt.sources src 1103 GROUP BY index(src) 1117 JOIN evt.sources src 1104 1118 */ 1105 1119 List<Object[]> events = HibernateUtil.loadList(Object[].class, eventQuery); … … 1107 1121 1108 1122 // Calculate the remaining quantity for each biomaterial 1109 // o[0] = biomaterial, o[1] = sum of used quantity1123 // o[0] = biomaterial, o[1] = used quantity 1110 1124 for (Object[] o : events) 1111 1125 { 1112 MeasuredBioMaterialData bioMaterial = (MeasuredBioMaterialData)o[0]; 1113 Double sumUsedQuantity = (Double)o[1];1114 if ( sumUsedQuantity != null)1126 MeasuredBioMaterialData bioMaterial = (MeasuredBioMaterialData)o[0]; 1127 Float usedQuantity = (Float)o[1]; 1128 if (usedQuantity != null) 1115 1129 { 1116 1130 Float currentRemaining = remaining.get(bioMaterial); 1117 1131 if (currentRemaining == null) currentRemaining = 0.0f; 1118 currentRemaining = currentRemaining - sumUsedQuantity.floatValue();1132 currentRemaining = currentRemaining - usedQuantity; 1119 1133 remaining.put(bioMaterial, currentRemaining); 1120 1134 } … … 1143 1157 // Commit the changes 1144 1158 HibernateUtil.commit(tx); 1145 log.info("updateToSchemaVersion 29: OK");1159 log.info("updateToSchemaVersion30: OK"); 1146 1160 } 1147 1161 catch (BaseException ex) 1148 1162 { 1149 1163 if (tx != null) HibernateUtil.rollback(tx); 1150 log.error("updateToSchemaVersion 29: FAILED", ex);1164 log.error("updateToSchemaVersion30: FAILED", ex); 1151 1165 throw ex; 1152 1166 } -
trunk/src/core/net/sf/basedb/core/User.java
r2902 r3190 36 36 37 37 import java.util.ArrayList; 38 import java.util.Collection; 38 39 import java.util.Date; 39 40 import java.util.HashSet; … … 124 125 public static Set<Integer> getAllMembers(DbControl dc, Set<Integer> groupIds) 125 126 { 127 return getAllMembers(dc.getHibernateSession(), groupIds); 128 } 129 130 static Set<Integer> getAllMembers(org.hibernate.Session session, Collection<Integer> groupIds) 131 { 126 132 Set<Integer> userIds = new HashSet<Integer>(); 127 133 if (groupIds != null && groupIds.size() > 0) 128 134 { 129 org.hibernate.Session session = dc.getHibernateSession();130 135 // Get the users which are members of the same groups 131 136 org.hibernate.Query query = HibernateUtil.getPredefinedQuery(session, "GET_USER_IDS_FOR_GROUPS"); … … 149 154 } 150 155 return userIds; 151 152 } 156 } 157 153 158 154 159 /** -
trunk/src/core/net/sf/basedb/core/query/Hql.java
r2497 r3190 27 27 import net.sf.basedb.core.InvalidDataException; 28 28 import net.sf.basedb.core.InvalidUseOfNullException; 29 import net.sf.basedb.core.data.BasicData; 29 30 30 31 import java.util.regex.Pattern; … … 55 56 56 57 /** 57 Create an expression representing an item . In the query the actual58 value used is the id of the entity. See {@link #property(String, String)}59 for a code example.58 Create an expression representing an item which is a subclass of BasicItem. 59 In the query the actual value used is the id of the entity. 60 See {@link #property(String, String)} for a code example. 60 61 61 62 @param entity The entity 62 @throws InvalidDataException If the etity is null 63 @throws InvalidDataException If the entity is null 64 @see #entity(BasicData) 63 65 */ 64 66 public static Expression entity(BasicItem entity) … … 69 71 } 70 72 73 /** 74 Create an expression representing an item which is a subclass of BasicData, 75 for example a reporter. In the query the actual value used is the id of the entity. 76 See {@link #property(String, String)} for a code example. 77 78 @param entity The entity 79 @throws InvalidDataException If the entity is null 80 @see #entity(BasicItem) 81 @since 2.2.2 82 */ 83 public static Expression entity(BasicData entity) 84 throws InvalidDataException 85 { 86 if (entity == null) throw new InvalidUseOfNullException("entity"); 87 return new HqlEntityExpression(entity); 88 } 89 71 90 /** 72 91 Same as <code>property(null, property)</code>. -
trunk/src/core/net/sf/basedb/core/query/HqlEntityExpression.java
r2667 r3190 29 29 import net.sf.basedb.core.BasicItem; 30 30 import net.sf.basedb.core.BaseException; 31 import net.sf.basedb.core.data.BasicData; 31 32 32 33 /** … … 39 40 @version 2.0 40 41 @see Hql#entity(BasicItem) 42 @see Hql#entity(BasicData) 41 43 @base.modified $Date$ 42 44 */ … … 44 46 implements Expression 45 47 { 46 private final BasicItem item; 48 private final int id; 49 private final String item; 47 50 48 51 HqlEntityExpression(BasicItem item) 49 52 { 50 this.item = item; 53 this.id = item.getId(); 54 this.item = item.toString(); 55 } 56 57 /** 58 @since 2.2.2 59 */ 60 HqlEntityExpression(BasicData data) 61 { 62 this.id = data.getId(); 63 this.item = data.toString(); 51 64 } 52 65 … … 60 73 if (query.getQueryType() == QueryType.HQL) 61 74 { 62 return Integer.toString(i tem.getId());75 return Integer.toString(id); 63 76 } 64 77 else … … 81 94 public String toString() 82 95 { 83 return item .toString();96 return item; 84 97 } 85 98 // ------------------------------------------- -
trunk/src/core/net/sf/basedb/util/Values.java
r2981 r3190 628 628 result.append(lNumber).append("."); 629 629 String theDecimals = Long.toString(Math.round(fNumber*exp-lNumber*exp)); 630 result.append(theDecimals);631 630 if (theDecimals.length() < decimals) 632 631 { … … 636 635 } 637 636 } 637 result.append(theDecimals); 638 638 } 639 639 if (unit != null) result.append(unit); -
trunk/src/core/net/sf/basedb/util/overview/ExperimentOverview.java
r3062 r3190 281 281 this.annotatableParents = new HashMap<Annotatable, Set<Annotatable>>(); 282 282 283 // Load 'Required for MIAME' annotation types 283 // Load 'Required for MIAME' annotation types (parameter='false' must also be set) 284 284 ItemQuery<AnnotationType> query = initQuery(AnnotationType.getQuery(null), "name"); 285 285 query.restrict( 286 286 Restrictions.eq( 287 287 Hql.property("requiredForMiame"), 288 Expressions.parameter("flag", true, Type.BOOLEAN) 288 Expressions.parameter("miameFlag", true, Type.BOOLEAN) 289 ) 290 ); 291 query.restrict( 292 Restrictions.eq( 293 Hql.property("protocolParameter"), 294 Expressions.parameter("parameterFlag", false, Type.BOOLEAN) 289 295 ) 290 296 ); … … 619 625 for (Node factorNode : efNode.getChildren()) 620 626 { 621 Node annotationNode = annotationsNode.getChild("annotationtype." + factorNode.getItem().getId()); 627 Node annotationNode = annotationsNode == null ? 628 null : annotationsNode.getChild("annotationtype." + factorNode.getItem().getId()); 622 629 if (annotationNode == null) 623 630 { … … 1541 1548 failures.add(new Failure(Validator.MISSING_PARAMETER, parentNode, 1542 1549 "Missing parameter value: " + pp.getName(), 1543 new Fix("Add parameter value ", parentItem, pp, false)));1550 new Fix("Add parameter value for: " + pp.getName(), parentItem, pp, false))); 1544 1551 } 1545 1552 } … … 1579 1586 { 1580 1587 AnnotationType at = a.getAnnotationType(); 1581 if (protocol == null || protocol.isParameter(at)) 1588 // Protocol parameters are handled elsewhere 1589 if (protocol == null || !protocol.isParameter(at)) 1582 1590 { 1583 1591 Node atNode = new Node("annotationtype."+at.getId(), at.getName(), annotationsNode, at); -
trunk/www/admin/annotationtypecategories/list_categories.jsp
r2978 r3190 451 451 { 452 452 %> 453 <tbl:panel><%=annotationTypeCategories == null || annotationTypeCategories.getTotalCount() == 0 ? "No annotation type categories w here found" : "No annotation types categories on this page. Please select another page!" %></tbl:panel>453 <tbl:panel><%=annotationTypeCategories == null || annotationTypeCategories.getTotalCount() == 0 ? "No annotation type categories were found" : "No annotation types categories on this page. Please select another page!" %></tbl:panel> 454 454 <% 455 455 } -
trunk/www/admin/annotationtypes/list_annotationtypes.jsp
r2978 r3190 572 572 { 573 573 %> 574 <tbl:panel><%=annotationTypes == null || annotationTypes.getTotalCount() == 0 ? "No annotation types w here found" : "No annotation types on this page. Please select another page!" %></tbl:panel>574 <tbl:panel><%=annotationTypes == null || annotationTypes.getTotalCount() == 0 ? "No annotation types were found" : "No annotation types on this page. Please select another page!" %></tbl:panel> 575 575 <% 576 576 } -
trunk/www/admin/clients/help/list_help.jsp
r2978 r3190 381 381 { 382 382 %> 383 <tbl:panel><%=help == null || help.getTotalCount() == 0 ? "No help w here found" : "No help on this page. Please select another page!" %></tbl:panel>383 <tbl:panel><%=help == null || help.getTotalCount() == 0 ? "No help were found" : "No help on this page. Please select another page!" %></tbl:panel> 384 384 <% 385 385 } -
trunk/www/admin/clients/list_clients.jsp
r2978 r3190 421 421 { 422 422 %> 423 <tbl:panel><%=clients == null || clients.getTotalCount() == 0 ? "No client applications w here found" : "No client applications on this page. Please select another page!" %></tbl:panel>423 <tbl:panel><%=clients == null || clients.getTotalCount() == 0 ? "No client applications were found" : "No client applications on this page. Please select another page!" %></tbl:panel> 424 424 <% 425 425 } -
trunk/www/admin/diskusage/details/view_details.jsp
r2978 r3190 499 499 { 500 500 %> 501 <tbl:panel><%=totalCount == 0 ? "No items w here found" : "No items on this page. Please select another page!" %></tbl:panel>501 <tbl:panel><%=totalCount == 0 ? "No items were found" : "No items on this page. Please select another page!" %></tbl:panel> 502 502 <% 503 503 } -
trunk/www/admin/diskusage/list_groups.jsp
r2978 r3190 441 441 { 442 442 %> 443 <tbl:panel><%=groups == null || groups.getTotalCount() == 0 ? "No groups w here found" : "No groups on this page. Please select another page!" %></tbl:panel>443 <tbl:panel><%=groups == null || groups.getTotalCount() == 0 ? "No groups were found" : "No groups on this page. Please select another page!" %></tbl:panel> 444 444 <% 445 445 } -
trunk/www/admin/diskusage/list_users.jsp
r2978 r3190 597 597 { 598 598 %> 599 <tbl:panel><%=users == null || users.getTotalCount() == 0 ? "No users w here found" : "No users on this page. Please select another page!" %></tbl:panel>599 <tbl:panel><%=users == null || users.getTotalCount() == 0 ? "No users were found" : "No users on this page. Please select another page!" %></tbl:panel> 600 600 <% 601 601 } -
trunk/www/admin/extravaluetypes/list_extravaluetypes.jsp
r2978 r3190 431 431 { 432 432 %> 433 <tbl:panel><%=extraValueTypes == null || extraValueTypes.getTotalCount() == 0 ? "No extra value types w here found" : "No extra value types on this page. Please select another page!" %></tbl:panel>433 <tbl:panel><%=extraValueTypes == null || extraValueTypes.getTotalCount() == 0 ? "No extra value types were found" : "No extra value types on this page. Please select another page!" %></tbl:panel> 434 434 <% 435 435 } -
trunk/www/admin/filetypes/list_filetypes.jsp
r2978 r3190 303 303 { 304 304 %> 305 <tbl:panel><%=fileTypes == null || fileTypes.getTotalCount() == 0 ? "No file types w here found" : "No file types on this page. Please select another page!" %></tbl:panel>305 <tbl:panel><%=fileTypes == null || fileTypes.getTotalCount() == 0 ? "No file types were found" : "No file types on this page. Please select another page!" %></tbl:panel> 306 306 <% 307 307 } -
trunk/www/admin/groups/list_groups.jsp
r2978 r3190 462 462 { 463 463 %> 464 <tbl:panel><%=groups == null || groups.getTotalCount() == 0 ? "No groups w here found" : "No groups on this page. Please select another page!" %></tbl:panel>464 <tbl:panel><%=groups == null || groups.getTotalCount() == 0 ? "No groups were found" : "No groups on this page. Please select another page!" %></tbl:panel> 465 465 <% 466 466 } -
trunk/www/admin/hardware/list_hardware.jsp
r2978 r3190 452 452 { 453 453 %> 454 <tbl:panel><%=hardware == null || hardware.getTotalCount() == 0 ? "No hardware w here found" : "No hardware on this page. Please select another page!" %></tbl:panel>454 <tbl:panel><%=hardware == null || hardware.getTotalCount() == 0 ? "No hardware were found" : "No hardware on this page. Please select another page!" %></tbl:panel> 455 455 <% 456 456 } -
trunk/www/admin/hardwaretypes/list_hardwaretypes.jsp
r2978 r3190 414 414 { 415 415 %> 416 <tbl:panel><%=hardwareTypes == null || hardwareTypes.getTotalCount() == 0 ? "No hardware types w here found" : "No hardware types on this page. Please select another page!" %></tbl:panel>416 <tbl:panel><%=hardwareTypes == null || hardwareTypes.getTotalCount() == 0 ? "No hardware types were found" : "No hardware types on this page. Please select another page!" %></tbl:panel> 417 417 <% 418 418 } -
trunk/www/admin/jobagents/list_agents.jsp
r2978 r3190 570 570 { 571 571 %> 572 <tbl:panel><%=agents == null || agents.getTotalCount() == 0 ? "No job agents w here found" : "No job agents on this page. Please select another page!" %></tbl:panel>572 <tbl:panel><%=agents == null || agents.getTotalCount() == 0 ? "No job agents were found" : "No job agents on this page. Please select another page!" %></tbl:panel> 573 573 <% 574 574 } -
trunk/www/admin/mimetypes/list_mimetypes.jsp
r2978 r3190 394 394 { 395 395 %> 396 <tbl:panel><%=mimeTypes == null || mimeTypes.getTotalCount() == 0 ? "No MIME types w here found" : "No MIME types on this page. Please select another page!" %></tbl:panel>396 <tbl:panel><%=mimeTypes == null || mimeTypes.getTotalCount() == 0 ? "No MIME types were found" : "No MIME types on this page. Please select another page!" %></tbl:panel> 397 397 <% 398 398 } -
trunk/www/admin/news/list_news.jsp
r2978 r3190 388 388 { 389 389 %> 390 <tbl:panel><%=news == null || news.getTotalCount() == 0 ? "No news w here found" : "No news on this page. Please select another page!" %></tbl:panel>390 <tbl:panel><%=news == null || news.getTotalCount() == 0 ? "No news were found" : "No news on this page. Please select another page!" %></tbl:panel> 391 391 <% 392 392 } -
trunk/www/admin/pluginconfigurations/list_configurations.jsp
r2978 r3190 521 521 { 522 522 %> 523 <tbl:panel><%=configurations == null || configurations.getTotalCount() == 0 ? "No configurations w here found" : "No configurations on this page. Please select another page!" %></tbl:panel>523 <tbl:panel><%=configurations == null || configurations.getTotalCount() == 0 ? "No configurations were found" : "No configurations on this page. Please select another page!" %></tbl:panel> 524 524 <% 525 525 } -
trunk/www/admin/plugindefinitions/list_plugins.jsp
r2978 r3190 676 676 { 677 677 %> 678 <tbl:panel><%=plugins == null || plugins.getTotalCount() == 0 ? "No plugins w here found" : "No plugins on this page. Please select another page!" %></tbl:panel>678 <tbl:panel><%=plugins == null || plugins.getTotalCount() == 0 ? "No plugins were found" : "No plugins on this page. Please select another page!" %></tbl:panel> 679 679 <% 680 680 } -
trunk/www/admin/plugintypes/list_plugintypes.jsp
r2978 r3190 414 414 { 415 415 %> 416 <tbl:panel><%=pluginTypes == null || pluginTypes.getTotalCount() == 0 ? "No plugin types w here found" : "No plugin types on this page. Please select another page!" %></tbl:panel>416 <tbl:panel><%=pluginTypes == null || pluginTypes.getTotalCount() == 0 ? "No plugin types were found" : "No plugin types on this page. Please select another page!" %></tbl:panel> 417 417 <% 418 418 } -
trunk/www/admin/protocols/list_protocol.jsp
r2978 r3190 458 458 { 459 459 %> 460 <tbl:panel><%=protocols == null || protocols.getTotalCount() == 0 ? "No protocols w here found" : "No protocols on this page. Please select another page!" %></tbl:panel>460 <tbl:panel><%=protocols == null || protocols.getTotalCount() == 0 ? "No protocols were found" : "No protocols on this page. Please select another page!" %></tbl:panel> 461 461 <% 462 462 } -
trunk/www/admin/protocoltypes/list_protocoltype.jsp
r2978 r3190 419 419 { 420 420 %> 421 <tbl:panel><%=protocolTypes == null || protocolTypes.getTotalCount() == 0 ? "No protocol types w here found" : "No protocol types on this page. Please select another page!" %></tbl:panel>421 <tbl:panel><%=protocolTypes == null || protocolTypes.getTotalCount() == 0 ? "No protocol types were found" : "No protocol types on this page. Please select another page!" %></tbl:panel> 422 422 <% 423 423 } -
trunk/www/admin/quota/list_quota.jsp
r2978 r3190 374 374 { 375 375 %> 376 <tbl:panel><%=quota == null || quota.getTotalCount() == 0 ? "No quota w here found" : "No quota on this page. Please select another page!" %></tbl:panel>376 <tbl:panel><%=quota == null || quota.getTotalCount() == 0 ? "No quota were found" : "No quota on this page. Please select another page!" %></tbl:panel> 377 377 <% 378 378 } -
trunk/www/admin/quotatypes/list_quotatypes.jsp
r2978 r3190 303 303 { 304 304 %> 305 <tbl:panel><%=quotaTypes == null || quotaTypes.getTotalCount() == 0 ? "No quota types w here found" : "No quota types on this page. Please select another page!" %></tbl:panel>305 <tbl:panel><%=quotaTypes == null || quotaTypes.getTotalCount() == 0 ? "No quota types were found" : "No quota types on this page. Please select another page!" %></tbl:panel> 306 306 <% 307 307 } -
trunk/www/admin/reportertypes/list_reportertypes.jsp
r2978 r3190 351 351 { 352 352 %> 353 <tbl:panel><%=reporterTypes == null || reporterTypes.getTotalCount() == 0 ? "No reporter types w here found" : "No reporter types on this page. Please select another page!" %></tbl:panel>353 <tbl:panel><%=reporterTypes == null || reporterTypes.getTotalCount() == 0 ? "No reporter types were found" : "No reporter types on this page. Please select another page!" %></tbl:panel> 354 354 <% 355 355 } -
trunk/www/admin/roles/list_roles.jsp
r2978 r3190 407 407 { 408 408 %> 409 <tbl:panel><%=roles == null || roles.getTotalCount() == 0 ? "No roles w here found" : "No roles on this page. Please select another page!" %></tbl:panel>409 <tbl:panel><%=roles == null || roles.getTotalCount() == 0 ? "No roles were found" : "No roles on this page. Please select another page!" %></tbl:panel> 410 410 <% 411 411 } -
trunk/www/admin/software/list_software.jsp
r2978 r3190 452 452 { 453 453 %> 454 <tbl:panel><%=software == null || software.getTotalCount() == 0 ? "No software w here found" : "No software on this page. Please select another page!" %></tbl:panel>454 <tbl:panel><%=software == null || software.getTotalCount() == 0 ? "No software were found" : "No software on this page. Please select another page!" %></tbl:panel> 455 455 <% 456 456 } -
trunk/www/admin/softwaretypes/list_softwaretypes.jsp
r2978 r3190 357 357 { 358 358 %> 359 <tbl:panel><%=softwareTypes == null || softwareTypes.getTotalCount() == 0 ? "No software types w here found" : "No software types on this page. Please select another page!" %></tbl:panel>359 <tbl:panel><%=softwareTypes == null || softwareTypes.getTotalCount() == 0 ? "No software types were found" : "No software types on this page. Please select another page!" %></tbl:panel> 360 360 <% 361 361 } -
trunk/www/admin/users/list_users.jsp
r2978 r3190 624 624 { 625 625 %> 626 <tbl:panel><%=users == null || users.getTotalCount() == 0 ? "No users w here found" : "No users on this page. Please select another page!" %></tbl:panel>626 <tbl:panel><%=users == null || users.getTotalCount() == 0 ? "No users were found" : "No users on this page. Please select another page!" %></tbl:panel> 627 627 <% 628 628 } -
trunk/www/biomaterials/biosources/list_biosources.jsp
r2978 r3190 531 531 { 532 532 %> 533 <tbl:panel><%=bioSources == null || bioSources.getTotalCount() == 0 ? "No biosources w here found" : "No biosources on this page. Please select another page!" %></tbl:panel>533 <tbl:panel><%=bioSources == null || bioSources.getTotalCount() == 0 ? "No biosources were found" : "No biosources on this page. Please select another page!" %></tbl:panel> 534 534 <% 535 535 } -
trunk/www/biomaterials/events/list_events.jsp
r2978 r3190 521 521 { 522 522 %> 523 <tbl:panel><%=events == null || events.getTotalCount() == 0 ? "No events w here found" : "No events on this page. Please select another page!" %></tbl:panel>523 <tbl:panel><%=events == null || events.getTotalCount() == 0 ? "No events were found" : "No events on this page. Please select another page!" %></tbl:panel> 524 524 <% 525 525 } -
trunk/www/biomaterials/extracts/list_extracts.jsp
r2978 r3190 656 656 { 657 657 %> 658 <tbl:panel><%=extracts == null || extracts.getTotalCount() == 0 ? "No extracts w here found" : "No extracts on this page. Please select another page!" %></tbl:panel>658 <tbl:panel><%=extracts == null || extracts.getTotalCount() == 0 ? "No extracts were found" : "No extracts on this page. Please select another page!" %></tbl:panel> 659 659 <% 660 660 } -
trunk/www/biomaterials/labeledextracts/list_labeledextracts.jsp
r2978 r3190 668 668 { 669 669 %> 670 <tbl:panel><%=labeledExtracts == null || labeledExtracts.getTotalCount() == 0 ? "No labeled extracts w here found" : "No labeled extracts on this page. Please select another page!" %></tbl:panel>670 <tbl:panel><%=labeledExtracts == null || labeledExtracts.getTotalCount() == 0 ? "No labeled extracts were found" : "No labeled extracts on this page. Please select another page!" %></tbl:panel> 671 671 <% 672 672 } -
trunk/www/biomaterials/labels/list_labels.jsp
r2978 r3190 417 417 { 418 418 %> 419 <tbl:panel><%=labels == null || labels.getTotalCount() == 0 ? "No labels w here found" : "No labels on this page. Please select another page!" %></tbl:panel>419 <tbl:panel><%=labels == null || labels.getTotalCount() == 0 ? "No labels were found" : "No labels on this page. Please select another page!" %></tbl:panel> 420 420 <% 421 421 } -
trunk/www/biomaterials/samples/list_samples.jsp
r2978 r3190 652 652 { 653 653 %> 654 <tbl:panel><%=samples == null || samples.getTotalCount() == 0 ? "No samples w here found" : "No samples on this page. Please select another page!" %></tbl:panel>654 <tbl:panel><%=samples == null || samples.getTotalCount() == 0 ? "No samples were found" : "No samples on this page. Please select another page!" %></tbl:panel> 655 655 <% 656 656 } -
trunk/www/common/context/manage.jsp
r2978 r3190 187 187 { 188 188 %> 189 <tbl:panel>No presets w here found</tbl:panel>189 <tbl:panel>No presets were found</tbl:panel> 190 190 <% 191 191 } -
trunk/www/common/import/no_fileformat.jsp
r2978 r3190 105 105 <base:note type="info" title="No matching file format"> 106 106 <br> 107 We couldn't find any file format mathing the file <b><%=file.getPath().toString()%></b>.107 No file format that matches the file <b><%=file.getPath().toString()%></b> could be found. 108 108 <br><br> 109 109 </base:note> -
trunk/www/include/scripts/table.js
r3077 r3190 222 222 { 223 223 var frm = document.forms[tableId]; 224 if (Forms.numChecked(frm) < 2)225 { 226 alert('Please select at least two itemsin the list');224 if (Forms.numChecked(frm) < 1) 225 { 226 alert('Please select at least one item in the list'); 227 227 return; 228 228 } -
trunk/www/include/styles/table.css
r2306 r3190 33 33 width: 100%; 34 34 background: #E0E0E0; 35 margin-bottom: -10px; 36 padding-bottom: -10px; 35 margin-bottom: 0px; 36 padding-bottom: 0px; 37 } 38 39 form { 40 margin-bottom: 0px; 41 padding-bottom: 0px; 37 42 } 38 43 -
trunk/www/lims/arraybatches/list_batches.jsp
r2978 r3190 568 568 { 569 569 %> 570 <tbl:panel><%=batches == null || batches.getTotalCount() == 0 ? "No array batches w here found" : "No array batches on this page. Please select another page!" %></tbl:panel>570 <tbl:panel><%=batches == null || batches.getTotalCount() == 0 ? "No array batches were found" : "No array batches on this page. Please select another page!" %></tbl:panel> 571 571 <% 572 572 } -
trunk/www/lims/arraydesigns/features/list_features.jsp
r2978 r3190 649 649 { 650 650 %> 651 <tbl:panel><%=features == null || features.getTotalCount() == 0 ? "No features w here found" : "No features on this page. Please select another page!" %></tbl:panel>651 <tbl:panel><%=features == null || features.getTotalCount() == 0 ? "No features were found" : "No features on this page. Please select another page!" %></tbl:panel> 652 652 <% 653 653 } -
trunk/www/lims/arraydesigns/list_designs.jsp
r2978 r3190 570 570 { 571 571 %> 572 <tbl:panel><%=designs == null || designs.getTotalCount() == 0 ? "No array designs w here found" : "No array designs on this page. Please select another page!" %></tbl:panel>572 <tbl:panel><%=designs == null || designs.getTotalCount() == 0 ? "No array designs were found" : "No array designs on this page. Please select another page!" %></tbl:panel> 573 573 <% 574 574 } -
trunk/www/lims/arrayslides/list_slides.jsp
r2978 r3190 558 558 { 559 559 %> 560 <tbl:panel><%=slides == null || slides.getTotalCount() == 0 ? "No array slides w here found" : "No array slides on this page. Please select another page!" %></tbl:panel>560 <tbl:panel><%=slides == null || slides.getTotalCount() == 0 ? "No array slides were found" : "No array slides on this page. Please select another page!" %></tbl:panel> 561 561 <% 562 562 } -
trunk/www/lims/geometries/list_geometries.jsp
r2978 r3190 422 422 { 423 423 %> 424 <tbl:panel><%=geometries == null || geometries.getTotalCount() == 0 ? "No plate geometries w here found" : "No plate geometries on this page. Please select another page!" %></tbl:panel>424 <tbl:panel><%=geometries == null || geometries.getTotalCount() == 0 ? "No plate geometries were found" : "No plate geometries on this page. Please select another page!" %></tbl:panel> 425 425 <% 426 426 } -
trunk/www/lims/platemappings/list_mappings.jsp
r3097 r3190 488 488 { 489 489 %> 490 <tbl:panel><%=mappings == null || mappings.getTotalCount() == 0 ? "No plate mappings w here found" : "No plate mappings on this page. Please select another page!" %></tbl:panel>490 <tbl:panel><%=mappings == null || mappings.getTotalCount() == 0 ? "No plate mappings were found" : "No plate mappings on this page. Please select another page!" %></tbl:panel> 491 491 <% 492 492 } -
trunk/www/lims/plates/events/list_events.jsp
r2978 r3190 461 461 { 462 462 %> 463 <tbl:panel><%=events == null || events.getTotalCount() == 0 ? "No events w here found" : "No events on this page. Please select another page!" %></tbl:panel>463 <tbl:panel><%=events == null || events.getTotalCount() == 0 ? "No events were found" : "No events on this page. Please select another page!" %></tbl:panel> 464 464 <% 465 465 } -
trunk/www/lims/plates/list_plates.jsp
r2978 r3190 637 637 { 638 638 %> 639 <tbl:panel><%=plates == null || plates.getTotalCount() == 0 ? "No plates w here found" : "No plates on this page. Please select another page!" %></tbl:panel>639 <tbl:panel><%=plates == null || plates.getTotalCount() == 0 ? "No plates were found" : "No plates on this page. Please select another page!" %></tbl:panel> 640 640 <% 641 641 } -
trunk/www/lims/plates/wells/list_wells.jsp
r2978 r3190 567 567 { 568 568 %> 569 <tbl:panel><%=wells == null || wells.getTotalCount() == 0 ? "No wells w here found" : "No wells on this page. Please select another page!" %></tbl:panel>569 <tbl:panel><%=wells == null || wells.getTotalCount() == 0 ? "No wells were found" : "No wells on this page. Please select another page!" %></tbl:panel> 570 570 <% 571 571 } -
trunk/www/lims/platetypes/eventtypes/list_eventtypes.jsp
r2978 r3190 398 398 { 399 399 %> 400 <tbl:panel><%=eventTypes == null || eventTypes.getTotalCount() == 0 ? "No event types w here found" : "No event types on this page. Please select another page!" %></tbl:panel>400 <tbl:panel><%=eventTypes == null || eventTypes.getTotalCount() == 0 ? "No event types were found" : "No event types on this page. Please select another page!" %></tbl:panel> 401 401 <% 402 402 } -
trunk/www/lims/platetypes/list_platetypes.jsp
r2978 r3190 483 483 { 484 484 %> 485 <tbl:panel><%=plateTypes == null || plateTypes.getTotalCount() == 0 ? "No plate types w here found" : "No plate types on this page. Please select another page!" %></tbl:panel>485 <tbl:panel><%=plateTypes == null || plateTypes.getTotalCount() == 0 ? "No plate types were found" : "No plate types on this page. Please select another page!" %></tbl:panel> 486 486 <% 487 487 } -
trunk/www/my_base/messages/list_messages.jsp
r2978 r3190 400 400 { 401 401 %> 402 <tbl:panel><%=messages == null || messages.getTotalCount() == 0 ? "No messages w here found" : "No messages on this page. Please select another page!" %></tbl:panel>402 <tbl:panel><%=messages == null || messages.getTotalCount() == 0 ? "No messages were found" : "No messages on this page. Please select another page!" %></tbl:panel> 403 403 <% 404 404 } -
trunk/www/my_base/projects/items/list_items.jsp
r2978 r3190 356 356 { 357 357 %> 358 <tbl:panel><%=items == null || items.size() == 0 ? "No items w here found" : "No items on this page. Please select another page!" %></tbl:panel>358 <tbl:panel><%=items == null || items.size() == 0 ? "No items were found" : "No items on this page. Please select another page!" %></tbl:panel> 359 359 <% 360 360 } -
trunk/www/my_base/projects/list_projects.jsp
r2978 r3190 402 402 { 403 403 %> 404 <tbl:panel><%=projects == null || projects.getTotalCount() == 0 ? "No projects w here found" : "No projects on this page. Please select another page!" %></tbl:panel>404 <tbl:panel><%=projects == null || projects.getTotalCount() == 0 ? "No projects were found" : "No projects on this page. Please select another page!" %></tbl:panel> 405 405 <% 406 406 } -
trunk/www/my_base/user/preferences.jsp
r2978 r3190 390 390 </td> 391 391 </tr> 392 <% 393 int numDecimals = FormatterSettings.getNumDecimals(sc); 394 %> 395 <tr> 396 <td class="prompt">Decimals</td> 397 <td> 398 <select name="decimals"> 399 <% 400 for (int i = 0; i < 8; i++) 401 { 402 %> 403 <option value="<%=i%>" <%=numDecimals == i ? "selected" : ""%>><%=i%> 404 <% 405 } 406 %> 407 <option value="-1" <%=numDecimals < 0 ? "selected" : ""%>>all 408 </select> 409 </td> 410 </tr> 392 411 393 412 </table> -
trunk/www/my_base/user/submit_user.jsp
r2978 r3190 126 126 cc.setRecent("dateFormats", dateFormat, maxRecent); 127 127 cc.setRecent("dateTimeFormats", dateTimeFormat, maxRecent); 128 129 int numDecimals = Values.getInt(request.getParameter("decimals"), 2); 130 FormatterSettings.setNumDecimals(sc, numDecimals); 128 131 129 132 sc.setUserClientSetting("plugins.sendmessage", Values.getString(request.getParameter("sendmessage"), "0")); -
trunk/www/views/experiments/bioassays/list_bioassays.jsp
r2978 r3190 346 346 image="<%=createPermission ? "runplugin.gif" : "runplugin_disabled.gif"%>" 347 347 onclick="<%="runPlugin('RunListAnalysisPlugin')"%>" 348 title="Run plugin…"348 title="Run analysis…" 349 349 tooltip="<%=createPermission ? "Run an analysis plugin" : 350 350 "You do not have permission to analyze this experiment"%>" … … 505 505 { 506 506 %> 507 <tbl:panel><%=bioAssays == null || bioAssays.getTotalCount() == 0 ? "No bioassays w here found" : "No bioassays on this page. Please select another page!" %></tbl:panel>507 <tbl:panel><%=bioAssays == null || bioAssays.getTotalCount() == 0 ? "No bioassays were found" : "No bioassays on this page. Please select another page!" %></tbl:panel> 508 508 <% 509 509 } -
trunk/www/views/experiments/bioassaysets/analysis_tree.jsp
r3096 r3190 377 377 function initTree() 378 378 { 379 var bigDir = getRoot()+' /images/joust/big/';379 var bigDir = getRoot()+'images/joust/big/'; 380 380 IconStore.init(bigDir, 18, 22); 381 381 IconStore.addIcon('BioAssaySet', bigDir + 'bioassayset.gif', 18, 22); … … 932 932 { 933 933 %> 934 <tbl:panel>No bioassay sets or transformations w here found.</tbl:panel>934 <tbl:panel>No bioassay sets or transformations were found.</tbl:panel> 935 935 <% 936 936 } -
trunk/www/views/experiments/bioassaysets/view_bioassayset.jsp
r2978 r3190 267 267 image="<%=createPermission ? "runplugin.gif" : "runplugin_disabled.gif"%>" 268 268 onclick="<%="runAnalysisPlugin(" + itemId + ")"%>" 269 title="Run plugin…"269 title="Run analysis…" 270 270 tooltip="<%=createPermission ? "Run an analysis plugin" : 271 271 "You do not have permission to analyze this experiment"%>" -
trunk/www/views/experiments/explorer/search/list.jsp
r2978 r3190 289 289 { 290 290 %> 291 <tbl:panel><%=reporters == null || reporters.getTotalCount() == 0 ? "No reporters w here found" : "No reporters on this page. Please select another page!" %></tbl:panel>291 <tbl:panel><%=reporters == null || reporters.getTotalCount() == 0 ? "No reporters were found" : "No reporters on this page. Please select another page!" %></tbl:panel> 292 292 <% 293 293 } -
trunk/www/views/experiments/list_experiments.jsp
r2978 r3190 557 557 { 558 558 %> 559 <tbl:panel><%=experiments == null || experiments.getTotalCount() == 0 ? "No experiments w here found" : "No experiments on this page. Please select another page!" %></tbl:panel>559 <tbl:panel><%=experiments == null || experiments.getTotalCount() == 0 ? "No experiments were found" : "No experiments on this page. Please select another page!" %></tbl:panel> 560 560 <% 561 561 } -
trunk/www/views/experiments/spotdata/list_spotdata.jsp
r2993 r3190 377 377 { 378 378 %> 379 <tbl:panel><%=spotData == null || spotData.getTotalCount() == 0 ? "No spot data w here found" : "No spot data on this page. Please select another page!" %></tbl:panel>379 <tbl:panel><%=spotData == null || spotData.getTotalCount() == 0 ? "No spot data were found" : "No spot data on this page. Please select another page!" %></tbl:panel> 380 380 <% 381 381 } -
trunk/www/views/formulas/list_formulas.jsp
r2978 r3190 541 541 { 542 542 %> 543 <tbl:panel><%=formulas == null || formulas.getTotalCount() == 0 ? "No formulas w here found" : "No formulas on this page. Please select another page!" %></tbl:panel>543 <tbl:panel><%=formulas == null || formulas.getTotalCount() == 0 ? "No formulas were found" : "No formulas on this page. Please select another page!" %></tbl:panel> 544 544 <% 545 545 } -
trunk/www/views/hybridizations/list_hybridizations.jsp
r2978 r3190 653 653 { 654 654 %> 655 <tbl:panel><%=hybridizations == null || hybridizations.getTotalCount() == 0 ? "No hybridizations w here found" : "No hybridizations on this page. Please select another page!" %></tbl:panel>655 <tbl:panel><%=hybridizations == null || hybridizations.getTotalCount() == 0 ? "No hybridizations were found" : "No hybridizations on this page. Please select another page!" %></tbl:panel> 656 656 <% 657 657 } -
trunk/www/views/items/list_items.jsp
r2978 r3190 332 332 { 333 333 %> 334 <tbl:panel><%=allItems == null || allItems.size() == 0 ? "No items w here found" : "No items on this page. Please select another page!" %></tbl:panel>334 <tbl:panel><%=allItems == null || allItems.size() == 0 ? "No items were found" : "No items on this page. Please select another page!" %></tbl:panel> 335 335 <% 336 336 } -
trunk/www/views/jobs/list_jobs.jsp
r2978 r3190 620 620 { 621 621 %> 622 <tbl:panel><%=jobs == null || jobs.getTotalCount() == 0 ? "No jobs w here found" : "No jobs on this page. Please select another page!" %></tbl:panel>622 <tbl:panel><%=jobs == null || jobs.getTotalCount() == 0 ? "No jobs were found" : "No jobs on this page. Please select another page!" %></tbl:panel> 623 623 <% 624 624 } -
trunk/www/views/rawbioassays/list_rawbioassays.jsp
r2978 r3190 665 665 { 666 666 %> 667 <tbl:panel><%=rawBioAssays == null || rawBioAssays.getTotalCount() == 0 ? "No raw bioassays w here found" : "No raw bioassays on this page. Please select another page!" %></tbl:panel>667 <tbl:panel><%=rawBioAssays == null || rawBioAssays.getTotalCount() == 0 ? "No raw bioassays were found" : "No raw bioassays on this page. Please select another page!" %></tbl:panel> 668 668 <% 669 669 } -
trunk/www/views/rawbioassays/rawdata/list_rawdata.jsp
r2978 r3190 805 805 { 806 806 %> 807 <tbl:panel><%=rawData == null || rawData.getTotalCount() == 0 ? "No raw data w here found" : "No raw data on this page. Please select another page!" %></tbl:panel>807 <tbl:panel><%=rawData == null || rawData.getTotalCount() == 0 ? "No raw data were found" : "No raw data on this page. Please select another page!" %></tbl:panel> 808 808 <% 809 809 } -
trunk/www/views/reporterlists/list_reporterlists.jsp
r2978 r3190 439 439 { 440 440 %> 441 <tbl:panel><%=reporterLists == null || reporterLists.getTotalCount() == 0 ? "No reporter lists w here found" : "No reporter lists on this page. Please select another page!" %></tbl:panel>441 <tbl:panel><%=reporterLists == null || reporterLists.getTotalCount() == 0 ? "No reporter lists were found" : "No reporter lists on this page. Please select another page!" %></tbl:panel> 442 442 <% 443 443 } -
trunk/www/views/reporterlists/reporters/list_reporters.jsp
r2978 r3190 477 477 { 478 478 %> 479 <tbl:panel><%=reporters == null || reporters.getTotalCount() == 0 ? "No reporters w here found" : "No reporters on this page. Please select another page!" %></tbl:panel>479 <tbl:panel><%=reporters == null || reporters.getTotalCount() == 0 ? "No reporters were found" : "No reporters on this page. Please select another page!" %></tbl:panel> 480 480 <% 481 481 } -
trunk/www/views/reporters/list_reporters.jsp
r2978 r3190 453 453 { 454 454 %> 455 <tbl:panel><%=reporters == null || reporters.getTotalCount() == 0 ? "No reporters w here found" : "No reporters on this page. Please select another page!" %></tbl:panel>455 <tbl:panel><%=reporters == null || reporters.getTotalCount() == 0 ? "No reporters were found" : "No reporters on this page. Please select another page!" %></tbl:panel> 456 456 <% 457 457 } -
trunk/www/views/scans/images/list_images.jsp
r2978 r3190 429 429 { 430 430 %> 431 <tbl:panel><%=images == null || images.getTotalCount() == 0 ? "No images w here found" : "No images on this page. Please select another page!" %></tbl:panel>431 <tbl:panel><%=images == null || images.getTotalCount() == 0 ? "No images were found" : "No images on this page. Please select another page!" %></tbl:panel> 432 432 <% 433 433 } -
trunk/www/views/scans/list_scans.jsp
r2978 r3190 575 575 { 576 576 %> 577 <tbl:panel><%=scans == null || scans.getTotalCount() == 0 ? "No scans w here found" : "No scans on this page. Please select another page!" %></tbl:panel>577 <tbl:panel><%=scans == null || scans.getTotalCount() == 0 ? "No scans were found" : "No scans on this page. Please select another page!" %></tbl:panel> 578 578 <% 579 579 } -
trunk/www/views/sessions/list_sessions.jsp
r2982 r3190 361 361 { 362 362 %> 363 <tbl:panel><%=sessions == null || sessions.getTotalCount() == 0 ? "No sessions w here found" : "No sessions on this page. Please select another page!" %></tbl:panel>363 <tbl:panel><%=sessions == null || sessions.getTotalCount() == 0 ? "No sessions were found" : "No sessions on this page. Please select another page!" %></tbl:panel> 364 364 <% 365 365 } -
trunk/www/views/trashcan/list_trash.jsp
r2978 r3190 323 323 { 324 324 %> 325 <tbl:panel><%=trash == null || trash.size() == 0 ? "No items w here found" : "No items on this page. Please select another page!" %></tbl:panel>325 <tbl:panel><%=trash == null || trash.size() == 0 ? "No items were found" : "No items on this page. Please select another page!" %></tbl:panel> 326 326 <% 327 327 }
Note: See TracChangeset
for help on using the changeset viewer.