PropertiesItem | Vaadin

Bind java.util.Properties easily to Vaadin Form.

The standard java.util.Properties class represents a persistent set of properties. The Properties can be saved to a stream or loaded from a stream. Each key and its corresponding value in the property list is a string.A property list can contain another property list as its "defaults"; this second property list is searched if the property key is not found in the original property list. Load and store properties in a simple line-oriented (human readable) format. utility class makes it very easy to bind java.util.Properties objects directly into a Vaadin Form, like: form.setItemDataSource(new PropertiesItem(myProps)).

There is built-in typing for the properties using the type suffix in parentheses. Supports string, int, boolean, date types. This feature is optional and the default type is String as normally. Also for convenience there is setFile() and save() functions to persist the data easily.


Link to this version
ExperimentalReleased 22 January 2010Apache License 2.0
Framework Support
Vaadin 6.0+
Vaadin 7.0+
Browser Independent
Install with
Release notes - Version 0.9.1