Changes between Version 1 and Version 2 of Ticket #801, comment 76


Ignore:
Timestamp:
Nov 11, 2015, 1:42:38 PM (8 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #801, comment 76

    v1 v2  
    66Design update:
    77
    8  1. JSP file `select_dna_for_start_plate.jsp` in `resources/libprep/` updated.[[BR]]a. Form tag added with action "`libprep_diltion_protocol2.jsp`" and method "`post`", id "`wizard`", and class "`wizard`".[[BR]]b. New hidden input fields added for id, submit info, and number of items. Navigation table updated by adding button for creating library preparation dilution protocol. The button is coupled to id "`gocreate`".
    9  2. Javascript file `select_dna_for_start_plate.js` in `resources/libprep/` updated:[[BR]]a. Function `initPage()` updated with event handler for button for creating a dilution protocol. The event handler couples the button to new function `createProtocol()`.[[BR]]b. Step initialization functions updated to hide the button for creating a dilution protocol, until the last fourth step.[[BR]]c. New function `createProtocol()` added. It obtains information on DNA aliquots allocated for reserved wells of the current start plate, adds data for well position to the JSONObject representing the aliquot, and submits a JSONArray of the extract items together with other JSON data (including start plate name and current date) to new JSP file `libprep_dilution_protocol2.jsp` by calling `frm.submit()`.[[BR]]d. New convenience function `wellRowColumnToWellStr(row, column)` added. It returns a well string (row letter + column number, 1-based) for an 8x12 plate from row and column indices.[[BR]]e. New convenience function `formatDate(date)` added. It returns a date object as a date string in format "yyyy-mm-dd".[[BR]]f. Function `getWellText(well)` updated to use new dilution volumes, and to store dilution data needed for the dilution protocol in the JSONObject for the extract in each well.
     8 1. JSP file `select_dna_for_start_plate.jsp` in `resources/libprep/` updated.[[BR]]a. Form tag added with action "`libprep_diltion_protocol2.jsp`", method "`post`", id "`wizard`", and class "`wizard`".[[BR]]b. New hidden input fields added for id, submit info, and number of items. Navigation table updated by adding button for creating library preparation dilution protocol. The button is coupled to id "`gocreate`".
     9 2. Javascript file `select_dna_for_start_plate.js` in `resources/libprep/` updated:[[BR]]a. Function `initPage()` updated with event handler for button for creating a dilution protocol. The event handler couples the button to new function `createProtocol()`.[[BR]]b. Step initialization functions updated to hide the button for creating a dilution protocol, until the last fourth step.[[BR]]c. New function `createProtocol()` added. It obtains information on DNA aliquots allocated for reserved wells of the current start plate, adds data for well position to the JSONObject representing the aliquot, and submits a JSONArray of the extract items together with other JSON data (including start plate name and current date) to new JSP file `libprep_dilution_protocol2.jsp` by calling `frm.submit()`.[[BR]]d. New convenience function `wellRowColumnToWellStr(row, column)` added. It returns a well string (row letter + column number, 1-based) for an 8x12 plate from row and column indices (0-based).[[BR]]e. New convenience function `formatDate(date)` added. It returns a date object as a date string in format "yyyy-mm-dd".[[BR]]f. Function `getWellText(well)` updated to use new dilution volumes, and to store dilution data needed for the dilution protocol in the JSONObject for the extract in each well.
     10 3. New JSP file `libprep_dilution_protocol2.jsp` in `resources/libprep/` added. It is coupled to new javascript file `libprep_dilution_protocol.js` in `resources/libprep/`.
     11 4. New javascript file `libprep_dilution_protocol.js` in `resources/libprep/` added.[[BR]]a. Function `initPage()` obtains submit info etc. in JSON format from posted page data, after which it calls function `initializeProtocol(submitInfoJsonStr)`.[[BR]]b. Function `initializeProtocol(submitInfoJsonStr)` writes the header table, and then calls function `tableRowsForItems(accumItemNo, itemJsonArr, itemType, itemTypeVarName)` to create the dilution table.[[BR]]c. Function `tableRowsForItems(accumItemNo, itemJsonArr, itemType, itemTypeVarName)` obtains JSON data for the DNA extract items placed on the start plate, and creates the dilution table, with one row for each selected DNA extract.