+ Start a Discussion
vijayabhaskarareddyvijayabhaskarareddy 

tab panel not working properly

<apex:page extensions="Sample4,Sample6" standardController="Account">
<apex:form >
    <apex:pageBlock id="details">
      <apex:tabPanel switchType="ajax" >
        <apex:tab label="Training Cases">
        <apex:pageblockTable value="{!memb}" var="m">
            <apex:column value="{!m.casenumber}"/>
            <apex:column value="{!m.casenumber}"/>
                     
        </apex:pageblockTable>
        
            <apex:commandButton value="<<" rerender="details" action="{!beginning}" disabled="{!prev}"/>
            <apex:commandButton value="<" rerender="details" action="{!previous}" disabled="{!prev}"/>
            <apex:commandButton value=">" rerender="details" action="{!next}" disabled="{!nxt}"/>
            <apex:commandButton value=">>" rerender="details" action="{!end}" disabled="{!nxt}"/>                                   
       
        </apex:tab>
        <apex:tab label="support">
        <apex:pageblockTable value="{!memb6}" var="m6">
            <apex:column value="{!m6.casenumber}"/>
                     
        </apex:pageblockTable>
        
            <apex:commandButton value="<<" rerender="details" action="{!beginning6}" disabled="{!prev6}"/>
            <apex:commandButton value="<" rerender="details" action="{!previous6}" disabled="{!prev6}"/>
            <apex:commandButton value=">" rerender="details" action="{!next6}" disabled="{!nxt6}"/>
            <apex:commandButton value=">>" rerender="details" action="{!end6}" disabled="{!nxt6}"/>                                   
       </apex:tab>
      </apex:tabPanel>  
    </apex:pageBlock>
</apex:form>
</apex:page>User-added image