You need to sign in to do that
Don't have an account?
Srinu Somu
Visualforce get request sequence?
Reference: Visualforce Developer guide
The constructor methods on the associated custom controller or controller extension classes are called, instantiating the controller objects.
The action attribute on the <apex:page> component is evaluated, and all other method calls, such as getting or setting a property value, are made.
But in some blogs I am seeing the order as constructor, getter methods and page action method respectively.
But from the Visualforce developer guide it should be constructon, page action method and getter methods respectively.
Please help me with my confusion?
The constructor methods on the associated custom controller or controller extension classes are called, instantiating the controller objects.
The action attribute on the <apex:page> component is evaluated, and all other method calls, such as getting or setting a property value, are made.
But in some blogs I am seeing the order as constructor, getter methods and page action method respectively.
But from the Visualforce developer guide it should be constructon, page action method and getter methods respectively.
Please help me with my confusion?
Correct sequence is Constructor, Pag Action Method and Getter Setter Property. Visualforce Developer Guide is correct.
Visualforce Page:
Apex Class:
Thanks and Cheers,
Jigar