// Encode the "class" and "style" attributes on the outermost <div> element.
RendererUtil.encodeStyleable(responseWriter, (Styleable) uiComponent);
// Start the encoding of the text input by delegating to the renderer from the JSF runtime.
String inputClientId = clientId.concat(INPUT_SUFFIX);
BrowserSnifferFactory browserSnifferFactory = (BrowserSnifferFactory) FactoryExtensionFinder.getFactory(
BrowserSnifferFactory.class);
BrowserSniffer browserSniffer = browserSnifferFactory.getBrowserSniffer(facesContext.getExternalContext());
InputDateTime inputDateTime = (InputDateTime) uiComponent;
InputDateTimeResponseWriter inputDateTimeResponseWriter = getInputDateTimeResponseWriter(responseWriter,
inputClientId, browserSniffer.isMobile(), inputDateTime.isResponsive());
super.encodeMarkupBegin(facesContext, uiComponent, inputDateTimeResponseWriter);
}