0

Having the next table/paginator combination working properly, does somebody know what I have to do to remain on the current page after 'someAction' gets fired?

(Because, actually returns ever to the first page.)

<t:dataTable id="myTable" ...
    ...
</t:dataTable> 

<t:dataScroller id="myScroller" for="myTable" ...
    ...
</t:dataScroller

<h:commandButton action="#{someBean.someAction}" ... />

Thanks!

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
JLLMNCHR
  • 1,551
  • 5
  • 24
  • 50
  • I mean that, if I navigate to the third page, for example, then I hit the button, the action is executed, but I always return to the first page. Thanks – JLLMNCHR Sep 01 '14 at 10:25
  • 1
    Right, I clarified the title. Pagination != Navigation. – BalusC Sep 01 '14 at 10:36
  • BalusC, as you said previously, declaring 'someAction' as void (not String) do the thing. Thanks a lot! – JLLMNCHR Sep 01 '14 at 12:01

0 Answers0