The nature of a radio button is being an option of a group of options where only one option can be selected. In classical HTML form design, the Radio Button Group has a name assigned to it which will then be posted by the HTML form and accessed from the server side handler via the according POST variable (the name of the radio button group).

Modeling a Radio Button Group will need an attribute on the request class for each radio button element.

Radio buttons have a value of type Boolean. Compared to classic HTML usage where a radio button tag usually has a value assigned, it is handled differently within the xUML UI context.

Defining a group of options is done by creating a <<UIPackage>> on a package element which holds the <<RadioButton>> user interface elements. The mandatory <<UIPackage>> settings Group needs to be named as shown in the below figure below.

Figure: Radio Button Group Settings