title: PrimeFaces dataTable: how to catch rows-per-page event?
body: <p>I cretated a PrimeFaces dataTable:</p>
  
  <pre><code>&lt;p:dataTable id="locationTable" value="#{bean.object}" var="item"
    paginator="true"
    rows="10" 
    paginatorTemplate="{FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink}{LastPageLink} {RowsPerPageDropdown}" 
    rowsPerPageTemplate="5,10,15,20,30,50,100"&gt;
    ...
  &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>I'd like to save the dropdown box value for rows-per-page. When the user changes the value, how would I catch the event? So I can read and save one of the "5,10,15,20,30,50,100" values in order for this to apear automatically next time the user comes back to this page. Currently, it is not saved, so every time the page is (re)loaded, it goes back to default value of "10".</p>