• 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: Why won't this work!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why won't this work!?


  • Subject: Re: Why won't this work!?
  • From: Ulrich Köster <email@hidden>
  • Date: Wed, 24 Oct 2007 15:38:40 +0200

Hi Miguel,

I'll guess there is a duplicate in your wod or you've missspelled downloads (vs download) somewhere in the html or wod.

Uli
Am 24.10.2007 um 15:19 schrieb Miguel Arroz:

Hi!

 Sometimes I really think I should change business!

 I have this binding:

ShowDowndloadsConditional: WOConditional {
	condition = downloads.isEmpty;
	negate = true;
}

 "downloads" is an NSArray.

 When running, I get this:

Reason:
<my.top.secret.package.name.ExportDownloadItem 0xb95569> valueForKey(): lookup of unknown key: 'isEmpty'. This class does not have an instance variable of the name isEmpty or _isEmpty, nor a method of the name isEmpty, _isEmpty, getIsEmpty, or _getIsEmpty


 The ExportDownloadItem is an object in the array.

 My question is... why!?!?!? :)

If I do this the dull way (write a method that returns downloads.isEmpty() ) and bind to it, this works.

 Yours

Miguel Arroz

Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com



_______________________________________________
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
References: 
 >Why won't this work!? (From: Miguel Arroz <email@hidden>)

  • Prev by Date: Re: Why won't this work!?
  • Next by Date: Re: Why won't this work!?
  • Previous by thread: Re: Why won't this work!?
  • Next by thread: Fetching data into an Array
  • Index(es):
    • Date
    • Thread