Data Binding
From Documentation
Data binding synchronizes data between View and ViewModel according to component definition's annotation. The annotation specifies when to save (or load) which attribute, how to convert, validate and render the data. It can be found in metainfo\zk\lang-addon.xml of zkbind.jar. Please refer to ZK Client-side Reference/Language Definition about how to configure language definition and its addon.
ZKBIND zkbind system's annotation name
ACCESS | Access privilege. The value can be "both", "save", "load"(default value); default value is used if not specify. |
CONVERTER | System converter for special properties. e.g. SelectedItem in listbox. see ListboxSelectedItemConverter |
VALIDATOR | System validator for special properties. |
SAVE_EVENT | Save trigger event. It's meaningful only when ACCESS attribute is "both" or "save". |
LOAD_EVENT | |
LOAD_REPLACEMENT | |
LOAD_TYPE | |
SAVE_REPLACEMENT | |
RENDERER |
Version History
Version | Date | Content |
---|---|---|