Usage of Apex cProgramm with within visualforce page:-
1.when you want to call an apex class in Visualforce page we have to declare
in the following format.
<apex:page controller="class name">
whenever we call a visual force page in which controller attribute is defined it will first create an object for the apex class which is defined in controller.
2.when object is created for the apex class first it invokes the constructor.
1.when you want to call an apex class in Visualforce page we have to declare
in the following format.
<apex:page controller="class name">
whenever we call a visual force page in which controller attribute is defined it will first create an object for the apex class which is defined in controller.
2.when object is created for the apex class first it invokes the constructor.
No comments:
Post a Comment