+ Start a Discussion
Mrunali GaonkarMrunali Gaonkar 

Component and controller communication

 i moved some part of code of v page to component.i accesed same controller that used in vpage in component on Case object..all command buttons exist on vpage only.. only some portion of vpage getting reused ,hence i want to move this into component.. bt not able to create a link between all together..should i create a new controller for this?? plzz help.. thank you..
PratikPratik (Salesforce Developers) 
Hi Mrunali,

Is it the case that your controller logic and the component code will be reused in different VF pages?
If you can make the component as generic component that can be used in any vf page then its good to go for Component.
Please let me know your inputs.