Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Vaadin 7.7 widgetset configuration in case of custom widget

Dominic Lerbs
5 years ago Sep 01, 2016 1:08pm
Teemu Suo-Anttila
5 years ago Sep 01, 2016 1:38pm

Hi Dominic,

If you have a custom widget in your project, it should be in its own submodule, and not depend on the addons (unless specifically needed). Your UI module should then depend on the custom widget module and the addons you are using. This way the UI module will generate and compile the AppWidgetset with the correct dependencies. Take a look at the multimodule archetype for Vaadin 7.7.0, it has an example of this. The widgetset for the custom widget should not be touched, as it a dependency for the UI, but the UI module should not need a widgetset and annotation.

//Teemu

Dominic Lerbs
5 years ago Sep 16, 2016 3:13pm
Dominic Lerbs
5 years ago Sep 19, 2016 8:12am