Marco Mistroni wrote:
> hello all,
> sorry for this partially off topic question
> i have a dataTable which contains a list of Expense objects. (which has
> a data, name and amount fields)
>
> i would like to have all rows of my datatable displayed, and at the end
> the sum of the amount field
jsf datatable is not able to do that automatically.
provide/implement a property which return the calculated sum and put
it into the footer for the amount column. The property can´t be in
your Expense object it should be implemented in the bean which
provides the list of these objects.
2005/12/22
hello all,
sorry for this partially off topic question
i have a dataTable which contains a list of Expense objects. (which has a data, name and amount fields)
i would like to have all rows of my datatable displayed, and at the end the sum of the amount field of each row..
is that possible using
3 matches
Mail list logo