Is there any other way to do it? It seems that we have too many attributes 
already. Maybe we should consider adopting a struts-tiles like approach 
and define the tables in an xml format or something...or at least come up 
with a way to specify the output for each type. Adding media solves one 
part of the problem in terms of which columns to display, but what about 
other things like table formatting, headers or footers? 

In the past, I used the 'property' attribute when dumping a CSV over using 
the column body, since column bodies can contain HTML. In a CSV, you 
probably don't ever want to see the HTML, but if you were dumping to 
Excel, which does handle links correctly, you may or may not want to 
include the html. So it seems, that you'd also need another attribute that 
for each output format determines whether you want to use the column body 
JSP or not.

John


On Tue, 25 Nov 2003, Andy Pruitt wrote:

> 
> Does anyone have any objections to adding a "media" attribute to the
> table?  It will allow you to specify that a column be sent only for
> responses of the specified type (html,csv,xls, etc).
> 
> I think Fabrizio has made some improvements in exports of late, so I
> would be altering this old patch
> (http://sourceforge.net/mailarchive/message.php?msg_id=6231911) to work
> with his new code.
> 
> --andy
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> displaytag-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-devel
> 

-- 
John York
Software Engineer
CareerSite Corporation



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to