• 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
KeyValue coding for non WO classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

KeyValue coding for non WO classes


  • Subject: KeyValue coding for non WO classes
  • From: Owen McKerrow <email@hidden>
  • Date: Fri, 23 Dec 2005 09:29:33 +1100

Hi All,

I've had to make a couple of standard Java classes for helping out on a page ( there containers that contain a real EO object, a couple of booleans to hold the state of this object, as well as a couple of other things ).

Now I've gotten so used to WO and it doing lots of the work for me, I just tried to make a valueForKey() call on this class which of course failed as the class doesn't know anything about key-value coding :) So whats the easiest way to tell it ? i.e. Should I inherit from one of the EO classes that already implements it ? Should the class implement NSKeyValueCoding itself ? And if so how do I go about doing that ? Or is there a "normal" java equivalent ?

Man I feel out of touch with the Java world :)

Thanks
Owen McKerrow
WebMaster, emlab
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"As of tomorrow, employees will only be able to access the building using individual security cards. Pictures will be taken next Wednesday employees will receive their cards in two weeks."
- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp



_______________________________________________ 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: KeyValue coding for non WO classes
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: Cannot find service Error
  • Next by Date: Re: KeyValue coding for non WO classes
  • Previous by thread: Re: Cannot find service Error
  • Next by thread: Re: KeyValue coding for non WO classes
  • Index(es):
    • Date
    • Thread