Hi! I was reading CUBA docs about notifications and found next line:
In order to show a notification, inject the
Notifications
bean into the screen …
I always think that Notifications
is a bean, but actually it isn’t a bean, it cannot be injected to another bean, injection supports only in screen controllers.
Note: the same typo in docs in russian.