Hi,
I can't manipulate datatable selection with Seam.
Without seam, I just add selection tag to datatable, and I add SimpleSelection property to backing-bean.
This doesn't work at all in Seam, it seems that I can't use selection tag at all.
In my bean, I have something like:
@DataModel("users")
List<User> users;
@DataModelSelection("users")
User user;
Things I am trying to do:
- unselect current row
- select a row
I tried to set user to null or anything else, it doesn't show on table. I suppose that Seam only set selected row in DataModelSelection, in one way only.
So, I can't figure how I can handle this...