|
Hi John, You don’t set anything for the
datascroller – but the table. You can try placing something like the
following in the action listener. FacesContext
context = FacesContext.getCurrentInstance(); UIViewRoot
view = context.getViewRoot(); HtmlDataTable
table = (HtmlDataTable) view.findComponent("myForm:myTable"); //
Set page index to 1 again table.setFirst(0); //
Set a new dataModel for the table table.setValue(getDataModel()); Regards, Yee From: Miller, John
[mailto:[EMAIL PROTECTED] To Clarify, I want to add an action
listener to another component (lets say a button or something) that will reset
the dataScroller to the page 1 – From: Miller, John
[mailto:[EMAIL PROTECTED] Could anyone tell me the best way to reset a dataScrollers
page number to 1 from within an actionListenter? Thanks !
|
- RE: Reset the dataScroller Page Number Yee CN
- RE: Reset the dataScroller Page Number Miller, John

