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

Summary: Add Export-to-Excel button to JSF Table Component
Product: obsolete Reporter: myatt83 <myatt83>
Component: visualwebAssignee: Winston Prakash <wjprakash>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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).