if (event.getSource() == this) {
if (event instanceof PostAddToViewEvent) {
FacesContext context = FacesContext.getCurrentInstance();
FocusRendererInterface renderer = (FocusRendererInterface) context.getRenderKit().getRenderer(COMPONENT_FAMILY,
FocusRendererBase.RENDERER_TYPE);
renderer.postAddToView(context, this);
}
}
super.processEvent(event);
}