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

output_html_696edf79.png


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

output_html_m3ce23ad3.png

Entities    Diagram

output_html_221ca4c4.png

Service    activity    diagramN/A

Tag attributes: reference

TagRadioList
DescriptionList with several buttons to tick (radio commands) among which only one button can be selected at a time.
Diagram

output_html_ma27cf4a.png

Tag attributes: description 

AttributeRequiredDescription
IdYComponent’s ID
tablefieldYDefines the class and the field bound to the component.
instancenameNObject instance name.
instancenameListYName of the list 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 is used to fill the table.
  • Parentinstancename is in this case : « activiteSession1.modules »
scopeNInstance scope : request or session
listkeyYKeys’ list (displayed values). Its setting is the same as the Tablefield tag.
listvalueYThe values list (useable values). The setting is the same as the Tablefield tag.
repeatdirectionN

Radio commands display setting

Possible value : vertical (commands are displayed on top of one another) or horizontal (commands are displayed side by side)

actionNTrue/false, if the field value changes and the tag has a « true » value, an action will be triggered by the component.
sourceNList source, service: to get it back from a service, generic: (default) to get the list back with all the objects.

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