You need to sign in to do that
Don't have an account?

Save the state for TABPANEL
There are a lot of posts about problems about saving the selected tab when using <apex:tabpanel>. Is there a CLEAN way to do this? Some of the examples think there is a URL that says tab="xyz" at the end....which is not necessarily the case.
I can detect the click and I have a simple controller that COULD persist something in a set/get but I am having problems cleanly connecting the two. I could go on to the Javascript/Cookie model but I am hoping there is something cleaner.
Who has a CURRENT working verion of a clean way to persist the selected tab out there. In my VF page, I have a tab panel with 4 tabs that have enhancedlists inside them. If a user picks an item (task or case) to view then hits the back button in the browser...it defaults back to the inital tab....very annoying for a user.
This is something I think SF should just FIX this correctly....but really...anybody out there fixed this in WInter 12 with APEX:TABPANEL?
Thanks in advance.
Hi DSchueler,
Try this,
VF page Code:
<apex:tabPanel> has attribute called "value" and it is controlled through class variable tabInFocus.
Hope this helps.
Thanks,
Devendra