Issue Details (XML | Word | Printable)

Key: DISPL-258
Type: Task Task
Status: Open Open
Priority: Critical Critical
Reporter: Anonymous
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
DisplayTag

I am not able to export to excel

Created: 21/Nov/05 01:22 PM   Updated: 30/Dec/05 10:13 AM
Component/s: Export
Affects Version/s: 1.0
Fix Version/s: TBD

Time Tracking:
Original Estimate: 4 hours
Original Estimate - 4 hours
Remaining Estimate: 4 hours
Remaining Estimate - 4 hours
Time Spent: Not Specified
Remaining Estimate - 4 hours

File Attachments: 1. Microsoft Excel filename.xls (13 kB)
2. Microsoft Word Nag Monitor Monitored Nags.doc (299 kB)


Application server: Weblogic 8i


 Description  « Hide
I am using display tag to export to excel.

I installed export filter in web.xml as below

<filter>
<filter-name>ResponseOverrideFilter</filter-name>
<filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>ResponseOverrideFilter</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>

<filter-mapping>
<filter-name>ResponseOverrideFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>

 I created displaytag.properties file and changed properties as follows
export.excel=true
export.excel.label=Excel
export.excel.include_header=false
export.amount=page
export.decorated = false
export.excel.filename=filename.xls

when I click on "Excel", I do get pop up window asking if I want to save to a file or open. But when I click on open, an excel window is opened, but tableModel is not exported.

I am using displaytag-1.0.jar and displaytag-el-12.tld. My jsp page is just straingt forward with export set to true at table level.

Why can't I export to excel, what am I missing . Attached are the xls file after I exported to excel and screen pritn of my web page. Not able to attach files


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
karuna gangula added a comment - 21/Nov/05 01:56 PM
screen print of my web page