DT Users, I am trying to sum some columns after connecting to a SQL server to display my table, but I'm having issues. Without adding the decorator parameter to my display:table tag and not adding the total parameter to the display:column I want to sum, the table produces fine. I have a group parameter equal to 1 on another column, and without the decorator, it groups fine and the table is perfect. Whenever I try to add the decorator="org.displaytag.decorator.TotalTableDecorator" to the display:table tag and total="true" to the column I want to sum, the page breaks and nothing renders in my browser. I searched my project (I'm coding in Netbeans 5.5 by the way), and I could not find the TotalTableDecorator anywhere, even where I think it should be: in WEB-INF\classes\org\displaytag\decorators. Can anyone give me some help as to why this is broken? Here's my code before and after...
---WORKING --- <display:table name="${scareer.rows}" class="statistics"> <display:column property="car_year" title="Year" /> <display:column property="car_team" title="Team" /> <display:column property="car_lge" title="League" group="1" /> <display:column property="car_gp" title="GP" /> <display:column property="car_g" title="G" /> <display:column property="car_a" title="A" /> <display:column property="car_pts" title="PTS" /> <display:column property="car_pim" title="PIM" /> <display:setProperty name="basic.empty.showtable" value="true" /> </display:table> --- NOT WORKING --- <display:table name="${scareer.rows}" class="statistics" decorator="org.displaytag.decorator.TotalTableDecorator"> <display:column property="car_year" title="Year" /> <display:column property="car_team" title="Team" /> <display:column property="car_lge" title="League" group="1" /> <display:column property="car_gp" title="GP" /> <display:column property="car_g" title="G" /> <display:column property="car_a" title="A" /> <display:column property="car_pts" title="PTS" total="true" /> <display:column property="car_pim" title="PIM" /> <display:setProperty name="basic.empty.showtable" value="true" /> </display:table> Thanks in advance, CB [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user