RenderingContext rc = RenderingContext.getCurrentInstance();
if (rc == null)
throw new IllegalStateException(_LOG.getMessage(
"NO_RENDERINGCONTEXT"));
FacesBean bean = getFacesBean(component);
beforeEncode(context, rc, component, bean);
encodeBegin(context, rc, component, bean);
}
}