Bugs item #842234, was opened at 2003-11-14 08:58 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536613&aid=842234&group_id=73068
Category: export Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: fabrizio giustina (fgiust) Summary: Some export properties are not working Initial Comment: Good day: The export.xml property works fine for me, using 1.0-b1. However, the export.csv.include_header and export.excel.include_header do not actually include the header in my output. Also, my last column is generated by a decorator yet it still shows up in the output even though I have export.decorated set to false. Any help is appreciated. The code snippet from my JSP (sorry, it is not live yet so I can't give you a URL) is pasted in below. <display:table name="positionForm.brokeragePositions" scope="session" export="true" width="100%" border="0" cellspacing="2" cellpadding="2" class="acctchart" id="positionsTable" decorator="com.strong.brokerage.war.brokerage.decorator.BrokeragePositionsTableWrapper"> . . . <display:setProperty name="export.xml" value="false" /> <display:setProperty name="export.csv.include_header" value="true" /> <display:setProperty name="export.excel.include_header" value="true" /> <display:setProperty name="export.decorated" value="false" /> </display:table> -Scott Yanoff ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-01-05 15:03 Message: Logged In: NO Actually, I think I got this to work. My collections-* jar files were out of date. However, the export.decorated doesn't seem to do much for me, but perhaps I don't understand what it should do. Should it modify the contents of the header, or the columns themselves? Also, is there a way to specify the column headings to be different for Excel versus HTML? Keep up the good work, -Scott Yanoff ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-01-05 14:46 Message: Logged In: NO Okay, I got b2. I put displaytag-11.tld in place, along with the new displaytag-1.0-b2.jar file. If export="false", I am fine. With export="true", I get an exception: java.lang.NoSuchMethodError at org.displaytag.export.MediaTypeEnum.iterator(MediaTypeEnum.java:138) at org.displaytag.tags.TableTag.getExportLinks(TableTag.java:1515) at org.displaytag.tags.TableTag.getTableFooter(TableTag.java:1468) at org.displaytag.tags.TableTag.getHTMLData(TableTag.java:1166) at org.displaytag.tags.TableTag.doEndTag(TableTag.java:872) at jsp_servlet.__displayTag._jspService(__displayTag.java:491) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) My code has not changed. You mentioned to "check export.decorated". My understanding is that this should be set to "false" since I don't want any of the HTML to be carried into the headers. In any case, even if I remove all the setProperty tags, this still fails. -Scott Yanoff ---------------------------------------------------------------------- Comment By: fabrizio giustina (fgiust) Date: 2004-01-02 09:01 Message: Logged In: YES user_id=798060 the export.*.include_header has been fixed for 1.0-b2 release. Need to check the export.decorated property ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536613&aid=842234&group_id=73068 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel