You can pass the values through the URL in the form of
viewname
/parameters . You can get the value of the “parameters” part by calling
event.getParameters() in the enter method of the
View interface. You can also use a
Map instead and get the values by key. For example, if you invoke the following URL:
Notice there are no hashbangs in the URL, this is achieved with Vaadin Framework 8.2 by annotating the
UI implementation with @PushStateNavigation . See
this video for a working example.
Hi
I am new on vaadin 8. I want to send by email the url of a page with parameters. If users click on this link and arrive on the application and only after authentication. they are directed to the page of the url.
Hi
I am new on vaadin 8. I want to send by email the url of a page with parameters. If users click on this link and arrive on the application and only after authentication. they are directed to the page of the url.
You can do that by checking if the user is authenticated before building the UI. If so, you show the view, if not, you redirect to a login page which, for example, could include a parameter to indicate that the login view should redirect to the original view after a successful authentication.