having two views.
one is ABC view its contain 3 tabs named as 1,2 and 3.
another one XYZ view its contain 2 tabs named as 4 and 5.
How to navigate from ABC view tab 3 to XYZ view tab 5.
Thanks!
Dhane.
having two views.
one is ABC view its contain 3 tabs named as 1,2 and 3.
another one XYZ view its contain 2 tabs named as 4 and 5.
How to navigate from ABC view tab 3 to XYZ view tab 5.
Thanks!
Dhane.
This is isn’t handled automatically by the navigator https://vaadin.com/docs/-/part/framework/advanced/advanced-navigator.html. However, there is a possibility to give uri fragment parameters (see the link). So when calling Navigator#navigateTo you can give both the view and the tab, e.g. Navigator#navigateTo(XYZ + “/tab5”). In the enter-method in the Views, you then have to parse the paramters and switch to the correct tab manually. This also makes it possible to bookmark the view-tab combination.
-Pontus