You need to sign in to do that
Don't have an account?
shoesman
how to call apex class from visualforce
hi all,
I just wanna ask you how call apex class from visualforce.
Acually, I am trying to do is like "math drill" (good for start-up programming ?) ,
it shows some questions in visualforce like,
3+4 =
5*4 =
12-3=
and when the button has been clicked, answers comes up.
But I have totally no idea how to call this class and show it in visualforce.
I am just a beginner, I just have start using force.com yesterday.
Thanks:smileysad:,
Hi,
Are you using a Standard Controller? Did you try using the 'Extensions' Keyword?
Hi,
Hope you had created the Visualforce Page and the Apex Class? First Step is Create a Button on the Object where you are trying to display this result? While creating the button,Refer the Visualforce Page which you had created.
To call the Apex Class,You have to use the 'Extensions' Keyword.
thanks all
I'll try to do it !!
much appreciated !!