Hello,
I am exporting all data from a table to excel and pdf. It works ok with the
columns, but I can´t export the footer and caption tag. I have tryed with
versions 1.1 and 1.1.1, but it don´t go with any of them. My code is similar to
the example called "WYSIWYG data exporting" witch is in the displaytag´s web,
only, I don´t use decorators: (it work in HTML view, but not in pdf and excel)
----------------------------------
export.excel.class=org.displaytag.export.ExcelView
export.pdf.class=org.displaytag.export.PdfView
----------------------------------
----------------------------------
<display:table id="Anios" export="true" name="sessionScope.miArray"
class="tablaEstrecha" defaultsort="1" defaultorder="descending"
requestURI="/miAccion.do">
<display:caption media="html">
<strong>A Caption</strong>
</display:caption>
<display:caption media="excel pdf">A Caption</display:caption>
<display:footer media="html">
<tr>
<td colspan="5"><strong>Sample footer</strong></td>
</tr>
</display:footer>
<display:footer media="excel pdf">Sample footer</display:footer>
<display:column property="anio" titleKey="anio" class="centrado"
sortable="true"/>
<display:column property="att1" titleKey="att1Key" class="centrado"
sortable="true"/>
<display:column property="att2" titleKey="att2Key" class="centrado"
sortable="true"/>
<display:column property="att3" titleKey="att3Key" class="centrado"
sortable="true"/>
<display:column property="att4" titleKey="att4Key" class="centrado"
sortable="true"/>
</display:table>
----------------------------------
Thanks
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user