• 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
D2W Autocomplete Component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

D2W Autocomplete Component


  • Subject: D2W Autocomplete Component
  • From: Ted Archibald <email@hidden>
  • Date: Sun, 30 Nov 2008 14:55:17 -0600

A common requirement I have with my apps is an autocomplete field. Since I've been working in D2W lately I put together a D2W Autocomplete Component that uses the Wonder's AjaxAutocomplete component. If this is of use, I've enclosed the code.

The component can be used two ways.

The first way to use it is with an NSArray of strings. The rule for this would be:

arrayKeyPath = "application.someList"

The second way to use it is with an NSArray of EOs that will create a relationship to the object and use autocompletion on a property (like name). The rule for this would be:

enterpriseObjectKey = "name"
enterpriseObjects = "application.someEOs"


Attachment: D2WAutoComplete.zip
Description: Zip archive


 _______________________________________________
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

  • Prev by Date: RE: About instance's integrity. (was Re: Webobjects-dev Digest, Vol 5, Issue 1141)
  • Next by Date: Re: Object not being saved after refaulting and applying changed
  • Previous by thread: RE: About instance's integrity. (was Re: Webobjects-dev Digest, Vol 5, Issue 1141)
  • Next by thread: Entity Inheritance
  • Index(es):
    • Date
    • Thread