Get all items of a page with java

Hello.
I’m trying to get all components of a page (p.e. application Bakery page StorefrontView.java) like when in V8 in a Layout used getComponents().

In StorefrontView i’ve implemented AfterNavigationObserver, and in public void afterNavigation(AfterNavigationEvent event) i’ve tried getElement(), getElement().getShadowRoot(), getChildren() but nothing… :frowning:

How can I get the components that are created in a PolymerTemplate? Can anyone help me?

Thank you

I think it is not possible to access the elements of the shadow dom that are declared on a Polymer Template (client side) because flow does not know about them.

Thank you Diego…
I imagined … and that limits me a lot, so we decided to continue with Vaadin 8 … we think it gives us more coding speed and is easier to use.
Thanks for the comment
Edu