+ Start a Discussion

Looking for examples of custom extension

I am in the process of writing a controller extension and am having a lot of difficulty.  Using the Opp as the standard controller, I am trying to allow a user to update input fields for a child Opportunity and parent Account.  I then need to override the save method to save the Account first and then the Opportunity second.  Does anyone have an example of a similar extension that I can use as a reference?