I was just working on a pass through tag and while it works fine for more-or-less static content, it won't work with sub tags. The reason for this is that the TableTag builds the table on it's own and each column does not render itself in an iterative process. In other words, you can do:
<display:outputColumn title="Print" >
<b>Something here</b>
</display:outputColumn>


and you will get a bold 'Something here', you can do this:
<display:outputColumn title="Print" >
 <c:out value="${inspection.completedDate}" />
</display:outputColumn>

as the column tag will eval the body _before_ that table is actually ready to be rendered. While it doesn't 'break', the c:out (from JSTL) will eval to null as it doesn't have the 'inspection' context set yet, it.

In short, allowing for this would require a major refactor of how the TableTag works and let each ColumnTag render itself.
If I'm wrong here (Matt???) let me know...


I see your point about the rows. I would think adding attributes for the table itself should be simple (id, title, tabindex) though.

Robert

[EMAIL PROTECTED] wrote:

I think Melonie's comments are valid.

The HTML emelemt attribute control mappings in the display tags are
incomplete for the HTML elements they produce. For example one is unable to
set the style id, title, tabindex for a specific table. Same thing for the
header/normal <tr> row and <td> cell.

Also the RowEven RowOdd is too weak as a set of decorators. Having access to
a iteration object ala JSTL status would allow for more complex row
decoration, eg, SubTotals etc...

Anthony


<snip>





------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to