Hi.

 

My problem is that if a column value is null an empty string will be
between the td tags, and column borders are not displayed by the
browsers.

The only solution I was able to find is to write a column decorator,
this works but not a nice way because I have to add this decorator all
of the columns at all of the tables.

I also tried to write this decorator as a tableDecorator, override the
getDecorate() method, but it is not called.

 

    @Override

    public Object getDecoratedObject() {

        Object o = super.getDecoratedObject() ;

        if(o == null) {

            return " " ;

        }

        return o ;

    }

 

 

What is the nicest solution for this problem ?

 

Thanks and best regards,

Attila

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to