This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 92640 - Add Export-to-Excel button to JSF Table Component
Summary: Add Export-to-Excel button to JSF Table Component
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Winston Prakash
Depends on:
Reported: 2007-01-16 18:09 UTC by myatt83
Modified: 2007-01-26 20:38 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description myatt83 2007-01-16 18:09:27 UTC
The JSF Table component should have an option in the Table Layout window where 
you could select a checkbox labeled "Show Export to Excel Button". There would 
also be a text field that would be enabled allowing you to enter a file name 
for the excel file to be generated.

Then when the table displays in a web browser a small button/icon would be 
clicked that opens a new browser window that generates the same table content 
with a contentType of 'vnd/excel' (sorry can't remember the exact syntax for 
the Excel contentType). If the content of the table has been sorted or 
paginated then the data output to excel should maintain the sorting/pagination 
(if 10 records are displayed then 10 records are exported to excel). This then 
might be nice to have a 'export all records to excel' that ignores pagination 
when exporting.
Comment 1 myatt83 2007-01-16 18:10:54 UTC
One reason I added this feature request is that the only thing I get more 
requests for than displaying data in a table is for providing the ability to 
export the data to MS Excel (or the OpenOffice equivalent).