Twomey, Sean wrote:
> It there any support for Multi-Row Data in Display-Tag 1.1. I notice 
> that JIRA issue DISPL-128  (http://jira.codehaus.org/browse/DISPL-128) 
> addressed such an issue, but I found no indication of such a feature 
> being realeased. We need to support a similar requirement to the one 
> outlined in the DISPL-128.
>
I use a Decorator to handle the insertion of an extra row underneath my 
main data row by overriding the finishRow() method:

public String finishRow() {
       Article article = (Article)this.getCurrentRowObject();
       String summary = "<tr><td colspan=\"10\" class=\"summary\">" + 
article.getSummary() + "</td></tr>";
       return summary;
}

Not necessarily pretty but it does the job.

Ed!


_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to