getResourceSettings().setThrowExceptionOnMissingResource(false); // Don't throw MissingResourceException for
// missing i18n keys in production mode.
}
getApplicationSettings().setPageExpiredErrorPage(PageExpiredPage.class); // Don't show expired page.
// getSessionSettings().setMaxPageMaps(20); // Map up to 20 pages per session (default is 5).
getComponentInstantiationListeners().add(new SpringComponentInjector(this));
getApplicationSettings().setInternalErrorPage(ErrorPage.class);
// getRequestCycleSettings().setGatherExtendedBrowserInfo(true); // For getting browser width and height.
// Select2:
// final ApplicationSettings select2Settings = ApplicationSettings.get();