Changes between Initial Version and Version 1 of Ticket #801, comment 61


Ignore:
Timestamp:
Oct 27, 2015, 7:59:27 AM (6 years ago)
Author:
olle
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #801, comment 61

    initial v1  
    1414 4. New JSP file `edit_libprep_kit_details.jsp` in `resources/libprep/` added. It contains layout for the edit pop-up dialog, and is coupled to javascript file `edit_libprep_kit_details.js`, also in `resources/libprep/`.
    1515 5. New javascript file `edit_libprep_kit_details.js` in `resources/libprep/` added. It calls `window.opener.ExtractionReg.fetchJsonConsumables()` to call function `fetchJsonConsumables()` in javascript `inspect_lib_prep_kit_data.js` to obtain JSON data for the kit data table, that is inserted as default values in the dialog forms. Function `saveDetails()` calls `window.opener.ExtractionReg.updateDetailsTable()` to call function `updateDetailsTable()` in javascript `inspect_lib_prep_kit_data.js` to update the table with data entered in the dialog.
    16  6. Java servlet class/file `LibPrepServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated in protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` for command "`RegisterReagentLotNoFile`":[[BR]]a. Boolean parameter "overwrite" is retrieved.[[BR]]b.
     16 6. Java servlet class/file `LibPrepServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated in protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` for command "`RegisterReagentLotNoFile`":[[BR]]a. Boolean parameter "overwrite" is retrieved.[[BR]]b. If value of parameter "overwrite" is `true`, only data for kits not in supplied list of update kits, will be loaded from the library preparation kit storage. Otherwise, all previously stored data will be loaded, as only data for new kits will be added.[[BR]]c. If value of parameter "overwrite" is `true`, values for registration date, expiration date, "available" flag, number of times used, unused FPA plate locations, and comment for supplied kit data are taken from the latter, otherwise they are set to default values. (Last updated date is always set to current date for added/updated kits.)[[BR]]d. The response message for modified kits will describe the kit as "updated", instead of "added".