Posts

Showing posts with the label #Navigation

Navigation in Vaadin.

Plain Vaadin applications do not have normal web page navigation as they usually run on a single page, as all Ajax applications do. Quite commonly, however, applications have different views between which the user should be able to navigate. The  Navigator  in Vaadin can be used for most cases of navigation. Views managed by the navigator automatically get a distinct URI fragment, which can be used to be able to bookmark the views and their states and to go back and forward in the browser history. The  Navigator  class manages a collection of  views  that implement the  View  interface. SO the class in which you are defining Navigation must implement with a  View  interface. addView() i s the method by which you can register Your View . You can add your view at any point ,Your View must have   name identifier and be added to a  View . Once registered, you can navigate to them with  navigateTo() . Navig...