Good points about the html Fabrizio. I personally don't have a problem with the way the html is used and I'm only a novice with stylesheets. We need to make sure that this doesn't become too stylesheet dependant otherwise we'll start running into issues with older browsers that some people are still required to use.
I think, what might be a best solution would be to leverage the new MVC design and just create another view of the data that is completely devoid of any presentation logic and just make the user able to completely customize the output. Of course, if someone wants to do this in one place in their app, they'll probably want to do it somewhere else, so we'd need a solution that would let the user change the output in one place, like some xml configuration file or something. Does that make sense? On Wed, 18 Jun 2003, Fabrizio Giustina wrote: > > so you should also be able to not to display headers and not include a table body... > or you want to display two table headers&body in the same table? > speaking about table meaning in html, doing a such thing only to define the size of > columns is not a good thing. If you want to control column width (presentation) you > should use css. > I know with css you can't make the table "flexible" and keep columns of the same > size in two different tables at the same time, but at least you can define a fixed > (or percentual, wich should allow you to achieve the result) size for each of the > columns and apply it to both the tables. Use the "table-layout:fixed;" attribute to > avoid resizing, that's all. > > fabrizio > > PS. Mathias, I definitively don't think adding an "omitTableTags" attributes could > be a good solution... what about table header and body? you should omit those too... > and what about column headers defined by <th>? changing them to <td> makes no sense, > because they ARE column headers, but putting anything before them, inside the table, > will make the table loose any logic... > > > > -----Original Message----- > From: Torgeir Veimo [mailto:[EMAIL PROTECTED] > Sent: Wed 6/18/2003 2:47 PM > To: Fabrizio Giustina > Cc: > Subject: RE: [displaytag-devel] display09/src - New directory > > > > On Wed, 2003-06-18 at 13:30, Fabrizio Giustina wrote: > > well, I intend to add a feature wich let the user customize table > > legend and footer... > > but I don't think to give the user the ability to customize body and > > headers, since these are directly mapped to the data being displayed: > > the scope for tables in html is to display tabular data, not to > > control presentation. > > > > Can you provide a sample of the result you would like to obtain? If it > > makes sense and there is no way to do it using css I'll try to add > > this feature, ok? > > The very specific thing we used it for was to have two lists in the same > table so that the columns would line up exactly. > > -- > Torgeir Veimo <[EMAIL PROTECTED]> > > -- John York Software Engineer CareerSite Corporation ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel
