Created
July 12, 2012 23:24
-
-
Save anonymous/3101797 to your computer and use it in GitHub Desktop.
Savecontroller extension class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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