+ 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...