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

Default Tab Rendering based on Profile
We are using the tabbed layout and want to be able to have the default tab change based on the profile of the user.
Theoretically it would look something like this
<apex:tabPanel switchType="client" tabClass="activeTab" inactiveTabClass="inactiveTab" selectedTab="IF($Profile.Name=='Inside Sales',salesinfo,(IF($Profile.Name=='Accounting',Financials,dealinfo)))">
Thinking I should do this in apex. Anyone have any experience with this?
Thanks,
Use controller getter method
Controller :
VFP
In this example I have used value attribute of tabPanel component.
I hope it solve your problem, please let me know in case any issue in it.