function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MandyKoolMandyKool 

VF Page Order of execution

Hi,

I was just checking the order of execution of VF - http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_lifecycle_example.htm 

As per the above link the execution steps are as above (high level) :

controller constructor -> extension constructor -> component controller -> component extension controller if present.

But when I removed the extension from my page the execution is as follows:

component controller -> controller constructor -> extension constructor.

Not sure; but I thought that execution should not have changed. Anybody knows why it behaves this way?
Ashish_SFDCAshish_SFDC
Hi Kulkarni, 

How did you observe this behavior? Usually it will go to the Controller of the page first either Standard or Custom. 

Regards,
Ashish