THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Warning | |||
---|---|---|---|
| |||
The Dojo plugin will be deprecated on Struts 2.1 | 2.1 | 2.1 | This documentation refers to version 2.1 which has not been released yet. |
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
public class AutocompleterExample extends ActionSupport { public Map<String, String> getOptions() { Map<String,String> options = new HashMap<String,String>(); options.put("FLFlorida", "FloridaFL"); options.put("ALAlabama", "AlabamaAL"); return options; } } |
The mapping:
...