myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georg Portwich" <>
Subject How to reset pageIndex for t:dataScroller
Date Mon, 18 Aug 2014 12:16:06 GMT


I want to set the pageIndex in the t:dataScroller manually. How do I do this
in a bean?


I need this for the following use case: 


A list with 20 entries and a pagesize of 15. The user is on the second page.
Now the user changes the number of items displayed by page to 25. The page
is reloaded and the list is empty because the pageIndex is still on the
second page. So I have to change the pageIndex to zero to avoid the empty




  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message