function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jungleeejungleee 

Issue with <apex:tabPanel>

Hi All,

 

I just installed the SurveyForce app in one of my sandbox, which was very recently upgraded to winter'13. I click on the Surveys tab, enter a name for the new survey and am redirected to a page which has 4 tabs namely Share, edit, thanks page.. and results... I am unable to select any of the tabs.. But this works perfectly fine in my developer org which is still in Summer'12.

The 4 tabs are being displayed using the <apex:tabPanel> tag of the visualforce. So i decided to inspect this tag. I used the example used in the visualForce developer guide (Below), But when I click on the tabs, I am unable to navigate...

 

ANy help here??

 

<apex:page standardController="Account" showHeader="true"
tabStyle="account" >
<style>
.activeTab {background-color: #236FBD; color:white;
background-image:none}
.inactiveTab { background-color: lightgrey; color:black;
background-image:none}
</style>
<apex:tabPanel switchType="client" selectedTab="tabdetails"
id="AccountTabPanel" tabClass='activeTab'
inactiveTabClass='inactiveTab'>
<apex:tab label="Details" name="AccDetails" id="tabdetails">
<apex:detail relatedList="false" title="true"/>
</apex:tab>
<apex:tab label="Contacts" name="Contacts" id="tabContact">
<apex:relatedList subject="{!account}" list="contacts" />
</apex:tab>
32
Getting a Quick Start with Visualforce Overriding an Existing Page with a Visualforce Page
<apex:tab label="Opportunities" name="Opportunities"
id="tabOpp">
<apex:relatedList subject="{!account}"
list="opportunities" />
</apex:tab>
<apex:tab label="Open Activities" name="OpenActivities"
id="tabOpenAct">
<apex:relatedList subject="{!account}"
list="OpenActivities" />
</apex:tab>
<apex:tab label="Notes and Attachments"
name="NotesAndAttachments" id="tabNoteAtt">
<apex:relatedList subject="{!account}"
list="NotesAndAttachments" />
</apex:tab>
</apex:tabPanel>
</apex:page>

 

Thanks

Sam