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
shshshsh 

How to get controller name and method name to a visual force page?

Hi

 Can any one help me to get controller name (not calling controller from visual force page)

 and method name from a controller to visual force page.

My requirement is to get the controller name and specific method name to a visual force page.

Is there any inbuilt function to get controller name?If no,is there any otherway to get it?

mbhardwajmbhardwaj
You can create some variables and store the method name and controller name int those and use them on VF page..

Avidev9Avidev9
Well will say that the requirement is pretty strange!
Why you want to do this ?
Any specific reason ?