Bugs item #842234, was opened at 2003-11-14 17:58
Message generated for change (Comment added) made by fgiust
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=842234&group_id=73068

Category: export
Group: planned for 1.0
>Status: Closed
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: fabrizio giustina (fgiust)
Date: 2004-05-02 15:15

Message:
Logged In: YES 
user_id=798060

all the documented properties should now work properly (rc1, 
available in nightly builds after May 3)

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2004-01-06 00: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 23: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 18: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: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to