Try Decorators.
You will have to write java code and add the code as a decorator to your table.
   Just look up the documentation in Dispyay tags.
   Regards,
   Thomas
Sachin wrote:
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 <[EMAIL PROTECTED]>
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.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to