This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

--Ignore Navigation for specific screens

Information about development with Vaadin UI.

--Ignore Navigation for specific screens

Postby Development@SIB » Tue Oct 04, 2016 11:27 am

This article is outdated - please use our new system at

It's super easy to enable standard Browser navigation for an application. Simply set the application parameter

Code: Select all

to true.

If navigation is enabled, it's possible to use the browser buttons, Back and Forward, to navigate between your screens. But sometimes, you don't want navigation for specific screens, e.g. open a screen as modal "popup". The modal popup is just a detail of another screen and not a real navigation target.

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)
  • Add the annotation com.sibvisions.apps.vaadin.IgnoreNavigation to your work-screen class
    (good for specific work-screen classes)
  • Set the parameter #IGNORENAVIGATION, e.g.
    Syntax: [ Download ] [ Hide ]
    HashMap<String, Object> mpParams = new HashMap<String, Object>();
    mpParams.put("#IGNORENAVIGATION", Boolean.TRUE);
    getApplication().openWorkScreen(StatusWorkScreen.class.getName(), Modality.Modal, mpParams);
    (good for on-demand work-screens)
User avatar
Posts: 315
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation