I think it is possible to do this, however you will need to have a function in your controller which is called by your button. This function can then call the Apex Class function.
I think it is possible to do this, however you will need to have a function in your controller which is called by your button. This function can then call the Apex Class function.
Example Code:
Visualforce Page:
Controller:
Is this what you were looking for?
All Answers
Example Code:
Visualforce Page:
Controller:
Is this what you were looking for?