You need to sign in to do that
Don't have an account?
Siarhei balantsevich
how to overwrite a method ApexPages.StandardSetController throught ApexPages.StandardSetController which has apex:actionSupport
i dont'know how to rewrite this
public ApexPages.StandardSetController setCon { get { if(setCon == null) { setCon = new ApexPages.StandardSetController(Database.getQueryLocator( [select ID,NAme,Doctor__r.Name,patient__r.Name,Duration_in_minutes__c ,Appointment_Data__c FROM Appointment__c where Doctor__r.ID =: selectedDoctor ])); setCon.setPageSize(size); noOfRecords = setCon.getResultSize(); } return setCon; } set; }
Recommend reviewing https://salesforce.stackexchange.com/questions/154201/can-a-single-vf-page-override-both-a-standard-action-and-a-list-action
If this information helps, please mark the answer as best. Thank you