+ Start a Discussion
Venkatesh NarayananVenkatesh Narayanan 

accessing component controls in apex page

I've created a custom search component with some controls for Account Name, Industry, etc... I've used this component in my apex page. I want to know how to get the values from the controls in the component. ex. Account Name(text box), Industry (picklist). 
if you pass the account sobject to the component, you can bind directly to the fields and not worry about passing information between the component and page.

If you can't go that route, you can use a carrier object (instance of a custom class) to move the information around - I've blogged a solution to this at: