+ Start a Discussion
GaneeeshGaneeesh 

How to save apex componet Text fields values from visualforce button..?

Hi any body help me I have a component which contains text fields , I am using this component in visualforce page , but here my requirement is next to the component I have command button save. When ever i click this button thouse values will be inserted to object. How can i achieve this.?
ShashForceShashForce
Hi,

You should ideally add this functionality in a controller/extension in your apex component itself.

Here are some links to help you with that:
https://www.salesforce.com/us/developer/docs/pages/Content/pages_comp_cust_elements_controllers.htm
https://developer.salesforce.com/page/Controller_Component_Communication

If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.

Thanks,
Shashank