Re: NSKeyValueCoding$Null
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.