• 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: file locations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file locations


  • Subject: Re: file locations
  • From: Wes James <email@hidden>
  • Date: Fri, 12 Nov 2004 17:00:51 -0700

I appreciate Chuck's help.  Anyone used a woimage in a D2W app?  I
have created an eomodel woapp and bound a woimage src attribute to
slideItem.filename from a worepitition that has a slideList nsmutable
array and slideItem is an EOGenericRecord and then I do a
EOFetchSpecification... etc. and can get the filename from the
database.

How would this be done with a D2WCustomComponent?

I just created a dummy wocomponent with a woimage with no bindings,
built and ran it.  I changed the image field webassistant item to use
a D2WCustomComponent with the Component name I just create.  I got an
exception error in the browser:

Error:
 com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException: [
takeValueForKey()]: attempt to assign value to unknown key: 'key'.
This WOComponent does not have an instance variable of the name key or
_key, nor a method of the name setKey or _setKey

 Reason:
 [<zimage name: zimage subcomponents: null > takeValueForKey()]:
attempt to assign value to unknown key: 'key'. This WOComponent does
not have an instance variable of the name key or _key, nor a method of
the name setKey or _setKey

I need to learn the ValueForKey capabilities I guess... to pass the
info along to D2W....

Any ideas would be great.

thanks,

wj
 _______________________________________________
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: 
 >file locations (From: Wes James <email@hidden>)
 >Re: file locations (From: Chuck Hill <email@hidden>)
 >Re: file locations (From: Wes James <email@hidden>)
 >Re: file locations (From: Chuck Hill <email@hidden>)
 >Re: file locations (From: Wes James <email@hidden>)
 >Re: file locations (From: Chuck Hill <email@hidden>)
 >Re: file locations (From: Wes James <email@hidden>)
 >Re: file locations (From: Chuck Hill <email@hidden>)
 >Re: file locations (From: Wes James <email@hidden>)
 >Re: file locations (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: file locations
  • Next by Date: Re: ComponentWrapper Question
  • Previous by thread: Re: file locations
  • Next by thread: Re: file locations
  • Index(es):
    • Date
    • Thread