Previous Topic: dtlLrelMultiselboxNext Topic: dtlReadonly


dtlRadio

The dtlRadio macro displays a group of option button controls with optional text following the control.

This macro has the following properties:

actcode=string

Specifies the action code.

attr=attributeName

(Required) Specifies the name of the attribute associated with the control.

codename=string

(Required) Specifies the name of a set of values from the ui_selection object that are displayed in the date drop-down list control. These values have code attributes that match the value specified for codename.

dataclass=string

Specifies the CSS class name used for the text of the option button.

evt=”eventName=’script’”

Specifies one or more HTML event handlers in the same way you specify them in an HTML statement, with quotes escaped as required. For example:

evt="onclick='myfunc()' onchange=\\\"myfunc2()\\\""

hdr=text

Specifies the text of the caption on the control; defaults to the DISPLAY_NAME of the attribute associated with the control.

id=string

Specifies the JavaScript identification of the control. This property is not intended for customer use.

sameRow=true|false

Specifies whether to display the option buttons on the same row.

title=text

Specifies the title for screen reader users.

Example: dtlRadio

NX_ROOT\bopcfg\www\htmpl\web\analyst\detaikl_pri_cal.htmpl file has the following use of the macro:

<PDM_MACRO name=dtlRadio hdr="Duplicate Ticket Action" attr="action" actcode="$args.action" codename="dupActions">