New Feature for exporterActionListener in combination with datascroller
-----------------------------------------------------------------------

                 Key: TOMAHAWK-1410
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1410
             Project: MyFaces Tomahawk
          Issue Type: New Feature
          Components: Data Scroller
    Affects Versions: 1.1.8
         Environment: 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 from MFCOMMONS-3 issue)
            Reporter: Gerd Schaffer


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to