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
sultansultan 

Is we have any limit while writing extension controller in vf page?

Best Answer chosen by sultan
Vijay NagarathinamVijay Nagarathinam
Hi Sultan,

Yes you can use more than one extensions in your visualforce page. That extensions are separted by commas, There is no limitations for using extension.
<apex:page standardcontroller = "Account" Extensions="TestClass1, TestClass2, TestClass3">

</apex:page>

 

All Answers

PratikPratik (Salesforce Developers) 
Hi Sultan,

You can have only one Standard controller in your VF page but there is no limitation to the extensions, you can have multiple extensions to a controller.

Thanks,
Pratik
Vijay NagarathinamVijay Nagarathinam
Hi Sultan,

Yes you can use more than one extensions in your visualforce page. That extensions are separted by commas, There is no limitations for using extension.
<apex:page standardcontroller = "Account" Extensions="TestClass1, TestClass2, TestClass3">

</apex:page>

 
This was selected as the best answer