Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Null values in DataTable  RSS feed

 
Raymond Van Eperen
Greenhorn
Posts: 17
Java Mac Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!