/* (non-Javadoc)
* @see org.ajax4jsf.renderkit.RendererBase#doEncodeBegin(javax.faces.context.ResponseWriter, javax.faces.context.FacesContext, javax.faces.component.UIComponent)
*/
protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
UIAjaxOutputPanel panel = (UIAjaxOutputPanel) component;
if (!"none".equals(panel.getLayout())) {
writer.startElement(getTag(panel), panel);
getUtils().encodeId(context, component);
getUtils().encodePassThru(context, component);
getUtils().encodeAttributesFromArray(context,component,STYLE_ATTRIBUTES);
}