create a new Row in the TableTag.java via a function call
---------------------------------------------------------
Key: DISPL-355
URL: http://jira.codehaus.org/browse/DISPL-355
Project: DisplayTag
Type: Improvement
Components: Tag Library
Reporter: Alex Gerasimov
I suggest to create a new Row in a slightly different way:
Instead of
this.currentRow = new Row(iteratedObject, this.rowNumber)
(this row is repeated twice in the source code)
a new function should be used:
this.currentRow = getNewRow(iteratedObject, this.rowNumber);
public Row getNewRow(Object iteratedObject, int rowNumber)
{
return (new Row(iteratedObject, this.rowNumber));
}
This way Row class could be extended and used inside TableTag
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel