messages.setWarnStyle("warnStyle");
messages.setLayout("table");
//messages.setStyle("left: 48px; top: 432px; position: absolute");
MockResponseWriter writer = (MockResponseWriter)facesContext.getResponseWriter();
HtmlCheckAttributesUtil.checkRenderedAttributes(
messages, facesContext, writer, attrs);
if(HtmlCheckAttributesUtil.hasFailedAttrRender(attrs)) {
fail(HtmlCheckAttributesUtil.constructErrorMessage(attrs, writer.getWriter().toString()));
}
}