Hi,
I’m currently trying to update a parent component when some session data changes (VaadinSession#setAttribute).
Is there a way to detect those changes?
Thanks in advance
Nic
Hi,
I’m currently trying to update a parent component when some session data changes (VaadinSession#setAttribute).
Is there a way to detect those changes?
Thanks in advance
Nic
Not directly. I guess the easiest way would be to create a proxy attribute setter which updates the session and notifies any listeners, and change all your calls to setAttribute
to go through the proxy instead.