4.2.11 The RadioList tag
Description
This tag allows managing a list with several buttons to tick (radio commands), but only one button can be ticked at a time
Example
| Rendering |
|
XHTML settings | <bluage:RadioList id="slc_salutation" instancenamelist="salutationList" instancename="newContact" tablefield="Contact.salutation.id" listkey="Salutation.value" listvalue="Salutation.id" repeatdirection="horizontal"> <input name="radiobutton" type="radio" value="true" /> </bluage:RadioList> |
| Screen activity diagram |
|
| Entities Diagram |
|
| Service activity diagram | N/A |
Tag attributes: reference
| Tag | RadioList |
| Description | List with several buttons to tick (radio commands) among which only one button can be selected at a time. |
| Diagram |
|
Tag attributes: description
| Attribute | Required | Description |
| Id | Y | Component’s ID |
| tablefield | Y | Defines the class and the field bound to the component. |
| instancename | N | Object instance name. |
| instancenameList | Y | Name of the list bound to the component |
| parentinstancename | N | Optional. If the list is filled with a calculated object list field (BO) (case of a master-detail), the attribute must include the “master” object instancename and its object field list. Example :
|
| scope | N | Instance scope : request or session |
| listkey | Y | Keys’ list (displayed values). Its setting is the same as the Tablefield tag. |
| listvalue | Y | The values list (useable values). The setting is the same as the Tablefield tag. |
| repeatdirection | N | Radio commands display setting Possible value : vertical (commands are displayed on top of one another) or horizontal (commands are displayed side by side) |
| action | N | True/false, if the field value changes and the tag has a « true » value, an action will be triggered by the component. |
| source | N | List source, service: to get it back from a service, generic: (default) to get the list back with all the objects. |


