Trace:
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
vaadin:ignore_nagivation [2018/02/06 12:28] admin created |
vaadin:ignore_nagivation [2020/08/05 12:57] (current) cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation) |
||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTRANS~~ | ~~NOTRANS~~ | ||
- | ~~Title: Ignore Navigation for specific screens~~ | + | ~~Title: Ignore Navigation for Specific Screens~~ |
It's super easy to enable standard Browser navigation for an application. Simply set the application parameter | It's super easy to enable standard Browser navigation for an application. Simply set the application parameter | ||
Line 14: | Line 14: | ||
It's possible to disable navigation for screens. You have different options: | It's possible to disable navigation for screens. You have different options: | ||
- | * Implement the interface ''com.sibvisions.apps.vaadin.IIgnoreNavigation'' in your work-screen class \\ //(best option for base work-screen classes)// | + | * Implement the interface ''com.sibvisions.apps.vaadin.IIgnoreNavigation'' in your workscreen class \\ //(best option for base workscreen classes)// |
- | * Add the annotation ''com.sibvisions.apps.vaadin.IgnoreNavigation'' to your work-screen class \\ //(good for specific work-screen classes)// | + | * Add the annotation ''com.sibvisions.apps.vaadin.IgnoreNavigation'' to your workscreen class \\ //(good for specific workscreen classes)// |
* Set the parameter #IGNORENAVIGATION, e.g. \\ <file java> | * Set the parameter #IGNORENAVIGATION, e.g. \\ <file java> | ||
HashMap<String, Object> mpParams = new HashMap<String, Object>(); | HashMap<String, Object> mpParams = new HashMap<String, Object>(); | ||
Line 21: | Line 21: | ||
| | ||
getApplication().openWorkScreen(StatusWorkScreen.class.getName(), Modality.Modal, mpParams); | getApplication().openWorkScreen(StatusWorkScreen.class.getName(), Modality.Modal, mpParams); | ||
- | </file> \\ //(good for on-demand work-screens)// | + | </file> //(good for on-demand workscreens)// |