Sometimes e.g. a security framework may require one to traverse the component tree, collect all security annotations and evaluate them.
However, with mixed V8-V14 code, it's not possible to cross the boundary to the containing V14 LegacyWrapper from a Vaadin8 Component: the getParent() will eventually lead us to MprUIContent, then to MprUI which has null parent.
It would be great to have a possibility to get the owning LegacyWrapper from a V8 Component.
Sometimes e.g. a security framework may require one to traverse the component tree, collect all security annotations and evaluate them.
However, with mixed V8-V14 code, it's not possible to cross the boundary to the containing V14 LegacyWrapper from a Vaadin8 Component: the getParent() will eventually lead us to
MprUIContent, then toMprUIwhich hasnullparent.It would be great to have a possibility to get the owning LegacyWrapper from a V8 Component.