<msm:select> baut ein natives HTML-<select>, indem es Optionen aus Items rendert.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Select aus Items erstellen
<msm:select> baut ein natives HTML-<select>, indem es Optionen aus Items rendert.
<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>
| Attribut | Bedeutung |
|---|---|
mode | Datenquellenmodus (z. B. DATABASE, BEAN, REPOSITORY, DIRECT). |
selected / selectedValue | Wie die selektierte Option bestimmt wird. |
item-name | Variablen-Prefix pro Option-Item. |