Enable usage of (Xdev)Image as form component
Description
Goal:
--------------------------------------------------------------
The Image has to be modified
to enable usage with FormWizard
to enable fieldgroup binding (bind entity property to a (Xdev)Image)
--------------------------------------------------------------
Current situation:
--------------------------------------------------------------
It is not possible
to select (Xdev)Image as Comopnent in Form Wizard
to use (Xdev)Image as component with a fieldgroup
--------------------------------------------------------------
Suggested changes:
--------------------------------------------------------------
Enhance (Xdev)Image to enable usage with fieldgroups.
--------------------------------------------------------------
Comment:
--------------------------------------------------------------
Components that can be used with fieldgroups have a certain interface.
For Vaadin7, it is the Field<> interface
(changed in Vaadin 8 to HasValue<> - Interface
The way vaadin suggests for additional Field components is to use the CustomField-class.
The attached project has some examples for this way.
See also Vaadin-doku: Vaadin 7 / Vaadin 8
--------------------------------------------------------------