[ http://jira.codehaus.org/browse/DISPL-142?page=all ] fabrizio giustina closed DISPL-142: -----------------------------------
Marking fixed issue as closed. > Export of nested tables does not work > ------------------------------------- > > Key: DISPL-142 > URL: http://jira.codehaus.org/browse/DISPL-142 > Project: DisplayTag > Type: Bug > Versions: 1.0 RC1 > Reporter: Matt Dowell > Assignee: fabrizio giustina > Fix For: 1.0 > > Original Estimate: 5 hours > Remaining: 5 hours > > I have a nested table at the end of my report. When I export this, the nested > tables switch (after the first row) from your export type (Excel in my case) > to HTML. This makes the Excel file ugly at best. > We can solve the initial problem by putting this at line 797 of TableTag: > if (currentMediaType == null) { > this.currentMediaType = > (MediaTypeEnum)pageContext.getAttribute(PAGE_ATTRIBUTE_MEDIA); > } > ..but that raises another issue right away, every nested table wants to start > thier own export file. So, I think the solution is to re-design the export > process and make it smart enough to know wheter it is a nested table or not > (does it's parent of type AbstractDisplayColumn). I think the bulk of the > work has to be done in this method: > writeExport(String mimeType, String exportString, String filename) > ..but it is a little more difficult to decypher. I am working on it, but the > changes will be in my code which contains the dynamic column feature. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel