Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.1
-
Fix Version/s: None
-
Component/s: Export
-
Labels:None
Description
I am in the process of upgrading to 1.1 from 1.0. Previously, exporting would default the decorator class to the decorator specified in the displaytag:table tag. But after upgrading to 1.1, I must now explicitly set each export type to the same decorator. This seems like a bug as it will not allow a "drop-in" upgrade from 1.0 to 1.1.
Example:
This used to work fine:
<display:table ... decorator="com.whatever.MyDecorator">
....
</display:table>
But now I must go into every jsp and change to this:
<display:table ... decorator="com.whatever.MyDecorator">
<display:setProperty name="export.excel.decorator" value="com.whatever.MyDecorator"/>
<display:setProperty name="export.csv.decorator" value="com.whatever.MyDecorator"/>
<display:setProperty name="export.pdf.decorator" value="com.whatever.MyDecorator"/>
<display:setProperty name="export.xml.decorator" value="com.whatever.MyDecorator"/>
....
</display:table>
Example:
This used to work fine:
<display:table ... decorator="com.whatever.MyDecorator">
....
</display:table>
But now I must go into every jsp and change to this:
<display:table ... decorator="com.whatever.MyDecorator">
<display:setProperty name="export.excel.decorator" value="com.whatever.MyDecorator"/>
<display:setProperty name="export.csv.decorator" value="com.whatever.MyDecorator"/>
<display:setProperty name="export.pdf.decorator" value="com.whatever.MyDecorator"/>
<display:setProperty name="export.xml.decorator" value="com.whatever.MyDecorator"/>
....
</display:table>
Issue Links
| This issue duplicates: | ||||
| DISPL-298 | TableDecorator created with 1.0 doesn't work properly with 1.1. Properties defined only it decorator |
|
|
|