struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachin <sathees...@gmail.com>
Subject Fwd: Group Total
Date Wed, 18 Jul 2007 14:35:05 GMT
Here is a clear pic of my doubt.

<thead>
* header row*
</thead>

<tbody>
* columns *
**** group-total row **** <--- *how to get this?* --->
</tbody>

<tfooter>
* grand-total row*
 </tfooter>

Regards.
Satheesh.C


---------- Forwarded message ----------
From: Sachin <satheesh.c@gmail.com>
Date: Jul 18, 2007 9:53 AM
Subject: Group Total
To: Struts Users Mailing List <user@struts.apache.org>



Hi ,

Here is an exmaple to get total value in footer. But i need to get this
value inside table for each grouped items as a separate row in the table.

  <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>

Please help me on this. Is there any alternat way to do this without
using *total
*and *varTotals* attributes.



-- 
Satheesh.c


-- 
Satheesh.c

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message