Contents

Tools Menu


Add Container (Alt-C)

This menu item is used to add a container to the current page of the clinical assessment you are working on.  A container contains zero or more display components. A display component corresponds to a form field like text entry field, radio button or  to styled text. You can also press the toolbar button  or the shortcut key Alt-C to achieve the same thing.
When this menu item is selected,  you will be asked if you want to use percentage based layout.

Note: Please use percentage based layout throughout the layout! The column/row span based layout needs much more nested containers for complex form layouts. Also never mix and match percentage based layout with the
column/row span based layout.


If you click yes, you will see a dialog box like the one below;

 

In this dialog box, you can edit the layout manager for the container you want to add to the clinical assessment layout by changing the number of rows and/or the columns of the grid, specify  the size of an individual grid cell in percentages.  
You select an individual cell by pointing and clicking in that cell in the preview. In the dialog box above, for example, the second row, first column is currently selected. The column occupies half of the container width (50%) and 40% of the container height. In the selected row , it seems that there are only two columns. Actually there are four columns like the other rows, but two of the columns have 0% width. You can not specify 0% height for a row.

When you edit any of the percentages, please do not forget to press Enter , to apply the change. Once you change the percentage of a grid cell's row or column, the remaining height/width in the container will be distributed preserving the ratio of height/width of the other rows, cells. Therefore, you may need to adjust the percentages more than once till you get the desired layout.

You can also set all column width for a row or a range of rows at once, by selecting lower and upper bounds (inclusive) of rows in the Set Column percents for row(s) section of the dialog box and pressing Update Row button. You will see a dialog box similar to the one below, where you can enter individual percentages.



Once you are satisfied with the cell arrangements, press OK button and Left click in any empty cell on the form layout pane of the CALM.

You can edit an existing container, either by left double-clicking in an empty cell or Ctrl - left double click anywhere with the particular container you are interested. The Container grid lines are only a visual guidance and they are not included in the final online assessment forms.

Adding a new row after a selected row in a container




While you can append rows and columns , to the end by using the dropdowns in the 'Adjust row/column numbers' section of the Edit Layout dialog, to add a new row after any row,
  1. Select the row you want to add a new row after
  2. Press the right mouse button to bring up the popup menu and select 'Add a row after the selected row'. A new row with equal column percents will be added after the selected row in the preview panel (Actually preview panel is the skeleton view of the actual container you are editing, therefore any change here will automatically affect the actual container. Cancel button will not undo the changes. This will be fixed in later versions)
  3. Press OK button.

Deleting the selected row from the Container

  1. Select the row you want to delete in the preview panel in the Edit Layout Dialog by clicking anywhere inside the row.
  2. Press the right mouse button to bring up the popup menu and select 'Delete the selected row'.
  3. Press OK button

Add Text  (Alt-E)

This menu item is used to add multiline styled text to one of the cells in a container.  After selecting the menu item ( or the corresponding toolbar button), left click in the grid cell you want to add text. You will first see a property editor where you can enter the styled text.



A limited number of HTML tags are recognized as shown below.



Add Radio Button  (Alt-R)

This menu item is used to add a radio button with optional text to one of the cells in a container. After selecting the menu item ( or the corresponding toolbar button or shortcut Alt-R), left click in the grid cell you want to add a radio button.


Add Check Box  (Alt-X) 

This menu item is used to add a check box with optional text to one of the cells in a container. After selecting the menu item ( or the corresponding toolbar button or shortcut Alt-X), left click in the grid cell you want to add a check box.

 

Add Text Input Field  (Alt-T )

This menu item is used to add a text input field  to one of the cells in a container. After selecting the menu item ( or the corresponding toolbar button or shortcut Alt-T), left click in the grid cell you want to add text input field.


Add Text Area Field (Alt-A )

This menu item is used to add a text area input field  to one of the cells in a container. After selecting the menu item ( or the corresponding toolbar button or shortcut Alt-A), left click in the grid cell you want to add text area field.

Add Dropdown Field (Alt-D )

This menu item is used to add a static dropdown field  to one of the cells in a container. After selecting the menu item ( or the corresponding toolbar button or shortcut Alt-D), you will see a dropdown selection dialog where you can create your own dropdown with its option list or selected from canned dropdowns. Currently, the only canned dropdown is informant relation dropdown. After that you will see a dialog box like below, where you can edit dropdown properties and edit the dropdown option list. Once you are finished thes steps, left click in the grid cell you want to add a dropdown field.



Add Button   (Alt-B )

This menu item is used to add a submit button  to one of the cells in a container. After selecting the menu item ( or the corresponding toolbar button or the shortcut Alt-B) left click in the grid cell you want to add button field.


Select Components  (Alt-S)

This menu item enables mouse based selection of a portion of the layout. Just press the left mouse button outside of the container/ display component(s) you want to select and drag the mouse till the rubber band totally includes the container / display component(s) you want to select and release the button. The color of the selected container/ display component(s) will change to blue. Then press the right mouse button to active the popup menu. You can  either

Add TemplateComponent (Alt-Z)

This menu item allows you to select a template from  the list of previously saved templates and insert into any location in the currently edited page of the clinical assessment

Struts Code Generator  (Alt-G)

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 andupdate the struts-config.xml file for the Generic Assessment Management Engine (GAME) in the HID web application. For this, either select Struts Code Generator from the Tools menu or press Alt and G keys simultaneously.

Show Associations (Alt-H)

Toggles the assessment score association hint information display in the form layout for quickly detecting which fields are associated with a score. The first 8 characters of the Score name will be shown in the upper left hand corner of the form field.

Show Question Groups (Alt-Q)

Toggles the question group hint information display in the form layout for quickly detecting which fields are comprise a question. The fields in a question will be
hilited in orange and the question number will be shown in red.

Save Assessment to DB (Alt-D)

Saves the modified assessment, scores, score codes and assessment items ( question text) to the connected Oracle database if and only if the assessment is not populated with subject data. This option will first remove the previously existing assessment records and create a new assessment.