Changes between Initial Version and Version 1 of Ticket #448, comment 4


Ignore:
Timestamp:
Dec 11, 2012, 1:52:19 PM (7 years ago)
Author:
olle
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #448, comment 4

    initial v1  
    22
    33 * The blood registration form is managed by JSP script `bloodform.jsp` in `reggie/resources/`, which communicates with servlet `BloodRegistrationServlet.java` in `reggie/src/net/sf/basedb/reggie/servlet/`.
    4  * The JSP script is updated by adding a `textarea` input field in the blood registration form, whose value is sent to the servlet via variable `bloodInfo.otherPathNote`. The servlet stores the value as an annotation of type ` Annotationtype.OTHER_PATH_NOTE` for the blood sample item. To ensure that an existing comment is shown, when updating a blood registration, the servlet should in this case retrieve the value from the database and transfer it to the JSP script via variable `bloodInfo.otherPathNote`.
     4 * The JSP script is updated by adding a `textarea` input field in the blood registration form, whose value is sent to the servlet via variable `bloodInfo.otherPathNote`. The servlet stores the value as an annotation of type `Annotationtype.OTHER_PATH_NOTE` for the blood sample item. To ensure that an existing comment is shown, when updating a blood registration, the servlet should in this case retrieve the value from the database and transfer it to the JSP script via variable `bloodInfo.otherPathNote`.
    55 * The design for adding a comment to the blood registration wizard will be based on the one for handling a comment for a specimen tube in JSP script `specimentube.jsp` in `reggie/resources/` and servlet `SpecimenTubeServlet.java` in `reggie/src/net/sf/basedb/reggie/servlet/` (there are some differences, such as in what registration step, the comment is added, but the same outline will be followed).
     6 * The installation wizard is managed by JSP script `install.jsp` in `reggie/resources/`, which communicates with servlet `InstallServlet.java` in `reggie/src/net/sf/basedb/reggie/servlet/`. The latter servlet should be updated to include `Annotationtype.OTHER_PATH_NOTE` for `Subtype.BLOOD`, in order for the `OtherPathNote` annotation to be shown in the 'Blood' category.