Acton Function and Action Support and action poller





-----------------------Apex-------------

public class ActionPollerClass 
{
    public String timeIntravels{ get; set; }
        
    public String gettime() {
        return 'My Best Time is';
    }

    public String param1{get; set;}    
    public String hated{ get; set ;}
    
    public void timeIntravalMethod()
    {
        timeIntravels ='50 secound';
    }
    
    public void callActionfunction()
    {
       hated = 'Yes I am hated  ' + param1 ;
    }
    
    public PageReference callActionSupport()
    {
        hated = 'I am from action function' ;
        return null;
    }
}

Comments

Popular posts from this blog

Salesforce DX Learning

What is Getter and Setter Method in VF page