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
> [email protected]
>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user