@SelectionList

Use the @SelectionList property to specify labels and values for a JSF selection list control.

The @SelectionList property includes the following property fields:
labelItem
The name of a non-nested record variable or a table column that contains the labels to be displayed in a JSF selection list control.
valueItem
The name of a non-nested record variable or a table column to be used as the values returned from the selection list.

Specify @SelectionList on a Record definition to be used on a JSP. You can also specify @SelectionList on a record declaration in a JSF Handler, but in this case, the values of labelItem and valueItem must match the case of the fields as defined in the Record part.

Example

Record  employee  type  basicRecord {
  @selectionList {
    labelItem=empName,
    valueItem=empId;
    }
  }
  empName STRING;
  empId INT;
end  

Feedback