These two lines :
<p:ajax event="rowSelect" update="@form" />
<p:ajax event="rowUnselect" update="@form" />
have to be nested in a component that implements the ClientBehaviourHolder interface.
Possibly, you need to nest those <p:ajax>
inside the <p:dataTable>
instead:
<p:dataTable ...>
<p:ajax ... />
...
</p:dataTable>
since the DataTable class does implement the ClientBehaviourInterface
.