> > > i am using a decorator to add complex URLs as well as > images to some data (or to completely replace the "view" of the > data) in some columns. > I like the decorator because I can still sort on the data > itself, as opposed to the HREF or IMG tag (by clicking the column > headings) > > But, when I export (to excel, for example), it exports the > HREF or IMG tag to the table cell rather than the data from the bean. > > Can you point me to where (what files, or how ) to > control/change this behavior?
Simplest thing to do is to have a separate column that is formatted for export. Use the http://displaytag.sourceforge.net/tagreference.html#column_media attribute, and set the online version to be media="html", and the export version to be media="xml csv excel". There should be an example of this in the sample war (although it does not seem to be current at displaytag.org). > > Obviously, the header sorting functionality ignores the > decorator and operates on the the data itself, so somehow the > export should be able to do the same? > > thanks, > > jeff beck > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > displaytag-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/displaytag-devel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel