DisplayTag decorator problem

Has anyone successfully used one decorator for the html output of displaytag and another one for an export.

This is my code. I have two decorator classes. ProfileTableDecorator and ProfileTableDecoratorExport. I've tried both as the main tables decorator and both work. So my problem is on export it continues to use the tables decorator and not the one I specified to use on export.

Can anyone point me in the correct direction? I've tried using export.csv.decorator instead of export.csv.class, but that did not work.

<displaytag:table name="sessionScope.ProfileViewForm.profileAsList"

decorator="com.sungard.stnweb.decorator.ProfileTableDecorator" export="true">

<displaytag:setProperty name="export.csv.class" value="com.sungard.stnweb.decorator.ProfileTableDecoratorExport"/>

<displaytag:setProperty name="export.xml" value="false"/>

<displaytag:column property="profileName" titleKey="ProfileViewHeader.Name"/>

<displaytag:column property="viewActions" titleKey="ProfileViewHeader.Status"/>

<displaytag:column property="navbarStatus" titleKey="ProfileViewHeader.NavBarStatus"/>

<displaytag:column property="pdfXlsStatus" titleKey="ProfileViewHeader.Pdf-XlsStatus"/>

<displaytag:column property="dynamicHeaderDesStatus" titleKey="ProfileViewHeader.dynamicHeaderDesStatus" media="html"/>

</displaytag:table>

[1897 byte] By [gmachamera] at [2007-10-2 13:42:46]
# 1
hmm it appears that the setProperty does not support the export.csv.class property. I have to set that in the properties file... but I have different decorators for each table... seems like there should be an inline way to do that?
gmachamera at 2007-7-13 11:37:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...