Summary
This was a short but juicy chapter. Take a look at what we have learned:
We learned how to get path info, parameters, and fragments in the URL by using the
VaadinRequest.getPathInfo
,VaadinRequest.getParamenter
, andPage.getUriFragment
methods.We learned how to get a referent to the current
VaadinRequest
by callingVaadinService.getCurrentRequest()
.We learned how navigators make it easy to implement navigation capabilities through fragments by adding instances of
View
to aNavigator
.We learned how easy it is to preserve state in Vaadin applications by using the
@PreserveOnRefresh
annotation in ourUI
implementations.We learned how to identify users and store related data by using
VaadinSession
.We learned how to use menus and key shortcuts.
Congratulations. Knowledge acquired. You are ready for the next chapter where we will be covering a really interesting topic: Tables and trees. See ya!