Trace:
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
vaadin:endisable_navigation [2018/02/06 12:21] admin created |
vaadin:endisable_navigation [2020/08/05 13:01] (current) cduncan Capitalization |
||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTRANS~~ | ~~NOTRANS~~ | ||
- | ~~Title: En-/Disable navigation programmatically~~ | + | ~~Title: En-/Disable Navigation Programmatically~~ |
The standard application frame supports navigation between screens with Back/Forward buttons of the web browser. This feature is disabled by default. If you want to use the navigation with Back/Forward, simply add: | The standard application frame supports navigation between screens with Back/Forward buttons of the web browser. This feature is disabled by default. If you want to use the navigation with Back/Forward, simply add: | ||
Line 20: | Line 20: | ||
to the web.xml. | to the web.xml. | ||
- | Above setting is for the whole application and for all users. If you want finer control, it's possible to en-/disable the navigation in your application code, programmatically. A common use-case is that you en-/disable the navigation per user. To do this, create your own application (see [[vaadin:custom_application|CustomApplication]] class). | + | Above setting is for the whole application and for all users. If you want finer control, it's possible to en-/disable the navigation in your application code, programmatically. A common use-case is that you en-/disable the navigation per user. To do this, create your own application (see [[vaadin:customize_application|CustomApplication]] class). |
Use following code snippet: | Use following code snippet: |