Thursday, January 23, 2014

What is the need of “Custom Controller” in Visualforce as everything can be done by the combination of Standard Controller + Extension class.

What is the need of “Custom Controller” in Visualforce as everything can be done by the combination of Standard Controller + Extension class.

Sharing setting is applied on standard object/extension by default; In case we don’t want to apply sharing setting in our code then Custom controller is only option.
It is possible that the functionality of page does not required any Standard object or may require more than one standard object, then in that case Custom controller is required.

No comments:

Post a Comment