next up previous contents
Next: About this document ... Up: AssessmentManagementAction Previous: AssessmentManagementAction   Contents

Hooking up a new assessment with the GAME

While CALM generates the form bean and the corresponding JSPs for the online assessment, and updates struts-config.cml.template file, it does not hook up the form with CADispatcherAction. Currently , you need to go through following steps to hook a new assessment (assuming your clinical assessment is named ca in CALM);
  1. in clinical.web.Constants class, add a new constant variable TO_CA with value to_ca.
  2. update switch logic in clinical.web.actions.CADispatcherAction
  3. In web/WEB-INF/struts-config.xml.template, edit action named
    <action path="/cadispatcher", add a forward tag like
      <forward name="to_ca" path="/man_ca_Page1.do?action=Display"/>
    
    where man_ca_Page1 is the action path param of the first form (page) of the online assessment.
  4. delete web/WEB-INF/struts-config.xml to force regeneration by ant from the template file.
  5. run ant (to recreate struts-config.xml from the template and compile code also)



Burak Ozyurt 2008-03-28