This looks good to me. Fabrizio - should we create a branch in CVS for
1.1 - then we can start adding patches for folks w/o impacting 1.0?
Matt
On Aug 21, 2004, at 3:58 PM, Will Glass-Husain wrote:
Hi,
�
I just posted a patch for a new tag <display:subRow> in the
issueTracker.
http://sourceforge.net/tracker/index.php?
func=detail&aid=1013562&group_id=73068&atid=536616
�
I'm a happy user of DisplayTag, but a new contributor.� This tag
solves a pressing issue I've been facing, namely how to display
multiple rows for a single record.� (for example, a main row of
columnar data, followed by a row with a comment that spans multiple
columns).� See the issue for an example, but to summarize, it works
like this:
<display:table id="row">
� <display:column title="Name" property="name"/>
� <display:column title="Name" property="age"/>
� <display:column title="Name" property="grade"/>
�
� <display:subRow>
����� <td colspan="3">
��������� <c:out value="${row.comment}"/>
����� </td>
� </display:subRow>
�
</display:table>
�
This displays a 3 colspan row below every main row.� By setting
various attributes, you can control whether the row goes above or
below the man row.� You can also set the CSS style (separate from the
main row) allowing the elimination of internal borders.� (Making the
multi-line record look like one contiguous row).
�
I was wondering if anyone had any comments on this approach.� I played
with using TableDecorators to implement this, but found them
unsuitable for a variety of reasons.� (the agony of including HTML in
my Java code and�the lack of reusability).
�
If this patch is�accepted into the code base (presumably for post 1.0
version) I'd be happy to work on docs, examples, etc.
Best, WILL
�
___________________________________
Forio Business Simulations
�
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel