<msm:select> builds a native HTML <select> by rendering options from items.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Build a select element from items
<msm:select> builds a native HTML <select> by rendering options from items.
<msm:select id="country" mode="DIRECT" items='[{"value":"DE","label":"Germany"},{"value":"US","label":"USA"}]'>
<msm:template>
<option value="${value}">${label}</option>
</msm:template>
</msm:select>
| Attribute | Meaning |
|---|---|
mode | Data source mode (e.g. DATABASE, BEAN, REPOSITORY, DIRECT). |
selected / selectedValue | How the selected option is determined. |
item-name | Variable prefix for each option item. |