[ http://jira.codehaus.org/browse/DISPL-295?page=comments#action_60300 ]
Jorge L. Barroso commented on DISPL-295: ---------------------------------------- DISPL-298 duplicates this issue, but all the comments are in 298. > Export Decorater no longer defaults to table decorator > ------------------------------------------------------ > > Key: DISPL-295 > URL: http://jira.codehaus.org/browse/DISPL-295 > Project: DisplayTag > Type: Bug > Components: Export > Versions: 1.1 > Reporter: Jeff Sheets > > > 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> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel