NexJ Logo

Radio button MODL reference

The MODL elements of the radio buttons contain captions which specify the different values of the items on the list of radio buttons. The items property is used to specify the collection of the items to be displayed as options to the user in the radio button list. The order property is used to specify the display order of the items in the radio button list and the values property is used to store the user's selection from the radio list.

Example

Following is how we implement a radio button for view security within a Layout:

<Radio caption="ids.viewSecurity" captions="caption" head="true" 
items="(@@ SecurityTypeEnum)" name="cmbViewSecurity" order="(value)"
value="viewSecurityType" values="value"/>

This code renders the following example:

Additional reference

Radio Buttons - Material Components for the Web