You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by jm...@saytel.es on 2006/05/31 13:16:22 UTC

Reset scroller

I want to reset to the first  page in a scroller

I'm trying this solution but don't  work:


FacesContext facesContext = FacesContext.getCurrentInstance();
 
HtmlDataTable 
tabla=(HtmlDataTable)PageCodeBase.findComponentInRoot("table1");
tabla.setFirst(0);


How can i reset to the first page when i click a button

Thanks!!


--------------------------------
Jose Merchan Bosch
Departament de Desenvolupament
e-mail: jmerchan@saytel.es
http://www.saytel.es