Using the t:beandisplay I noticed a subtle bug?

Normally, empty fields get a label on the left and a   on the right.
This keeps the spacing correct.

E.g., my Hibernate Entity has two java.util.Date classes, createdOn and
modifiedOn.

When I display the Entity via t:beandisplay, the outer brown background
doesn't extend down to cover the last two properties -- so I investigated
and it turns out that for the empty date values, the   is being left
out of the right hand <dd> - which is throwing the entire display out of
alignment. Right hand values get shifted up (two rows in my case) and start
to line up with incorrect left hand labels.

<dt class="about">About</dt><dd class="about">&nbsp;</dd>
<dt class="authors">Authors</dt><dd class="authors">&nbsp;</dd>
<dt class="content">Content</dt><dd class="content">&nbsp;</dd>
*<dt class="createdOn">Created On</dt><dd class="createdOn"></dd>
<dt class="modifiedOn">Modified On</dt><dd class="modifiedOn"></dd>
*<dt class="parent">Parent</dt><dd class="parent">[0] Unfiled</dd>
<dt class="tags">Tags</dt><dd class="tags">&nbsp;</dd>
<dt class="title">Title</dt><dd class="title">Unfiled</dd>

I think the java.util.Date fields should render &nbsp;

Does that sound correct?

-Luther

Reply via email to