}
}
public void encodeChildren(FacesContext context, UIComponent component) throws IOException {
UITab tab = (UITab) component;
if (shouldRenderTab(tab)) {
if ((tab.getChildren() != null) && (tab.getChildren().size() > 0)) {
renderChildren(context, component);
} else {
ResponseWriter out = context.getResponseWriter();
out.write(" ");
}