+ Start a Discussion

click on button method declared as private

There is a button on the standard page layout and and if we click on that button method will call in some sontroller. if the method access modiefier declared as private.is that will  method call or we will get any error if it is declared as a private.  what will happen if it is a public and global????
How will you tie the button to the method?  As this is a standard page you can't just tie it to a visualforce controller.