Re: Display Null value with Raw Rows
Re: Display Null value with Raw Rows
- Subject: Re: Display Null value with Raw Rows
- From: Elizabeth Lynch <email@hidden>
- Date: Wed, 27 Apr 2005 18:04:31 +0100
We use a custom formatter to fix the display for strings in this
situation. Let me know if you'd like me to email you the code.
Liz
On 27 Apr 2005, at 17:44, Albert Jagnow wrote:
I have a report that uses rawRowsForSQL to fetch data. I did it that
way mostly because I couldn't get caseInsensitiveLike to work with
DB2. So unless anyone has a fix for that... On my report I bound the
dictionary results directly to the page for display. It works fine
except when I encounter a value in the database that is null. Instead
of displaying nothing I get
<com.webobjects.foundation.NSKeyValueCoding$Null> displayed. What is
the easiest way to make that go away? I have a lot of potentially
null fields in this report so I am looking for something quick and
simple. I noticed for date and numeric values the formatter seems to
take care of the problem, but what about for strings?
--Albert
This e-mail (including any attachments) is covered by the Electronic
Communications Privacy Act, 18 USC. 2510-2521. It is confidential and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then delete
it. Thank you. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden