responseWriter.startElement(StringPool.DIV, null);
responseWriter.writeAttribute(StringPool.ID, contentBoxClientId, null);
// Create a response writer that will ignore the opening and closing "span" element tags along with the "id",
// "style", and "class" attributes.
DelegationResponseWriter delegationResponseWriter = new OutputTooltipResponseWriter(responseWriter, clientId);
// The delegation renderer provided by the JSF runtime does not attempt to encode the opening <span> tag during
// of encodeBegin(FacesContext, UIComponent). Instead, the entire <span>...</span> element is encoded during
// encodeEnd(FacesContext, UIComponent).
super.encodeMarkupEnd(facesContext, uiComponent, delegationResponseWriter);