
| Key: |
DISPL-258
|
| Type: |
Task
|
| Status: |
Open
|
| Priority: |
Critical
|
| Reporter: |
Anonymous
|
| Votes: |
1
|
| Watchers: |
2
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Time Tracking:
|
|
Original Estimate:
|
4 hours
|
|
|
Remaining Estimate:
|
4 hours
|
|
|
Time Spent:
|
Not Specified
|
|
|
|
| Application server: |
Weblogic 8i
|
|
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
|
|
Description
|
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
|
Show » |
|