Hello displaytag developers,
 
I enjoy the convenience and graphical cleanliness of this project.  I ran into one problem while using it though.  I have a list that contains arrays of strings (objects in the list).  I wrote my own decorator to handle what to display.  My decorator handles what to display for the columns Action, Sequence, and Direction.  My taglib code with the jsp reads:
 
<display:table name="trace" export="true" decorator="com.iit.asp.web.TraceDecorator">
    <display:column property="decoratorAction" title="Action" />
    <display:column property="decoratorSequence" title="Sequence" align="center" />
    <display:column property="decoratorDirection" title="Direction" />
</display:table>
 
The problem is the export functionality does not work.  I think because I wrote my own decorator that is pretty simple, the export funtionality needs to be constructed by me as well.  Am I write with this?  Will displaytag always know how to export to xml, csv, and excel or do I need to provide the export features myself?  The csv file is empty, so is the xls, and the xml file does not contain any tags beside <table> </table>.
 
Any help would be greatly appreciated...Attached TableDecorator
 
Thank you,
 
Anthony Bargnesi
Software Developer

Attachment: TraceDecorator.java
Description: Binary data

Reply via email to