if ( renderStyleElements(context))
{
Style classStyle = XhtmlLafUtils.getClassStyle(context,
_GLOBAL_HEADER_STYLE_CLASS);
if (classStyle != null)
{
ResponseWriter writer = context.getResponseWriter();
// write the cell's background color property
writer.writeAttribute("bgcolor",
classStyle.getProperties().get("background-color"), null);
}
}
else
renderStyleClassAttribute(context, _GLOBAL_HEADER_STYLE_CLASS);
}