I have simple counter widget with two text, one digit and one image. I require a lot of such counters in my new project.
Do I have to make separate frame for all or there is a way that same counter frame can be used by supplying sql for digit, text and image?
As these counters are very much used in any application, we can have a widget as chart in cuba itself.
You can update your counter widget content from other widgets or dashboards by using dashboard assistent bean. Or you can use widget parameters in your counter widget and pass these parameters from dashboard. Please find more information in dashboards readme file GitHub - cuba-platform/dashboard-addon: This component is designed to create and embed dashboards. Dashboard consists of widgets - individual elements based on a frame.