You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sachin <sa...@gmail.com> on 2007/07/18 15:48:12 UTC
Totaling Group
Hi ,
Help me to get the totaled value of grouped items inside the body.
Here is an example
<display:table name="someList" varTotals="totals">
<display:column property="itemName" group = "1" />
<display:column property="price" total="true"/>
<display:footer>
<tr>
<td>Total Bill:</td>
<td><c:out value="${totals.column2}" /></td>
<tr>
</display:footer>
</display:table>
--
Satheesh.c