Skip to content

selectbox issue #186

@ghost

Description

Hi. I'm new in zk. Have a small problem.
In model class i hav a field which has a Set of objects property. I use select box :
< selectbox model="@load(fmm.fClasses)" selectedIndex="@{fmm.fClass.id}" >
< template name="model" var="cl">
${cl.id}
< /template >
< /selectbox >

when a click a command button, selectbox send a selected index, not id value.
how to pass id value via command ? thnx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions