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
Mariappan PerumalMariappan Perumal 

Controller issue in tabbed panel

Hi all,


I have been using TabPanel in my visualforce page(inline vf page) with 5 tabs . Each of my tab contains some fields in some X object (in my instance - Case object)


I am getting and updating the data in case object in that visualforce page respectively(save and edit functionality) in each tab.


When i am trying to save the data in 5th tab , Its working fine but after save it redirects me to 1st tab(control got switched to 1st tab)  


how can i avoid this problem , Can anyone help me out of this problem.


Thanks in advance

It may have something to do with your active tab setting on the re-render. This is controlled by the value attribute on the tabPanel
<apex:tabPanel rendered="..." switchType="client" styleClass="Tab" value="{!currentTabName}" id="id1">
Try playing with that.