Forums Register Login

Null values in DataTable

+Pie Number of slices to send: Send
A null value in an html table does not render in Firefox. When populating rows in a datatable, where sometimes a value such as a date is null or empty string, I want to have the cell render. In some older code this was accomplished by adding something like



Does anyone have a better approach? Something that doesn't require code changes everywhere this may be occuring?
[ December 16, 2008: Message edited by: Raymond Van Eperen ]
+Pie Number of slices to send: Send
Works fine here at Mojarra 1.2_10. I also can't seem to remember this bug back to RI 1.1_02. Maybe you're using a really ancient Sun JSF implementation or another vendor (MyFaces?) with which I haven't had experience at all.

At least find out your current JSF implementation version and try to upgrade it to the latest possible.
He repaced his skull with glass. So you can see his brain. Kinda like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1556 times.
Similar Threads
Special Characters '&' and ':'
How to use datatable with no records in a list
Input row select on data table does not get called
how to retrieve a particular value from datatable
highlight first row in datatable onload
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:37:56.