Hi guys,
I am having an issue with the TotalTableDecorator, here is my code....
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1" import="java.util.*" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<br>
Accommodation<br>
<div style="height:240px;overflow:auto;">
<display:table name="bookingAcc" export="true" sort="list"
id="currentRowObject"
decorator="org.displaytag.decorator.TotalTableDecorator" requestURI="">
<display:column property="bookingDate" title="Date Booked"
sortable="true" decorator="net.fullcircle.web.table.DateDecorator"/>
<display:column property="bookingStartDate" sortable="true"
title="Check in" decorator="net.fullcircle.web.table.DateDecorator"/>
<display:column property="bookingEndDate" title="Check out"
sortable="true" decorator="net.fullcircle.web.table.DateDecorator"/>
<display:column property="externalReference" title="Ref Code"
sortable="true"/>
<display:column property="rateBasis" title="Rate Basis"
sortable="true"/>
<display:column property="mealPlan" title="Meal Plan" sortable="true"/>
<display:column property="guestCount" title="Guests" sortable="true"/>
<display:column property="comment" title="Comment" sortable="true"/>
<display:column property="bookingContact.firstName" title="first
name" sortable="true"/>
<display:column property="bookingContact.lastame" title="last name"
sortable="true"/>
<display:column property="bookingContact.email" title="Email"
sortable="true"/>
<display:column property="bookingContact.cellNumber" title="Cell
no." sortable="true"/>
<display:column property="bookingContact.phoneNumber" title="Phone
no." sortable="true"/>
<display:column property="currency" title="Currency" sortable="true"/>
<display:column property="rate" title="Rate" sortable="true"
total="true"/>
<display:setProperty name="export.pdf" value="true" />
</display:table>
</div>
</td>
</tr>
</table>
and I get the following Exception...
org.apache.jasper.JasperException: /jsp/tile/bookingReports.jsp(82,4)
Attribute total invalid for tag column according to TLD
Any help?
Thanks
Korak
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel