// Encode the opening boundingBox <div> tag via delegation. Ensure that the "id" attribute is always written so
// that Alloy's JavaScript will be able to locate the boundingBox in the DOM.
ResponseWriter responseWriter = facesContext.getResponseWriter();
String clientId = uiComponent.getClientId(facesContext);
DelegationResponseWriter idDelegationResponseWriter = new IdDelegationResponseWriter(responseWriter,
StringPool.DIV, clientId);
super.encodeMarkupBegin(facesContext, uiComponent, idDelegationResponseWriter);
// Encode the opening contentBox <div> tag with a unique id.
String contentBoxClientId = clientId.concat(CONTENT_BOX_SUFFIX);