Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.8
-
None
-
None
-
myfaces 1.2.6
tomahawk 1.1.8
sandbox 1.1.7 snapshot
facelets 1.1.14
tomcat 6.0.16
Apache mod_jk 2
Myfaces-common-components (current source with taglib fromMFCOMMONS-3issue)
Description
if the exporterActionListener ist attached to a datatable that has a dataScroller for pagination the exported EXCEL data has a problem with the exported lines - example:
assume you have a datatable with 100 lines. the datascroller limits the display of lines to 10 per page.
the exporterActionListener from myFacesCommons is linked to the datatable.
If you are on the first page (=Datascroller) -> the XLS-export is ok
If you are on the 2nd page the XLS-export looks like:
line 1 - header
line 2-11 - empty
line 12-21 - displays the content of the displayed lines in the datatable
If you are on the 3rd page the XLS-export looks like:
line 1 - header
line 2-11 - empty
line 12-21 - empty
line 22-31 - displays the content of the displayed lines in the datatable
...
I know that the reference of the MC-componente to the tomahawk component is not recommended. Maybe one can create a special Tomahawk component that is able to reference the datascroller?
original reference-issue: MFCOMMONS-7