Skip to content

Instantly share code, notes, and snippets.

@suddeb
Created August 3, 2015 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suddeb/9f2aa5967e64d3c456ec to your computer and use it in GitHub Desktop.
Save suddeb/9f2aa5967e64d3c456ec to your computer and use it in GitHub Desktop.
public class SingleController {
public String name {
get;
set{
name = value;
System.Debug(LoggingLevel.INFO,'Inside setter Name: ' + value);
}
}
public PageReference goToSecondPage(){
PageReference pageReference = new PageReference('/apex/SecondPage');
pageReference.setRedirect(false);
return pageReference;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment