Home > Guides > Tag Developers Guide > Struts Tags > Ajax Tags > Ajax and JavaScript Recipes |
All examples on this page assume the following JSP fragment is on the same page as the example.
The action
The mapping:
The JSP (fragment):
When a form containing an autocompleter is submitted, two values will be submitted for each autocompleter, one for the selected value, and one for its associated key.
The action:
The JSP:
The action:
The JSP:
for this autocompleter:
The following JSON will be accepted: