Is this code you just made up to show us or is it real code because it has few errors. First Use <h:messages></h:messages> to see if there is any conversion Error or validation Error Remove </body (May be Error) and <subview (Not required in this case).
Here when i am not selecting any of the rows and click inactive button it is calling the backing bean method.But if i select any of the row it is not calling the backing bean method.
you mean that nothing happens when you press the inactive button with some rows selected on the page? thats wierd. how did you come to the conclusion that the action method is not being called? did you debug your backing bean?
MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)