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

If a visualforce page is having 2 extensions and both are having a method with same name. Then which method will be executed from visualforce page ?

Phillip SouthernPhillip Southern
Hi, In that scenario you'll need to list your extensions in the order you want the method calls to be checked.  The first extension will be the one that will be executed.  So for example if both of your extensions have the method "doSomething()" and your extensions are listed like this extensions="ext1,ext2"

ext1 will be where the method executes.
Thank u...