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
YanivYaniv 

How do i access controls from the Controller class

Hi 

i wonder if its possible to access any control in my visual force page to see the data in it , or change any attribute from the apex controller class?

e.g. something like get element by id from the APEX class?

 

thanks

Yaniv

BodhiDharmaBodhiDharma
You would typically bind the VF tag to getters and setters in the controller class by setting the VF tag value="".  You would have to initiate some kind of action to execute the setters (i.e., send the form data to the apex controller and set the corresponding properties in the class) or refresh the form to execute the getters (i.e., get the current value of the properties from the controller class).
Message Edited by BodhiDharma on 08-10-2009 02:58 PM