* @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 {
UIInclude panel = (UIInclude) component;
if (!UIInclude.LAYOUT_NONE.equals(panel.getLayout())) {
writer.startElement(getTag(panel), panel);
getUtils().encodeId(context, component);
getUtils().encodePassThru(context, component);
getUtils().encodeAttributesFromArray(context, component,
STYLE_ATTRIBUTES);