Nicest solution is to modify your CSS style to have the display you want.

 
Have fun,
[EMAIL PROTECTED]
The Computing Froggy

----- Message d'origine ----
De : Czuczor Attila <[EMAIL PROTECTED]>
À : displaytag-user@lists.sourceforge.net
Envoyé le : Mercredi, 5 Septembre 2007, 10h08mn 34s
Objet : [displaytag-user] Null to  




 
 

<!--
 _filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        
{margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", 
"sans-serif";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
span.E-mailStlus17
        {font-family:"Calibri", "sans-serif";color:windowtext;}
.MsoChpDefault
        {}
 _filtered {margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {}
-->






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 "&nbsp;" ;
 

        }
 

        return o ;
 

    }
 

  
 

  
 

What is the nicest solution for this problem ?
 

  
 

Thanks and best regards,
 

Attila
 










      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to