I have a dataTable, inside that i have one commandButton for each row. When i click the commandButton, it is not calling the action method/actionListener. My managed bean is in request scope. If i change the scope to session scope, it will work. But i cannot set the scope to request scope according to the requirement. Any work around for this?
Joined: Apr 10, 2008
Finally I got a good and simple solution for this.
I used the Ajax 4 JSF's keepAlive tag. So it will keep keeping the bean in the subsequent requests.
You can use actionListener for getting which row is selected.