Changes between Initial Version and Version 1 of Ticket #471, comment 21


Ignore:
Timestamp:
Oct 18, 2013, 7:40:31 AM (11 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #471, comment 21

    initial v1  
    66
    77 1. Class/file `CaseSummaryServlet.java` in `reggie/src/net/sf/basedb/reggie/servlet/` should be updated to store the result values as annotation `result` for the different data access objects. This requires changes in private methods[[BR]]`void loadMRnaInfo(DbControl dc, MRna mrna)`,[[BR]]`void loadCDnaInfo(DbControl dc, CDna cdna)`, and[[BR]]`void loadLibraryInfo(DbControl dc, Library lib)`.[[BR]]
    8  2. JSP script `case_summary.jsp` in `reggie/resources/reports/` should be updated:[[BR]]a. New dynamic columns with id values "`mrna.result`", "`cdna.result`", and "`lib.result`" added to HTML section. They belong to class "`dynamic-column`", which ensures that when data are added with function `addColumn(id, value)`, it will only be shown if `value` differs from `null`.[[BR]]b. Function `init()` should be updated in `mRNA`, `cDNA`, and `Library` sections to call function `addColumn(id, value)` with `id` set to corresponding "`*.result`" string (e.g. "`mrna.result`" for `mRNA`) and value to `asFailInfo(r.flag, 'error.png')`, if `r.flag` differs from `null` and "`Successful`".[[BR]]c. New function `asFailInfo(message, icon)` returns an HTML `span` tag with the message text followed by the icon image.
     8 2. JSP script `case_summary.jsp` in `reggie/resources/reports/` should be updated:[[BR]]a. New dynamic columns with id values "`mrna.result`", "`cdna.result`", and "`lib.result`" added to HTML section. They belong to class "`dynamic-column`", which ensures that when data are added with function `addColumn(id, value)`, it will only be shown if `value` differs from `null`.[[BR]]b. Function `init()` should be updated in `mRNA`, `cDNA`, and `Library` sections to call function `addColumn(id, value)` with `id` set to corresponding "`*.result`" string (e.g. "`mrna.result`" for `mRNA`) and value to `asFailInfo(r.result, 'error.png')`, if `r.result` differs from `null` and "`Successful`".[[BR]]c. New function `asFailInfo(message, icon)` returns an HTML `span` tag with the message text followed by the icon image.
    99
    1010Note: JSP script `case_summary.jsp` function `asFailInfo(message, icon)` is identical in functionality to function `asFlagInfo(message, icon)`, but differs in the class of the returned HTML `span` tag, which allows the messages to be configured differently.