You need to sign in to do that
Don't have an account?
DS777
Redirection to current page
I have 3 tabs on my page. After editing a record(followed by save) or on cancel on tab 2 how to return back to tab 2 as
Current behaviour is that you get re-directed to tab 1 which is the default tab.
Here save and cancel are standard buttons.
you may have to create your own save and cancel buttons that perform this defaulting and then call the standard controller save() or cancel().
how to set the current tab in the controller?
Create new buttons is not a option as I am using the standard SF layout.
then in your controller,
public string getWhichTab() { // decide which name to return
return "name2" or "name1"
}
Hi Ron,
Can you please provide a working example as I failing it to work.
Regards