Skip to content

Instantly share code, notes, and snippets.

View thams017's full-sized avatar

Thamaraikannan thams017

  • Cherthala
View GitHub Profile
@thams017
thams017 / Apex Class for Loading Image
Last active March 8, 2018 14:14
Loading Icon Image while saving record
public class actionStatusImage {
public Pagereference save(){
return null;
}
}
@thams017
thams017 / Apex Class for Rerender the output panel
Created March 8, 2018 13:04
This page will hide and show the output panel when a button is clicked.
public class RenderExampleClass {
/****get set varaible which will carry the true or false condition to the page****/
public Boolean showPanelHistory{ get; set;}
/****get set varaible which carry the list of accounts to the page****/
public Account accountList{ get; set;}
/****Acction method which is used in the page which acts like switch*****/
public PageReference showpanel(){
if(showPanelHistory == false) {
showPanelHistory = true;