Accessing parameter inside widget

Hi CUBA team,

I want to create a simple widget which contains just a browser frame. The destination url will be configured during dashboard configuration using the parameter editor. How can I access these parameters from widget?

Thanks for your help,
Roland

1 Like

If I have a widget with the parameter
image

then I can get it in the widget code and process it:

public class TaskPieChartFragment extends ScreenFragment {
    @WindowParam
    @WidgetParam
    protected Boolean isMyTaskWidget;
...
...

Thanks Andre,
this is really an easy solution :wink: