<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> Ajax Examples Using a JSON list returned from an action (href="/JSONList.action"), without autoComplete (autoComplete="false"), use indicator, search substring (searchType="substring")


Reload on type (loadOnTextChange="true"), after 3 characters (loadMinimumCount="3", it is "3" by default), without the down arrow button (showDownArrow="false")


Using a JSON list returned from an action (href="/JSONList.action"), with autoComplete (autoComplete="true")


Using a local list (list="%{'apple','banana','grape','pear'}")


Force valid options (forceValidOption="true")


Make dropdown's height to 180px (dropdownHeight="180")


Disabled combobox (disabled="true")


Link two autocompleter elements. When the selected value in 'Autocompleter 1' changes, the available values in 'Autocompleter 2' will change also.

Autocompleter 1

Autocompleter 2

Publish before/after/value notify topics


Get values using JavaScript