Enable usage of (Xdev)Label as form component

Description

Goal:
--------------------------------------------------------------
The (Xdev)Label has to be modified

  • to enable usage with FormWizard

  • to enable fieldgroup binding (bind entity property to a (Xdev)Label)

--------------------------------------------------------------

Current situation:
--------------------------------------------------------------
It is not possible

  • to select (Xdev)Label as Comopnent in Form Wizard

  • to use (Xdev)Label as component with a fieldgroup

--------------------------------------------------------------

Suggested changes:
--------------------------------------------------------------
Enhance (Xdev)Label 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

--------------------------------------------------------------

Environment

None

Activity

Show:
FH
April 25, 2017, 8:39 AM

Just use a read-only TextField with no border, same effect.

Assignee

FH

Reporter

JM

Labels

None

Components

Affects versions

Priority

Major