Re: D2W Autocomplete Component
Re: D2W Autocomplete Component
- Subject: Re: D2W Autocomplete Component
- From: Josh Paul <email@hidden>
- Date: Tue, 2 Dec 2008 14:58:35 -0800
I noticed the following:
public void setArray(NSArray _array) {
_array = _array;
}
which I've changed to:
public void setArray(NSArray array) {
this._array = array;
}
On Nov 30, 2008, at 12:55 PM, Ted Archibald wrote:
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"
<D2WAutoComplete>
_______________________________________________
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
_______________________________________________
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