Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4686851
By: whiskogs

Hi again,

Another one: I would like to export the table in excel, csv, xml. So far, tough
luck: the content is displayed in the same browser page.
The table is in a jsp included in another (index.jsp), the export attribute
is set to true and I've added the following to my displaytag table to make it
open in a different programme window:

<display:setProperty name="export.excel.filename" value="mycollection.xls" />
<display:setProperty name="export.csv.filename" value="mycollection.csv" />
<display:setProperty name="export.xml.filename" value="mycollection.xml" />

(I have tried setting the export.csv.label property and it works, so I'm 
convinced
the above is taken into account)

My web.xml file contains those filters:

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

Nothing seems to do the trick. Reading the forum, it seems a lot of people have
troubles with the export feature, but I couldn't find a solution to my problem.
Can anyone help, please?
If it makes a difference, the first column of my table is checkbox (and btw,
can I not export it? -- meaning export only a selection of columns from
a table?)

thx,

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249318

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to