Creating tabs in Visualforce page using apex in Salesforce

Sample code:
  
<apex:page>
    <apex:tabPanel>
        <apex:tab label="Pagination">
            <apex:include pageName="Pagination"/>
        </apex:tab>
    </apex:tabPanel>
</apex:page>


here Pagination is the name of the page already developed.


Output:



Cheers!!!

1 comment: