Contents

Code Generation from the CALM Form Editor ( for Struts Framework)

Once you had associated all the assessment scores and the mandatory fields with the form components, it is time to generate the JSPs, Struts Form Bean and update the struts-config.xml file for the Generic Assessment Management Engine (GAME) in the HID web application. For this, select Struts Code Generator from the Tools menu. You will see the following dialog box;



This the only mandatory information that needs to supplied for the Struts JSP, FormBean Java code generation and update of the struts configuation file template. Here you specify the location of the HID web application as checked out from the BIRN CVS repository.
After that, you will see the following dialog box with all fields completed using the Clinical web application Home directory info just
supplied.


 

Since each clinical assessment can map to multiple JSPs, the names of the to be  generated JSPs must be specified. CALM form editor gives them default names.

The initial values are good for almost all cases, you can always edit these values. Next, press OK to start code generation.