You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Moritz Gmelin <mo...@gmx.de> on 2008/01/07 16:28:32 UTC
[T5] Error in rendering null-Date in BeanDisplay
Hi,
If the BeanDisplay component is initialized with a Bean containing a
null-Date-Object, it is rendered as follows
<div class="t-beandisplay-row">
<div class="t-beandisplay-label">Tdate:</div>
<div class="t-beandisplay-value">
</div>
</div>
this makes the lines displaying the bean contents, under this date
line move up by one step so that the labels do not match the items
anymore under this date field. If the date is non-null, everything is
OK.
A null-String in a BeanDisplay renders as follows
<div class="t-beandisplay-row">
<div class="t-beandisplay-label">Tstring:</div>
<div class="t-beandisplay-value">
</div>
</div>
The difference is the inside the <div>. This is correct, and
the labels and lines still match.
This happens in 5.0.7 and 5.0.8-SNAPSHOT too.
Is this considered a bug?
Regards
Moritz
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org