[ http://jira.codehaus.org/browse/DISPL-300?page=comments#action_60274 ]
Jorge L. Barroso commented on DISPL-300: ---------------------------------------- I'm not sure whether this is a current feature, but perhaps it should be. You can, however, configure your displaytag deployment to achieve this, by introducing an export type for the Excel WYSIWYG export, call it wexcel. Here's a sample config #Includes new wexcel type export.types=csv excel xml pdf rtf wexcel #Not globally available export.wexcel=false #Use the WYSIWG exporter export.wexcel.class=org.displaytag.export.excel.DefaultHssfExportView Then in your jsp, enable this export type, like so: <display:setProperty name="export.wexcel" value="true"/> Disable your default excel exporter just in this page. <display:setProperty name="export.excel" value="false"/> Add this media type to the columns you want exported, like so: <display:column titleKey="title.sometitle" media="wexcel">... Don't forget to configure the excel icon for this export. -Jorge > WYSIWYG data exporting for one table only > ------------------------------------------ > > Key: DISPL-300 > URL: http://jira.codehaus.org/browse/DISPL-300 > Project: DisplayTag > Type: Task > Components: Export > Versions: 1.1 > Reporter: Emmanuel > > > I want to use the new export poi feature in one table only, and the basic > exportation in the other tables, is there a property export.excel.class e.g. > <display:setProperty name="export.excel.class" > value="org.displaytag.export.excel.DefaultHssfExportView /> > to use in the jsp so only that table get affected with poi feature? I tried > like that and it didn't work :( , currently I set my displaytag.properties > export.excel.class=org.displaytag.export.excel.DefaultHssfExportView and it > worked , but the other tables are not exporting to excel the right way. I > need the poi feature only in this table. > Thanks in advance -- 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel