@Override public void onEvent(Event event) throws Exception { // deselect selectedBean // TODO don't work in expected way // evtl. mittels Reflection den zu uebergebenen selectedItem bean // mit setXXXXX(null) setzen. final Listitem li = getListbox().getSelectedItem(); if (li != null) { li.setSelected(false); } final PagingEvent pe = (PagingEvent) event; final int pageNo = pe.getActivePage(); final int start = pageNo * getPageSize(); // refresh the list refreshModel(start); }
public void onPaging$paging_PeriodoList(ForwardEvent event) { logger.log(Level.INFO, "[onPaging$paging_PeriodoList]Event:", event.getName()); final PagingEvent pe = (PagingEvent) event.getOrigin(); numeroPaginInicio = pe.getActivePage(); refreshModel(numeroPaginInicio); }