|
|
|
[
Permlink
| « Hide
]
Jorge L. Barroso - 22/Feb/06 07:24 AM
I'll have a look.
I am also having this problem. I verified that adding the export filter does not help. This is a big problem, as I am currently writing a story about Displaytag for an online magazine, and I planned to highlight the export feature in the article. Please give this problem your highest attention.
Much thanks! Stephen I'll have a solution soon.
The conflict lies in that the new Excel, PDF, and RTF table writers are meant to behave just as the HTML table writer does. So it defaults to observing the list size, sorting, and grouping of the html page to suport WYSIWYG exports. But the "legacy" exporting configuration properties should definitely be supported. Perhaps, adding the following kind of functionality would be the best solution in the end. From: http://jira.codehaus.org/browse/DISPL-245 ======================================================= 4. Export just the current page, a page range, or all data, especially if paging is used. The ui may look like this: Export options: Excel | PDF | RTF | From: [1] To: [1] (default to this page Export options: Excel | PDF | RTF | From: [1] To: [max] (default to all) Defaults to exporting what's on the page currently. Default would be configurable through property. ======================================================= But for now the easiest solution might be to introduce non-WYSIWYG Excel, PDF, and RTF exports that simply obey all the "legacy" exporting config properties. Users can then choose one or the other. > But for now the easiest solution might be to introduce non-WYSIWYG Excel, PDF, and RTF exports that simply obey all the "legacy" exporting config properties. Users can then choose one or the other.
I am afraid that I don't know how to do this. Do you have any examples that I could mimic? Stephen This patch makes WYSIWYG exports observe the export.amount config setting.
The distrubution default setting for export.amount is list. To export just the current page, change this setting to export.amount=page. The line numbers in the patch I submitted depend on the the patch for http://jira.codehaus.org/browse/DISPL-298 .
I need this fix to export the whole list to excel. When will 1.1.1 version be released? I need the displaytag1.1.1.jar please.
Thanks -S Hi to all,
Jorge, is the jar file you have posted compiled with a 5.0 JVM? I tried to replace the displaytag distribution with the jar you posted nad i got version incompatibilities issues. Most exactly, this error: "java.lang.UnsupportedClassVersionError:(Unsupported major.minor version 49.0)" Maybe I'm doing something wrong. thanks in advance Jorge Sorry, it seems Celso posted the jar but was not able to see his message.
Hi.
i also have this error "java.lang.UnsupportedClassVersionError:(Unsupported major.minor version 49.0)", i need a jar that work with minor version that 49.0. i have a 1.4 java version, i think that the version of jvm is 48.0. thanks Javi Fixed by Jaume,
This jar show all list in pdf work with j2sdk1.4.2_07 and Tomcat 4.1 thanks Jaume + 1 for this patch. I've tested also on the trunk version and it seems to works...
Hi All,
I've just started using display tag Libraries. I successfully managed to do everything with the libraries. But now I'm having the same export problem as mentioned above. Can you please let me know how to handle this problem. Should I download the patch, that's mentioned here and then change my displaytag library jar version 1.1.1 to this jar file. Please advice. The jar file that I'm using is more recent then the patch jar file mentioned here. Thanks, Harry Hi Harry,
Just download my patch file. I'm using java 1.5 and runs fine. Best regards. |
|||||||||||||||||||||||||||||||||||||||||||||||||