I have a Visualforce page with its own controller. One of the buttons on the page must go to a standard Opportunity page. I thought I would use this:
return new PageReference('/' + oppId).setRedirect(true);
but that only works partially: the Opportunity page is displayed with its own header and sidebar, so I see a header and a sidebar inside a header and a sidebar. Doing setRedirect(false) doesn't make any difference.
How do I refresh the complete page, how do I navigate away from the current page?