Re: partially OT / issue with DataTAble

2005-12-22 Thread Werner Punz
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

Re: partially OT / issue with DataTAble

2005-12-22 Thread Mathias Brökelmann
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

partially OT / issue with DataTAble

2005-12-22 Thread Marco Mistroni
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