Hello Display,
Little question. In TableTag.java we have such code lines beginning at
955 line
// paulsenj:columndecorator
// build an array of column decorator objects - 1 for each column tag
ColumnDecorator[] colDecorators = new ColumnDecorator[columns.size()];
for( int c = 0; c < columns.size(); c++ ) {
ColumnTag columnTag = (ColumnTag)columns.get( c );
String columnDecorator = columnTag.getDecorator();
colDecorators[c] = loadColumnDecorator( columnDecorator );
if( colDecorators[c] != null ) {
colDecorators[c].init( this.pageContext, this.list );
}
}
I think that TableTag overloaded by logic in that case. Each ColumnTag
instance can create Decorator by itself and then all created decorators
can be collected to array. So no functionality must be changed except
loadColumnDecorator( columnDecorator ) method must be included in
ColumnTag class. This problem connected with the situation when i want
to create predefined column decorators connected with nested tags in
<column> tag and use column tag attributes. May be it can be more logic to
create this decorators in column but not in table?
It's not a problem, but may be an idea. What do you think about it?
--
Best regards,
Andrew mailto:[EMAIL PROTECTED]
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user