@Events(value="provideCompletions") public class Autocomplete extends Object
String[] onProvideCompletionsFromMyField(String input)
{
return . . .;
}
| Constructor and Description |
|---|
Autocomplete() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure(org.apache.tapestry5.json.JSONObject config) |
protected org.apache.tapestry5.json.JSONArray |
generateResponseJSON(List matches)
Transforms the matches into a JSONArray
|
protected void configure(org.apache.tapestry5.json.JSONObject config)
config - parameters objectprotected org.apache.tapestry5.json.JSONArray generateResponseJSON(List matches)
Copyright © 2016 GOT5. All rights reserved.