• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Display Null value with Raw Rows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Default values in EOF
      • From: email@hidden
References: 
 >Display Null value with Raw Rows (From: "Albert Jagnow" <email@hidden>)

  • Prev by Date: Re: Display Null value with Raw Rows
  • Next by Date: Default values in EOF
  • Previous by thread: Re: Display Null value with Raw Rows
  • Next by thread: Default values in EOF
  • Index(es):
    • Date
    • Thread