How create a component and pass some values to it


(Santiago Carmo) #1

Hi guys,

I intend to create a component but I need to pass some values to it (like current model and controller, maybe a query output), I need this to generate some things based on database output.

How can I create a component and pass values to it?

Thanks.


(Sanderb) #2

Check the docs for how to use widgets, that’s probably what you need.