How to call method in Apex without @RemoteAction - Domreysa

Post Top Ad

Post Top Ad

Monday, June 11, 2018

How to call method in Apex without @RemoteAction



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

Post Top Ad

Responsive Ads Here