4.2.9 The Select tag

Description

The Select tag allows displaying a drop down list.

Example

Rendering

output_html_5dfbfd07.png


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

output_html_m637a40c8.png

Entities    Diagram

output_html_504051b1.png

Service    activity    diagramN/A

Tag attributes: reference

NameSelect
DocumentationDrop down list. Only one item can be selected.
Diagram

output_html_m4e63b97a.png

Tag attributes: description

AttributeRequiredDescription
idYId of select
tablefieldYShows the class and the field bound to the component.
parentinstancenameN

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 :

  • activiteSession1 is the « master » object’s instance.
  • Modules is the activitesession1 object list field which will allow to fill in the table.
  • Parentinstancename is in this case : « activiteSession1.modules »
instancenameListYThe list name bound to the component.
instancenameYThe object instance name receiving the selected value.
listkeyYKeys list (displayed values). The setting is the same as for the Tablefield tag.
listvalueYThe values list (useable values). The setting is the same for the Tablefield tag.
actionNDefines if an action is triggered once its value changes and launches a modeled service: “true” or “false” (default value).
scopeNInstance scope (« List » object in use)
sourceNList source, service: to get it back from a service, generic: (default) to get back the entire objects list.
defaultkeyNKey corresponding to the default value.
defaultvalueNValue displayed if no value is selected.

BLU AGE is a registered trademark of NETFECTIVE TECHNOLOGY S.A. - Trademarks are property of their respective owners
Do not copy or divulge without written permission