Hi there, I extend the ColumnDecorator slightly so that one has access to the page context from with in the decorator. In order to keep the existing implementation of the interface working I have implemented an abstract class that implements the ColumnDecorator interface. This class in turn has a method for setting the page context on the decorator.
There is an abtract method which is called by the implementation of the decorate method named decorateObject. It has the following signature: public abstract String decorateObject(Object _columnValue, PageContext _pageContext, String _rowID) throws DecoratorException; So now in order have access to the page context in a column decorator all one needs to do is extend the base class and implement the above method. I have attached the ContextColumnDecorator abstract class and a modified ColumnTag for you to play with. Maybe someone from the contributors would like to put this in CVS, it helped me and leaves room for the already inplace ColumDecorator interface. Thanks for the great library folks really enjoying it. Cheers, Frank Feldmann JNet Consultancy B.V. www.jnc.nl .:| Powered by Common Sense |:. ------------------------------------------------------- Postbus 1119 1500 AC ZAANDAM tel : +31 75 631 2525 fax : +31 75 631 2532 ------------------------------------------------------- mobile : +31 6 2242 9856 email fax : +31 84 717 3525 email : [EMAIL PROTECTED]
ContextColumnDecorator.java
Description: Binary data
ColumnTag.java
Description: Binary data

