2. Call Method in salcesforce apex class without @RemoteAction
In Apex Class:
public void saveRanking() { // you code here}
In salesforce Page:
// call method from apex class by clicking on button
<apex:commandButton styleClass="slds-button slds-button--neutral btn-refresh"
reRender="mainForm" status="loadingStatus" action="{!saveRanking}" value="Save">
</apex:commandButton>
No comments:
Post a Comment