On Nov 25, 2003, at 2:02 PM, John York wrote:

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

I actually have a patch that allows you to define the structure of the table (or maybe it's contents) in XML. It's been sitting on my desktop for about a month, and I haven't had the time to dig into it. The problem being two fold: 1. It's for 0.8.5 and 2. it's the full app, not a patch file. I can send it to someone else to look at if you're interested. A former co-worker and friend, Ajay (subscribed to user-list) wrote it and sent it to me.

Matt

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to