Adding params to instances in flex repeater with script

Hello!
How could I add dynamic params to flex repeater instances which are generated dynamic?
I create template view for flex repeater. In template view I create button which I bind with params value. Is this OK?


Best regards,
Tadeja