JSF Datatable datascroller Search result navigation to first page

warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/aliabdelaziz.org/data:.) in /var/www/aliabdelaziz.org/data/www/aliabdelaziz.org/includes/file.inc on line 287.

­the problem in brief is that if you navigate using the datascroller to any page for example page number 5

and you enter a search  criteria and pressed on the search button the result is returned and the datatable is updated but the datascroller keeeps standing at page 5 which may not contain any data because­ your search result may not have enough data to be splitted on 5 pages so you want behaviour like after pressing search your datascroller will be set to page number 1 and this can be done as follows:



­   <t:commandButton value="Search" action="#{searchPageBean.search}"­
  <t:dataTable id="searchResultsDataTable"    
  public void resetDataScroller(ActionEvent e) {
       if(searchUIData != null) {

thanks to https://issues.apache.org/jira/browse/TOMAHAWK-548

This article is really bad

This article is really bad that just by reading it, it is already affecting my business. - Reba Rambo-McGuire

what ?

Courage doesn't always roar. Sometimes courage is the little voice at the end of the day that says I'll try again tomorrow.
by caterers in goa


the artist handbags are irresistible,the boundless prices will about-face down a
lot of people.However,the absoluteness is that you generally see abounding
accustomed humans accustomed those big-ticket artist handbags on the
street.Don't be jealous,because a lot of of them accustomed a one rather
than http://www.avalonseafood.com/sitemap.asp

Powered by Drupal - Design by artinet