@@ -0,0 +1,638 @@
+package my.package.components;%0A%0Aimport org.apache.log4j.Logger;%0A%0Aimport javax.faces.component.FacesComponent;%0Aimport javax.faces.component.UINamingContainer;%0Aimport javax.faces.context.FacesContext;%0Aimport java.io.IOException;%0A%0A@FacesComponent(%22my.package.components.Tab%22)%0Apublic class Tab extends UINamingContainer %7B%0A%0A  public boolean isTabActive() %7B%0A    TabView tabView = (TabView) getCompositeComponentParent(this);%0A  %0A    return tabView.isTabActive(this);%0A  %7D%0A%0A  public String getTabId() %7B%0A      return (String) getAttributes().get(%22id%22);%0A  %7D%0A  %0A  public String getTabLabel() %7B%0A    return (String) getAttributes().get(%22label%22);%0A  %7D%0A%7D%0A

Create Tab.java