Attributes

The WIDGET element has the following attributes:

Table 1. Attributes of the WIDGET Element

Attribute Name

Required

Default

Description

TYPE

Yes

 

The type of WIDGET. This can be one of the following:

  • EVIDENCE_COMPARE
  • FILE_EDIT
  • FILE_UPLOAD
  • MULTISELECT
  • SINGLESELECT
  • RULES_SIMULATION_EDITOR
  • FILE_DOWNLOAD
  • IEG_PLAYER

LABEL

No

 

A reference to an externalized string that should be used as the associated label string for this widget.

WIDTH

No

 

The width of the control specified in the appropriate units.

WIDTH_UNITS

No

PERCENT

The units in which the width is interpreted. This can be PERCENT to indicate the percentage of the space available to the widget, or CHARS to indicate the number of visible characters wide the widget will be.

HEIGHT

No

1

A HEIGHT value that may be used by the widget.

ALIGNMENT

No

DEFAULT

Defines the horizontal alignment of the widget. Can be set to LEFT, RIGHT, CENTER, or DEFAULT. The value DEFAULT corresponds to the CSS class default in curam_common.css. Currently the default is to be left aligned.

HAS_CONFIRM_PAGE

No

false

Attribute to be used only on widget of type of MULTISELECT. Used to specify that the widget selection data is to be submitted to the confirmation page. Can be true or false. See Confirmation Pages.