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
srvas137srvas137 

tell me apex component tag support apex tabpanel in visualforce page

tell me apex component tag support  apex tabpanel in visualforce page

 

problem is 

my tabs are not working in visualforce page when click a tab(it is not opening)

<c:mycomponent/>

 

<apex:component access="global" allowDML="true">

<style>

.activeTab {background-color: #236FBD; color:white; background-image:none}
.inactiveTab { background-color: lightgrey; color:black; background-image:none}

</style>


<apex:tabPanel switchType="client" tabClass="activeTab" inactiveTabClass="inactiveTab" width="10%" >
<apex:tab label="Depts">
<br/>
<br/>
<div align="right">
<apex:outputLink >Add Department</apex:outputLink>
</div>
</apex:tab>
<apex:tab label="Posts"><apex:outputLink >Add Department</apex:outputLink></apex:tab>
<apex:tab label="Sections" ></apex:tab>
<apex:tab label="Leave Type"></apex:tab>
<apex:tab label="Stations"></apex:tab>
<apex:tab label="Contract Types"></apex:tab>
<apex:tab label="Qualification Types"></apex:tab>
<apex:tab label="TAB"></apex:tab>
</apex:tabPanel>

</apex:component>

 

 

+++++++++++++++++

 

 

<c:setup ></c:setup>

magdielhfmagdielhf
Are you using JQuery or a third party JavaScript library on your VisualForce page ?

I've seen this to happen in the past when adding for example JQuery to a page and not have it set to compatible mode.