* @author Dmitry Pikhulya
*/
public class WindowRenderer extends AbstractWindowRenderer {
@Override
protected void encodeContentPane(FacesContext context, AbstractWindow abstractWindow) throws IOException {
Window win = (Window) abstractWindow;
String clientId = win.getClientId(context);
ResponseWriter writer = context.getResponseWriter();
// writer.startElement("div", win);
// writer.writeAttribute("class", "o_windowContentContainer", null);
writer.startElement("div", win);
writer.writeAttribute("id", clientId + MIDDLE_AREA_SUFFIX, null);
Rendering.writeStyleAndClassAttributes(writer, win.getContentStyle(), win.getContentClass(), getDefaultContentClass());
ComponentWithCaptionRenderer.renderChildren(context, abstractWindow);
encodeCustomContent(context, abstractWindow);
writer.endElement("div");
// writer.endElement("div");
}