Hi all,
I’m wondering if there is a way to show some informational text in a form. This text is not bind to any property in the bean, it’s just text and it only purpose it to inform the user of proper filling the form.
I’ve created a Label and in it’s caption I’ve putted the text I wanted, but then in the createField there is no propertyId for this text in order to be created.
public class MyForm extends Form {
public SchoolQuestionnaireForm(DastagdApplication app) {
[..]
setFormFieldFactory(new DefaultFieldFactory() {
@Override
public Field createField(Item item, Object propertyId, Component uiContext) {
}
}
}
}
I’m almost sure that some concepts of Vaadin skipped my understanding… I don’t know…
I’ve already used the method form#setDescription(String) but unfortunatelly there are several informational texts that should be displayed in the form. Generally asking, is there a way other than using the methods form#setDescription(String), form#setCaption(String) to display some text (which is not bind to a property) in the form?