<apex:component controller="MenuController">
<apex:tabPanel switchType="client">
<apex:repeat value="{!menus}" var="menu" id="theRepeat">
<apex:tab label="{!menu.name}" name="{!menu.id}">content for tab one</apex:tab>
</apex:repeat>
</apex:tabPanel>
</apex:component>
Can any one please tell me what is wrong in this program? Why is this not creating a menus tab?