Business App Starter

Hi, best practice to include Login Form an pass parameters to the views for example

navigate instruction menu.addNaviItem(personnel, “Managers”, Managers.class);
how i can pass parameters to the view Managers.class

Thanks

I’m not 100% sure, if I get right what you want to do.

There are two ways to pass parameters to a view when navigating through the UI.

  1. ui.navigate(MyView.class, “someParameter”);
  2. ui.navigate(“my-view”, new QueryParameters(stringParametersMap));

Details of what is to set up to use these methods you can find here: https://vaadin.com/docs/v14/flow/routing/tutorial-router-url-parameters.html