Thanks Jorge,
When i try this, the total is being displayed on top of my table header ? i want it at the bottom of the table.
Also doing this would mean i cannot export my table totals, do you have any way where i can get the total label using display tag
like Total Balance $XXXX
and where in i can be able to export it too..?
Thanks in advance
Thanks in advance
On 6/27/06, Jorge Barroso <[EMAIL PROTECTED]
> wrote:
Add a separate footer with media attribute matching
your export medium and don't include html markup in
its content, e.g., for excel,
<display:footer media="excel">
Total Balance: $<%= (Double)
colMap.get("column3");%>
</display:footer>
--- lalita Chintalpudi < [EMAIL PROTECTED]>
wrote:
> hi,
>
> I have a requirement where in i have to display the
> totals of a table in the
> last row like
>
> TOTAL BALANCE $ XXXX
>
>
> I was unable to get the Total label using display
> Tag standard so i searched
> a work around and added a row in the footer of the
> table like
>
> <display:footer>
>
> <%
>
> java.util.HashMap colMap = (java.util.HashMap
> )pageContext.getAttribute("Total");
>
> %>
>
> <tr> <td>**</td> <td align="right">Total
> Balance </td> <td class=
> "small" align="right" >$<%= (Double)
> colMap.get ("column3"); %></td> <tr>
>
> </display:footer>
>
> My problem is during export, it is exporting this
>
> <tr> <td>**</td> <td align="right">Total
> Balance </td> <td class=
> "small" align="right" > line in the footer along
> with the html characters. I
> dont know how to deal with this. pls help.
> > Using Tomcat but need to do more? Need to support
> web services, security?
> Get stuff done quickly with pre-integrated
> technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user