How to Display Visualforce Page into <apex:tabPanel> ?
Here i am gonna show you how to display visualforce page which is already developed in the custom Tab (Apex Tab)...
Code :
<apex:page >
<apex:tabPanel>
<apex:tab label="Test Tab 1" ontabenter="window.parent.location.replace('/apex/Put you VF page Name here');">
<apex:include pageName="Put you VF page Name here"/>
</apex:tab>
<apex:tab label="Test Tab 2" >content for tab two</apex:tab>
</apex:tabPanel>
</apex:page>
No comments:
Post a Comment