// note we cannot do this in DefaultFaceletsStateManagementStrategy because it is only used
// when PSS is enabled, but stateless views can be used without PSS. If the view is stateless,
// there is no need to ask to the StateManager.
Application application = context.getApplication();
ViewHandler applicationViewHandler = application.getViewHandler();
String renderKitId = applicationViewHandler.calculateRenderKitId(context);
ResponseStateManager manager = getRenderKitFactory().getRenderKit(
context, renderKitId).getResponseStateManager();
if (manager.isStateless(context, viewId))