问题
When the user tries to switch on to the next page of the rich:dataTable using rich:dataScroller, basing on a JS condition, an Alert will be displayed. If OK'd then only the 2nd page has to be shown. If Cancel'd then the first page itself should be displayed.
In richfaces3.3, there was onPageChange event on dataScroller, which is not available in richfaces 4.3. Pls suggest.
来源:https://stackoverflow.com/questions/20370046/conditional-navigation-of-richdatatable-using-richdatascroller