• Prashant Sontakke 12
  • 0 Points
  • Member since 2022

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 1


  I am using <apex:tabpanel> for displaying tabs One & Two.. I want to know which tab is selected

<apex:page id="thePage"> <apex:outputtext> Here I have to display some content based on tab selection </apex:outputtext> <apex:tabPanel switchType="client" selectedTab="name2" id="theTabPanel"> <apex:tab label="One" name="A" id="tabOne">content for tab one</apex:tab> <apex:tab label="Two" name="B" id="tabTwo">content for tab two</apex:tab> </apex:tabPanel> </apex:page>

Based on the tab selection I have to do some calculation and display some content... If tab One is selected I have to display Tab One is selected like that..



Is it possible in VF..?