In my application I am using ViewScoped
Bean and it does not show selected row when a row is selected in primefaces datatable. But if I changed the Bean to a SessionScoped
Bean then it shows the selected row perfectly.
I read some forum posts and I found that using ViewaccessScoped
bean will solve the issue. Can someone help me in this issue? My jsf version is 2.2.