I have a datatable that iterates over a list,
Now per each row I want to be able to open a 'modalPanel' and set some values(properties) of the current iterated object element.
Is there anyway to build one modalPanel and send a reference of the iterated object element to the modalPanel somehow?
This is indeed possible :-)
What I do is store the ID of the clicked item in the backing bean then re-render the modelPanel before displaying it. In my case I do this using a:jsFunction but this is because I want the clickable item to be a panel, I suspect that if you're clicking on a link or button then it's a bit easier.