Styles.renderStyleClasses(context, messageComponent);
}
private Script getClientScript(FacesContext context, UIComponent messageComponent, String css) {
String messageClientId = messageComponent.getClientId(context);
return new ScriptBuilder().functionCall("O$.addMessagesRenderer", new NewInstanceScript("O$._MessagesRenderer",
messageClientId,
getTitle(messageComponent),
isTooltip(messageComponent),
isShowSummary(messageComponent),
isShowDetail(messageComponent),