-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Bold Texthttp://www.zkoss.org/zkdemo/grid/paging
I am following this example, I have a method that would populate the list, the problem that has no error but returns nothing. I think the problem is the completion of each, someone can tell me what I'm doing right?
public List<Biblioteca> listaBibliotecaCop() {
List<Biblioteca> lBibliotecas = new ArrayList<Biblioteca>();
try {
lBibliotecas = DAOFactory.getDAOFactory().getBibliotecaDAO().pesquisaBibliotecaCopia(instituicao.getCodigo());
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
logger.error(e.getMessage(), e);
} catch (ConexaoRecusadaException e) {
// TODO Auto-generated catch block
e.printStackTrace();
logger.error(e.getMessage(), e);
}
return lBibliotecas;
}
<row forEach="${listaBibliotecaCop}">
<label value="${each}" />
<timebox cols="12" format="a hh:mm:ss" onCreate="self.value = new Date()" mold="rounded" />
<checkbox label="No" onCheck='self.label= self.isChecked()?"Yes" : "No" ' />
</row>