Hello everybody!
I need to develop one application with two containers. The first container has one menu with the options of system. The second container has the view of selected menu.
My question is : “Can I use two navigators in an Vaadin application?”. I asked it because in my search I don’t find one solution for my problem. I found this post (https://vaadin.com/forum#!/thread/1851565) but it was three years ago, and the solutions were more focused in use an fragmented navigation.
At Book of Vaadin (https://vaadin.com/book/-/page/preface.html) I found one solution also focused in fragmented navigation (https://vaadin.com/book/-/page/advanced.navigator.html). Fragmented navigation aren’t my problem, It will be more visual for the users to functional for the system.
My friend told me It’s possible to use more the one navigator, but in the default contructor of each navigator it set this new navigator as the UIs navigator. The problem is ours first container should be the UI container, because it is the major, and we need the second to swich the views of system, like a subnavigation.
The point is the default navigator(UI.getCurrent().getNavigator()) must always use the main container. Our system will be having a major navigator (used to navigate in all of views of system). Some specific views use one second navigator to navigate between themselves.
My problem is I need two containers and I need to manage these two containers separated. Anybody can helps me?
I am meeting the Vaadin yet, and I don’t know about all of your scope of possibility. So sorry if I lost one part or forget any concept, I am keeping search one solution while I put this post in this forum.
Obs: Sorry about my English, I am improving it yet.