Vaadin static-cards implementation

Hi Team,

Please let me know how we can implement the vaadin static- cards in cuba platform.

Regards,
Nagendra.

Could you please clarify what do you mean by static cards ? Do you have examples / links so we can take a look?

Hi Yuriy,

You can check the vaadin static cards at mentioned link.

Regards,
Nagendra.

Unfortunately, you cannot use it since it depends on Vaadin 8.1. But you can implement your own cards. For instance, take a look at CUBA dashboard demo https://demo.cuba-platform.com/dashboard/#! . See source code here: GitHub - cuba-platform/sample-dashboard: Example of responsive UI

If you want to create reusable Component, I’d recommend to start with WebCssLayout class, inherit it and fill with the required child components. Then implement XML loader and Java interface as we do with the standard components. See also: Integrating a Vaadin Component into the Generic UI - CUBA Platform. Developer’s Manual