[ http://jira.codehaus.org/browse/DISPL-142?page=comments#action_31470 ]
     
Xue Yun Feng commented on DISPL-142:
------------------------------------

can export everything in raw format?

For example I want to see all the values, but all these values is not dependent 
on grouping, nested, sort feature provided by the tags.

> 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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to