I am not able to export to excel
--------------------------------

         Key: DISPL-258
         URL: http://jira.codehaus.org/browse/DISPL-258
     Project: DisplayTag
        Type: Task
  Components: Export  
    Versions: 1.0    
    Priority: Critical
     Fix For: 1.0
 Attachments: filename.xls

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


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to