title: current page number in JSF datatable pagination
body: <p>I have implemeted datatable in JSF by looking at the below link</p>
  
  <p><a href="http://www.javacodegeeks.com/2012/04/lazy-jsf-primefaces-datatable_11.html" rel="nofollow">http://www.javacodegeeks.com/2012/04/lazy-jsf-primefaces-datatable_11.html</a></p>
  
  <p>but for one of my requirement i need the current selected page. how can i get that ?</p>
  
  <p>my exact requirement was to export to excel the current page for that i need data in the current page</p>
  
  <p>can i get the current page data by using java script ?</p>