CSS is probably the easiest solution. An alternate solution would be to subclass the bean:write tag, and add an attribute. Call it "alt" although in html that often means something else (hmm maybe "alttext" but whatever...) alt will be the text returned if the write would return null. In this case likely
Al -----Original Message----- From: Jeff Beal [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 9:45 AM To: Struts Users Mailing List Subject: Re: Tag <bean:write> inside a cell. In CSS: table { empty-cells: show; } Another alternative is to include in empty table cells See http://www.w3.org/TR/REC-CSS2/tables.html#empty-cells -- Jeff On Apr 5, 2005 10:23 AM, Marcelo Epstein <[EMAIL PROTECTED]> wrote: > Hi, > > When the attribute of an object is null, I always lost the border of the > table.What is a good way to avoid it? > ex: > <table> > <tr> > <td><bean:write name"x" property="y"/></td> (when y = null, border seems > strange!) > </tr> > </table> > > Thanks in advance. > Marcelo > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jeff Beal Webmedx, Inc. Pittsburgh, PA USA --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]