Hai Friends,
i have one Prob :(
i am using the diaply tag 1.1 and while i am trying to print the column totals ,
it is giving JASPER EXCEPTION
i hope that the prob with the decorator
i am using the code like this
<jsp:scriptlet>
org.displaytag.decorator.TotalTableDecorator totals = new org.displaytag.decorator.TotalTableDecorator();
totals.setTotalLabel("full total");
totals.setSubtotalLabel ("partial amount");
pageContext.setAttribute("totals", totals);
</jsp:scriptlet>
org.displaytag.decorator.TotalTableDecorator totals = new org.displaytag.decorator.TotalTableDecorator();
totals.setTotalLabel("full total");
totals.setSubtotalLabel ("partial amount");
pageContext.setAttribute("totals", totals);
</jsp:scriptlet>
<display:table name="Test" export="true" pagesize="5" defaultsort="1" defaultorder="ascending" decorator="totals">
<display:column property="dept_name" title="Department " sortable="true" maxWords="5" group="1" total="true"/>
<display:column property="basic" title="Basic Sal " sortable="true" nulls="false" total="true" />
<display:column property="hra" title=" hra " sortable="true" nulls="false" />
</display:table>
Help Me Urgent
Thanks & Regards
Krishna Mangamuri