• 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: Brendan Duddridge <email@hidden>
  • Date: Sat, 13 Nov 2004 22:04:23 -0700

Title: Re: file locations
Hi Wes,

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

Here are the docs to do what you want with respect to creating your own custom DTW component. I did it with a simple boolean custom component:

http://developer.apple.com/documentation/WebObjects/Developing_With_D2W/index.html

Go to the section called Customizing a Direct To Web application, then click on Creating a Custom Property-Level Component.

Hope that helps.

___________________________

Brendan Duddridge

ClickSpace Interactive Inc.
Suite L100
239 - 10th Ave SE
Calgary, AB  T2G 0V9
Canada
(403) 277-5591
http://www.clickspace.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

  • Follow-Ups:
    • Re: file locations
      • From: Wes James <email@hidden>
  • Prev by Date: Documentation on WOWorkerThread
  • Next by Date: Re: EOF javax.naming.NameNotFoundException problem
  • Previous by thread: Re: file locations
  • Next by thread: Re: file locations
  • Index(es):
    • Date
    • Thread