O'Reilly logo

ZK Developer's Guide by Markus Stauble, Hans-Jurgen Schumacher, Jurgen Schumacher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Binding to a Backing Bean

With the EditableValueHolder implementation a component can bind values to and from a backing bean. The input ZK components implement the EditableValueHolder interface and the following table shows the list of components with the, class of binding target and the attribute of the ZK component that will be set in wrapping.

ZK JSF Component Class of Binding Attribute of ZK Component
Bandbox String value
Calendar Date. value
Checkbox Boolean checked
Combobox String value
Datebox Date text
Decimalbox BigDecimal text
Doublebox Double text
Intbox Integer text
Listbox String String[] (multiple selection Binding on selection
Radiogroup String Binding on selection
Slider Integer curpos ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required