alejandro-du / crudui

Automatically generate CRUD-like Vaadin views for any Java Bean
https://vaadin.com/directory#!addon/crud-ui-add-on
Apache License 2.0
86 stars 54 forks source link

Allow domain-object specific captions using CrudFormFactory. #49

Closed jflamy closed 5 years ago

jflamy commented 5 years ago

I needed to have a caption specific to the domain object being edited. Extending CrudFormFactory to allow building the form caption in addition to the form turned out to be easiest. The fix is backward compatible (if the factory does not provide a caption, the previous behavior is preserved).

custom caption

alejandro-du commented 5 years ago

Merged. Thanks for your contribution!