Skip to content

Instantly share code, notes, and snippets.

@sankaran1984
Created December 8, 2016 17:44
Show Gist options
  • Save sankaran1984/16fce2ba45c51cacdc73b6c4afecd0f1 to your computer and use it in GitHub Desktop.
Save sankaran1984/16fce2ba45c51cacdc73b6c4afecd0f1 to your computer and use it in GitHub Desktop.
visualforce - Beyond Basics
public class testcls7_08122016 {
public string pagemessage { get; set;}
public testcls7_08122016() {
pagemessage = 'page initialized to default value';
}
public void init_page1() {
pagemessage = 'page initialized by page1';
}
public void init_page2() {
pagemessage = 'page initialized by page2';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment