4.2.9 The Select tag
Description
The Select tag allows displaying a drop down list.
Example
| Rendering |
|
XHTML settings | <bluage:Select id="slc_company" instancenamelist=" company List" instancename="newContact" tablefield="Contact.contactCompany.id" listkey="Company.name" listvalue="Company.id"> <select> <option/> </select> </bluage:Select> |
| Screen activity diagram |
|
| Entities Diagram |
|
| Service activity diagram | N/A |
Tag attributes: reference
| Name | Select |
| Documentation | Drop down list. Only one item can be selected. |
| Diagram |
|
Tag attributes: description
| Attribute | Required | Description |
| id | Y | Id of select |
| tablefield | Y | Shows the class and the field 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 :
|
| instancenameList | Y | The list name bound to the component. |
| instancename | Y | The object instance name receiving the selected value. |
| listkey | Y | Keys list (displayed values). The setting is the same as for the Tablefield tag. |
| listvalue | Y | The values list (useable values). The setting is the same for the Tablefield tag. |
| action | N | Defines if an action is triggered once its value changes and launches a modeled service: “true” or “false” (default value). |
| scope | N | Instance scope (« List » object in use) |
| source | N | List source, service: to get it back from a service, generic: (default) to get back the entire objects list. |
| defaultkey | N | Key corresponding to the default value. |
| defaultvalue | N | Value displayed if no value is selected. |



