getExceptionSettings().setUnexpectedExceptionDisplay( IExceptionSettings.SHOW_EXCEPTION_PAGE); getDebugSettings().setAjaxDebugModeEnabled(true); getResourceSettings().setStripJavascriptCommentsAndWhitespace(false); getExceptionSettings().setUnexpectedExceptionDisplay( IExceptionSettings.SHOW_INTERNAL_ERROR_PAGE); getDebugSettings().setAjaxDebugModeEnabled(false); getResourceSettings().setStripJavascriptCommentsAndWhitespace(true);
getExceptionSettings().setUnexpectedExceptionDisplay( IExceptionSettings.SHOW_EXCEPTION_PAGE); getDebugSettings().setAjaxDebugModeEnabled(true); getDebugSettings().setDevelopmentUtilitiesEnabled(true); getExceptionSettings().setUnexpectedExceptionDisplay( IExceptionSettings.SHOW_INTERNAL_ERROR_PAGE); getDebugSettings().setAjaxDebugModeEnabled(false); getDebugSettings().setDevelopmentUtilitiesEnabled(false); getResourceSettings().setJavascriptCompressor(new DefaultJavascriptCompressor());
getRequestCycleSettings().addResponseFilter(htmlvalidator); getDebugSettings().setAjaxDebugModeEnabled(false);
getDebugSettings().setAjaxDebugModeEnabled(determineAjaxDebugModeEnabled(configuration));