Skip to content

Instantly share code, notes, and snippets.

Created July 12, 2012 23:24
Show Gist options
  • Save anonymous/3101797 to your computer and use it in GitHub Desktop.
Save anonymous/3101797 to your computer and use it in GitHub Desktop.
Savecontroller extension class
public class savecontroller {
private final Account acct;
public savecontroller(ApexPages.StandardController controller) {
this.acct = (Account)controller.getRecord();
}
public void autosave()
{
update acct;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment