Changeset 4593
- Timestamp:
- Oct 21, 2008, 8:47:12 AM (15 years ago)
- Location:
- branches/2.8-stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8-stable/src/clients/web/net/sf/basedb/clients/web/DynamicUtil.java
r4478 r4593 72 72 Formatter<Number> numberFormatter = FormatterFactory.getNumberFormatter(sc); 73 73 Formatter<Number> intFormatter = FormatterFactory.getIntFormatter(sc); 74 columns.add(new TableColumn("POSITION", "POSITION", null, Type.INT,74 columns.add(new TableColumn("POSITION", "POSITION", "pos()", Type.INT, 75 75 "Position", "Spot position", "always", true, true, true, 76 76 Formula.AverageMethod.NONE, intFormatter)); … … 132 132 Formatter<String> stringFormatter = FormatterFactory.getStringFormatter(sc); 133 133 Formatter<Date> dateFormatter = FormatterFactory.getDateFormatter(sc); 134 columns.add(new TableColumn(idPrefix + "id", propertyPrefix+"id", "rep('id')", 135 Type.INT, titlePrefix + "Internal ID", "Reporter internal ID", "auto", true, true, true, 136 Formula.AverageMethod.NONE, null)); 134 137 columns.add(new TableColumn(idPrefix + "name", propertyPrefix+"name", "rep('name')", 135 138 Type.STRING, titlePrefix + "Name", "Reporter name", "auto", true, true, true, 136 139 Formula.AverageMethod.NONE, stringFormatter)); 137 140 columns.add(new TableColumn(idPrefix + "externalId", propertyPrefix+"externalId", "rep('externalId')", 138 Type.STRING, titlePrefix + " ID", "Reporter ID", "auto", true, true, true,141 Type.STRING, titlePrefix + "External ID", "Reporter ID", "auto", true, true, true, 139 142 Formula.AverageMethod.NONE, stringFormatter)); 140 143 columns.add(new TableColumn(idPrefix + "symbol", propertyPrefix+"symbol", "rep('symbol')", -
branches/2.8-stable/www/common/expression_builder.jsp
r4476 r4593 265 265 return channel; 266 266 } 267 267 function pos() 268 { 269 return Math.random() * 100; 270 } 268 271 function rep(property) 269 272 {
Note: See TracChangeset
for help on using the changeset viewer.