Re: file locations
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