code: public static void renderChildren(FacesContext fc, UIComponent component) throws IOException {
  		for (Iterator<UIComponent> iterator = component.getChildren().iterator(); iterator.hasNext();) {
  			UIComponent child = (UIComponent) iterator.next();
  			renderChild(fc, child);
  		}
  	}
docs: Renders the Childrens of a Component
  
  @param fc
  @param component
  @throws IOException