D2W Autocomplete Component
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