Binding to a Process Variable
A select box can be bound to a process variable using thecam-variable-name directive:
Supported Variable Types
The select box supports the same value types as<input type="text">.
Populating the Options from a Variable
The<option> entries can be populated using a variable. The name of the variable can be provided using the cam-choices directive:
cam-choices expects the values to be a List or Map (Object). In case of a Map (Object), the keys of the map are used as values of the options. java.util.Map and java.util.List are supported but must be serialized as JSON: