You need to sign in to do that
Don't have an account?

Parameters for Custom Component Controller
Hey All,
I am trying to create a custom component that will be repeated many times on a page. However, I was looking to pass some parameters into the controller of this component. Is there any way I can have visualforce do this rather than just calling the standard controller? The issue I am trying to solve is rendering several pageblocks for different parts of a set of data. I want to be able to pass the list of data pieces into the constructor so I can use a pageblocktable to render it in the component.
Thanks for any suggestions,
DH
You can create use the "assignTo" attribute in <apex:attribute> to pass parameters from your page to the component's controller.
Component Controller:
Component Markup:
Page Markup:
Hope this helps
bma