from
http://forum.java.sun.com/thread.jspa?threadID=628910&messageID=3618808hello,
first time i want to excuse my english language ( i love spanish :P );
i pass a whole morning to found the solution: How to go to page 1 in a DataScroller ( tomahawk component ) when we execute a filter ?¿
we need to binding the component instance in the backing bean ( manage bean )
JSP PAGE :
<t:dataScroller .... .... binding="MB.scroll" />
MANAGE BEAN:
private HTMLDataScroller scroll = null;
....
....
getScroll....
setScroll...
ok, now we have the same instance of an object in "front" and "back".
in my case, when a execute a filter i call the method executeFilter()
public void executeFilter(){
...
...
// this is the function for returning to page 1 in a dataScroller
scroll.getUIDate.setFirst(0)...
...
}
I Hope that can help every JSF crazy programmer :P
bye...