- I have a list of users (id, username, etc.) which I gain from the DB
- I have an index.xhtml (jsf tags) that I'm using to display all the users
- I have a dataTable which displays all the data for a user on one row. On the same row I have a button called "edit". On click it goes to another page "edit.xhtml"
Q: How to get object on which I clicked "edit" in index.xhtml to edit.xhtml ?