DisplayTag

Export Decorater no longer defaults to table decorator

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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>

Issue Links

Activity

Hide
Jorge L. Barroso added a comment -
DISPL-298 duplicates this issue, but all the comments are in 298.
Show
Jorge L. Barroso added a comment - DISPL-298 duplicates this issue, but all the comments are in 298.
Hide
fabrizio giustina added a comment -
Show
fabrizio giustina added a comment - see DISPL-298

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: