• 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: NSKeyValueCoding$Null
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSKeyValueCoding$Null


  • Subject: Re: NSKeyValueCoding$Null
  • From: Kaj Hejer <email@hidden>
  • Date: Tue, 17 Dec 2002 23:59:27 +0100

At 22:37 +0000 17-12-02, Jonathan Fleming wrote:
>G'day Developers,
>I can not write an if statement in a boolean for a WOConditional to
>not show an object that is null since I keep on getting this:
><com.webobjects.foundation.NSKeyValueCoding$Null>,
>how do I get rid of this so that I can hide objects that are null in
>value when using key value coding?


What about something like

NSArray args = new NSArray(new Object[] {NSKeyValueCoding.NullValue});
EOQualifier qual =
      EOQualifier.qualifierWithQualifierFormat("myattr != %@", args);

NSArray myArrayWithoutNull =
      EOQualifier.filteredArrayWithQualifier(myArray, qual);


-Kaj :)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSKeyValueCoding$Null (From: "Jonathan Fleming" <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Re: Getting the Primary Key From A Method
  • Previous by thread: NSKeyValueCoding$Null
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread